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

details Image Import and Export VIGRA

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 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 have to provide image iterators and accessors. In many cases, the standard implementations vigra::ImageIterator and vigra::StandardAccessor coming with VIGRA will be applicable. Otherwise, you have to write your own versions which isn't very difficult (look at the code of the above implementations for guidance).

Alternatively, you may use the Image 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 Image Data Structures provided within VIGRA and use one of the import/export facilities above.

© Ullrich Köthe (koethe@informatik.uni-hamburg.de)
Cognitive Systems Group, University of Hamburg, Germany

html generated using doxygen and Python
VIGRA 1.3.2 (27 Jan 2005)