DGtal
1.0.beta
|
#include <DGtal/io/writers/ITKWriter.h>
Public Types | |
typedef TImage | Image |
typedef TImage::Value | Value |
typedef ITKIOTrait< Value >::ValueOut | ValueOut |
typedef TFunctor | Functor |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CConstImage< TImage >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< TFunctor, Value, ValueOut >)) | |
BOOST_STATIC_ASSERT (((TImage::Domain::dimension==3)||(TImage::Domain::dimension==2))) | |
Static Public Member Functions | |
static bool | exportITK (const std::string &filename, const Image &aImage, const Functor &aFunctor=Functor()) |
Export a 2D/3D Image using the ITK formats.
Description of template class 'ITKWriter' A functor can be specified to convert image values to ITK file values. ITKIOTrait is used to determine the actual value type used when saving the image.
TImage | the Image type. |
TFunctor | the type of functor used in the export. |
Definition at line 63 of file ITKWriter.h.
typedef TFunctor DGtal::ITKWriter< TImage, TFunctor >::Functor |
Definition at line 68 of file ITKWriter.h.
typedef TImage DGtal::ITKWriter< TImage, TFunctor >::Image |
Definition at line 65 of file ITKWriter.h.
typedef TImage::Value DGtal::ITKWriter< TImage, TFunctor >::Value |
Definition at line 66 of file ITKWriter.h.
typedef ITKIOTrait<Value>::ValueOut DGtal::ITKWriter< TImage, TFunctor >::ValueOut |
Definition at line 67 of file ITKWriter.h.
DGtal::ITKWriter< TImage, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CConstImage< TImage >) | ) |
DGtal::ITKWriter< TImage, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CUnaryFunctor< TFunctor, Value, ValueOut >) | ) |
DGtal::ITKWriter< TImage, TFunctor >::BOOST_STATIC_ASSERT | ( | ((TImage::Domain::dimension==3)||(TImage::Domain::dimension==2)) | ) |
|
static |
Export an Image with a format supported by ITK.
filename | name of the output file |
aImage | the image to export |
aFunctor | functor used to cast image values |