Dear all!

Until recently, I've been using libvigraimpex to open image files for lux. 
lux is using strided nD arrays for image data storage (namely, 
vigra::MultiArrays) , and libvigraimpex can directly read into these data 
structures. I wasn't too happy with the supported range of image types 
which libvigraimpex offers - e.g. newer formats are missing. So I was 
looking for a replacement, but I found no library reading the data into 
strided nD arrays - until I found OpenImageIO 
<https://openimageio.readthedocs.io> (OIIO for short). This library is 
extremely comprehensive, and since it accepts strides, I could just 'slot 
it in' where I used libvigraimpex before - with a few hundred lines of glue 
code.

I have built an experimental lux AppImage (so, this is for Linux only) to 
demonstrate just how versatile this library is. Just to whet your appetite, 
here are three really cool things you can do:

   - open videos, viewing single images
   - open RAW files
   - open HEIF and HEIC files
   
Because OIIO can open such a wide range of image formats, the lux build I 
offer shows all possible files and does not pre-select images - the filter 
list would be too large. When opening videos, note that you can navigate 
through the single images with the 'subimage' control, at the bottom of the 
View Control Panel.

If you'd like to give the AppImage a spin, here's the link:

https://bitbucket.org/kfj/pv/downloads/lux-with-oiio-experimental-x86_64.AppImage

Because OIIO plays so well with vigra data structures, it might be an 
interesting option for hugin and relatives. It's RAW support, for example, 
uses libraw, which is a wrapper around the code for dcraw, which, in turn, 
is one of the raw converters hugin can employ as helper programs. lux can 
process many PTO files, among them PTOs which refer to raw source images. 
While the hugin process calls dcraw (when so configured) to convert the raw 
files to TIFF and then takes it from there, lux can now directly open PTOs 
with raw source images and stitch them with a single keystroke (Shift+E)! 
Check it out. Just keep in mind lux is doing it all in-memory and you need 
huge amounts of memory to stitch large panoramas - and for PTOs with raw 
files, you must have been using dcraw - otherwise the geometry won't quite 
fit, because most raw converters cut off o bit of margin.

The versatility comes at a price: you'll notice that the new AppImage is 
*much* larger than the ones before. This is because it packs all the helper 
libraries as well.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/3163e7b4-cff4-46d1-8c01-02886b99bab0n%40googlegroups.com.

Reply via email to