Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkImageFileCastWriter.h>
Casts pixel type and writes image data.
This filter saves an image and casts the data on the fly, if necessary. This is useful in some cases, to avoid the use of a itk::CastImageFilter (to save memory for example).
Definition at line 40 of file itkImageFileCastWriter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Superclass::InputImageType | InputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageFileCastWriter | Self |
typedef ImageFileWriter< TInputImage > | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
std::string | GetDefaultOutputComponentType (void) const |
virtual const char * | GetOutputComponentType () const |
itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
virtual void | SetOutputComponentType (const char *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
template<class OutputComponentType > | |
void * | ConvertScalarImage (const DataObject *inputImage, const OutputComponentType &) |
void | GenerateData (void) override |
ImageFileCastWriter () | |
~ImageFileCastWriter () override | |
Protected Attributes | |
ProcessObject::Pointer | m_Caster |
Private Member Functions | |
ImageFileCastWriter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
std::string | m_OutputComponentType |
typedef SmartPointer< const Self > itk::ImageFileCastWriter< TInputImage >::ConstPointer |
Definition at line 48 of file itkImageFileCastWriter.h.
typedef Superclass::InputImagePixelType itk::ImageFileCastWriter< TInputImage >::InputImagePixelType |
Definition at line 60 of file itkImageFileCastWriter.h.
typedef Superclass::InputImagePointer itk::ImageFileCastWriter< TInputImage >::InputImagePointer |
Definition at line 58 of file itkImageFileCastWriter.h.
typedef Superclass::InputImageRegionType itk::ImageFileCastWriter< TInputImage >::InputImageRegionType |
Definition at line 59 of file itkImageFileCastWriter.h.
typedef Superclass::InputImageType itk::ImageFileCastWriter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 57 of file itkImageFileCastWriter.h.
typedef SmartPointer< Self > itk::ImageFileCastWriter< TInputImage >::Pointer |
Definition at line 47 of file itkImageFileCastWriter.h.
typedef ImageFileCastWriter itk::ImageFileCastWriter< TInputImage >::Self |
Standard class typedefs.
Definition at line 45 of file itkImageFileCastWriter.h.
typedef ImageFileWriter< TInputImage > itk::ImageFileCastWriter< TInputImage >::Superclass |
Definition at line 46 of file itkImageFileCastWriter.h.
|
protected |
|
overrideprotected |
|
private |
|
inlineprotected |
Templated function that casts the input image and returns a a pointer to the PixelBuffer. Assumes scalar singlecomponent images The buffer data is valid until this->m_Caster is destroyed or assigned a new caster. The ImageIO's PixelType is also adapted by this function
Definition at line 86 of file itkImageFileCastWriter.h.
|
overrideprotected |
Does the real work.
|
virtual |
Run-time type information (and related methods).
std::string itk::ImageFileCastWriter< TInputImage >::GetDefaultOutputComponentType | ( | void | ) | const |
Determine the default outputcomponentType
|
virtual |
itk::ImageFileCastWriter< TInputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned int | , | ||
InputImageType::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
private |
|
virtual |
Set the component type for writing to disk; default: the same as the InputImagePixelType::ComponentType. This setting is ignored when the inputImagePixelType is not a scalar
|
protected |
Definition at line 115 of file itkImageFileCastWriter.h.
|
private |
Definition at line 122 of file itkImageFileCastWriter.h.
Generated on 1667476801 for elastix by 1.9.4 |