template<typename TContainer, int Tdim = TContainer::Point::dimension, typename TValue = typename TContainer::Value>
struct DGtal::GenericReader< TContainer, Tdim, TValue >
Aim: Provide a mechanism to load with the bestloader according to an image (2D or 3D) filename (by parsing the extension).
Description of template class 'GenericReader'
The typical use is very simple:
- the file format value type will be cast to TContainer::Value. For instance, VOL file format deals with "unsigned char" and if the TContainer::Value type is different, you could have type conversion issues.
- Template Parameters
- geometry/surfaces/dvcm-3d.cpp, images/imageBasicSubsampling.cpp, io/viewers/viewer3D-9-3Dimages.cpp, and tutorial-examples/2DSliceImageFromVol.cpp.
Definition at line 101 of file GenericReader.h.