Writes image files using ITK.
More...
#include <Libs/vtkITK/vtkITKImageWriter.h>
Writes image files using ITK.
It can be used for writing 3D image data with voxels containing scalars, RGB, RGBA, spatial vectors (displacement, speed, etc.), or generic list components.
vtkITKImageSequenceWriter can be used instead for writing time sequence data (e.g., time sequence of displacement fields, RGB volumes, etc.).
- See also
- vtkITKImageSequenceWriter vtkITKArchetypeImageSeriesReader
Definition at line 38 of file vtkITKImageWriter.h.
◆ Superclass
◆ anonymous enum
| Enumerator |
|---|
| VoxelVectorTypeUndefined | |
| VoxelVectorTypeSpatial | |
| VoxelVectorTypeColorRGB | |
| VoxelVectorTypeColorRGBA | |
| VoxelVectorTypeSpatialCovariant | |
| VoxelVectorType_Last | |
Definition at line 45 of file vtkITKImageWriter.h.
◆ vtkITKImageWriter()
| vtkITKImageWriter::vtkITKImageWriter |
( |
| ) |
|
|
protected |
◆ ~vtkITKImageWriter()
| vtkITKImageWriter::~vtkITKImageWriter |
( |
| ) |
|
|
overrideprotected |
◆ ConvertSpatialVectorVoxelsBetweenRasLps()
| static void vtkITKImageWriter::ConvertSpatialVectorVoxelsBetweenRasLps |
( |
vtkImageData * | imageData | ) |
|
|
static |
Convert voxel vector type between RAS and LPS measurement frame.
◆ GetClassName()
| virtual const char * vtkITKImageWriter::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetFileName()
| char * vtkITKImageWriter::GetFileName |
( |
| ) |
|
|
inline |
◆ GetImageIOClassName()
| virtual char * vtkITKImageWriter::GetImageIOClassName |
( |
| ) |
|
|
virtual |
Set/Get the ImageIO class name.
◆ GetUseCompression()
| virtual int vtkITKImageWriter::GetUseCompression |
( |
| ) |
|
|
virtual |
Use compression if possible.
◆ GetVoxelVectorType()
| virtual int vtkITKImageWriter::GetVoxelVectorType |
( |
| ) |
|
|
virtual |
◆ IsA()
| virtual int vtkITKImageWriter::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ IsNiftiFile()
| static bool vtkITKImageWriter::IsNiftiFile |
( |
const char * | fileName, |
|
|
const char * | imageIOClassName ) |
|
static |
Returns true if the image is written in NIfTI file format. If imageIOClassName is specified then it determines the file format, otherwise the file name extension.
◆ IsTypeOf()
| static int vtkITKImageWriter::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ New()
◆ PrintSelf()
| void vtkITKImageWriter::PrintSelf |
( |
ostream & | os, |
|
|
vtkIndent | indent ) |
|
override |
◆ SafeDownCast()
◆ SetFileName()
| void vtkITKImageWriter::SetFileName |
( |
const char * | | ) |
|
Specify file name for the image file. You should specify either a FileName or a FilePrefix. Use FilePrefix if the data is stored in multiple files.
◆ SetImageIOClassName()
| virtual void vtkITKImageWriter::SetImageIOClassName |
( |
const char * | | ) |
|
|
virtual |
◆ SetMeasurementFrameMatrix()
| void vtkITKImageWriter::SetMeasurementFrameMatrix |
( |
vtkMatrix4x4 * | mat | ) |
|
|
inline |
◆ SetRasToIJKMatrix()
| void vtkITKImageWriter::SetRasToIJKMatrix |
( |
vtkMatrix4x4 * | mat | ) |
|
|
inline |
◆ SetUseCompression()
| virtual void vtkITKImageWriter::SetUseCompression |
( |
int | | ) |
|
|
virtual |
◆ SetVoxelVectorType()
| virtual void vtkITKImageWriter::SetVoxelVectorType |
( |
int | | ) |
|
|
virtual |
Defines how to interpret voxel components.
◆ UseCompressionOff()
| virtual void vtkITKImageWriter::UseCompressionOff |
( |
| ) |
|
|
virtual |
◆ UseCompressionOn()
| virtual void vtkITKImageWriter::UseCompressionOn |
( |
| ) |
|
|
virtual |
◆ Write()
| void vtkITKImageWriter::Write |
( |
| ) |
|
The main interface which triggers the writer to start.
◆ WriteMeasurementFrameMatrixToMetaDataDictionary()
| static void vtkITKImageWriter::WriteMeasurementFrameMatrixToMetaDataDictionary |
( |
itk::MetaDataDictionary & | dictionary, |
|
|
vtkMatrix4x4 * | measurementFrameMatrix ) |
|
static |
Adds measurement frame matrix to the metadata.
◆ FileName
| char* vtkITKImageWriter::FileName |
|
protected |
◆ ImageIOClassName
| char* vtkITKImageWriter::ImageIOClassName |
|
protected |
◆ MeasurementFrameMatrix
| vtkMatrix4x4* vtkITKImageWriter::MeasurementFrameMatrix |
|
protected |
◆ RasToIJKMatrix
| vtkMatrix4x4* vtkITKImageWriter::RasToIJKMatrix |
|
protected |
◆ UseCompression
| int vtkITKImageWriter::UseCompression |
|
protected |
◆ VoxelVectorType
| int vtkITKImageWriter::VoxelVectorType |
|
protected |
The documentation for this class was generated from the following file: