DGtal
1.5.beta
|
#include <DGtal/io/writers/ITKWriter.h>
Public Types | |
typedef ImageContainerByITKImage< TDomain, TValue > | Image |
typedef TValue | Value |
typedef ITKIOTrait< Value >::ValueOut | ValueOut |
typedef TFunctor | Functor |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< TFunctor, Value, ValueOut >)) | |
BOOST_STATIC_ASSERT (((Image::Domain::dimension==3)||(Image::Domain::dimension==2))) | |
Static Public Member Functions | |
static bool | exportITK (const std::string &filename, const Image &aImage, const Functor &aFunctor=Functor()) |
ITKWriter Template partial specialisation for ImageContainerByITKImage. This specialisation is usefull to export image including image spacing.
Definition at line 110 of file ITKWriter.h.
typedef TFunctor DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::Functor |
Definition at line 115 of file ITKWriter.h.
typedef ImageContainerByITKImage<TDomain, TValue> DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::Image |
Definition at line 112 of file ITKWriter.h.
typedef TValue DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::Value |
Definition at line 113 of file ITKWriter.h.
typedef ITKIOTrait<Value>::ValueOut DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::ValueOut |
Definition at line 114 of file ITKWriter.h.
DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CUnaryFunctor< TFunctor, Value, ValueOut >) | ) |
DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::BOOST_STATIC_ASSERT | ( | ((Image::Domain::dimension==3)||(Image::Domain::dimension==2)) | ) |
|
static |
Export an ImageContainerByITKImage with a format supported by ITK. Thanks to this specialized class, the specific ITK image parameters can be exported (like in particular the image spacing).
filename | name of the output file |
aImage | the image to export |
aFunctor | functor used to cast image values |