|
DGtal 1.4.2
|
#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.
| TFunctor DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::Functor |
Definition at line 115 of file ITKWriter.h.
| ImageContainerByITKImage<TDomain, TValue> DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::Image |
Definition at line 112 of file ITKWriter.h.
| TValue DGtal::ITKWriter< ImageContainerByITKImage< TDomain, TValue >, TFunctor >::Value |
Definition at line 113 of file ITKWriter.h.
| 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 |