[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

Image Import and Export |

Conversion from and to other image data types

- Image Import/Export Facilities
  VIGRA's highlevel image import/export interface
- Import/export of volume data.
  Import/export interface for volume data
- Import/Export of Images and Arrays in HDF5 Format
  Import/export of images and arrays in HDF5 format
- Import/export of the TIFF format
  image import/export interface if you want to call libtiff functions directly

There are two fundamentally different approaches to interfacing between VIGRA and the rest of the world.

If you already have an image data type in your system:

Then I recommend using VIGRA's algorithms directly on top of your data type. To do this, you simply wrap your data in an vigra::ImageIterator and/or vigra::MultiArrayView (depending on the functions you want to call). If your data have some exotic properties, that prevent this solution from working, you can still implement your own versions or subclasses of the interface classe, which isn't very difficult.

Alternatively, you may use the data structures provided within VIGRA and convert your data type into one of them. Take a look at tiffToScalarImage() and createScalarTiffImage() to see how this might be done.

If you don't have an image data type in your system:

Use the data structures provided within VIGRA and use one of the import/export facilities above.

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany | html generated using doxygen and Python vigra 1.7.1 (3 Dec 2010)