|
DGtal
0.6.devel
|
#include <RawReader.h>
Public Types | |
| typedef TImageContainer | ImageContainer |
| typedef TImageContainer::Domain::Vector | Vector |
Public Member Functions | |
| BOOST_STATIC_ASSERT ((ImageContainer::Domain::dimension==2)||(ImageContainer::Domain::dimension==3)) | |
Static Public Member Functions | |
| static ImageContainer | importRaw8 (const std::string &filename, const Vector &extent) throw (DGtal::IOException) |
Aim: implements methods to read a "Vol" file format.
Description of template class 'RawReader'
The main import method "importRaw8" returns an instance of the template parameter TImageContainer.
Example usage:
| TImageContainer | the image container to use. |
Definition at line 84 of file RawReader.h.
| typedef TImageContainer DGtal::RawReader< TImageContainer >::ImageContainer |
Definition at line 89 of file RawReader.h.
| typedef TImageContainer::Domain::Vector DGtal::RawReader< TImageContainer >::Vector |
Definition at line 90 of file RawReader.h.
| DGtal::RawReader< TImageContainer >::BOOST_STATIC_ASSERT | ( | (ImageContainer::Domain::dimension==2)||(ImageContainer::Domain::dimension==3) | ) |
|
inlinestatic |
Main method to import a Raw (8bits) into an instance of the template parameter ImageContainer.
| filename | the file name to import. |
| extent | the size of the raw data set. |
Definition at line 40 of file RawReader.ih.
References DGtal::Trace::error(), and DGtal::trace.
1.8.1.1