DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkCastImageFileWriter.h>
Writes image data, after casting, to a single file.
Definition at line 32 of file itkCastImageFileWriter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef ImageIOBase::IOComponentType | IOComponentType |
typedef SmartPointer< Self > | Pointer |
typedef CastImageFileWriter | Self |
typedef ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual IOComponentType | GetComponentType () const |
virtual const char * | GetFileName () const |
const InputImageType * | GetInput (void) |
const InputImageType * | GetInput (unsigned int idx) |
const ImageIORegion & | GetIORegion (void) const |
virtual const char * | GetNameOfClass () const |
virtual const unsigned int & | GetNumberOfStreamDivisions () |
virtual const bool & | GetUseCompression () |
virtual const bool & | GetUseInputMetaDataDictionary () |
itkGetObjectMacro (ImageIO, ImageIOBase) | |
virtual void | SetComponentType (const IOComponentType _arg) |
virtual void | SetFileName (const char *_arg) |
void | SetImageIO (ImageIOBase *io) |
virtual void | SetInput (const InputImageType *input) |
void | SetIORegion (const ImageIORegion ®ion) |
virtual void | SetNumberOfStreamDivisions (unsigned int _arg) |
virtual void | SetUseCompression (bool _arg) |
virtual void | SetUseInputMetaDataDictionary (bool _arg) |
virtual void | Update () ITK_OVERRIDE |
virtual void | UseCompressionOff () |
virtual void | UseCompressionOn () |
virtual void | UseInputMetaDataDictionaryOff () |
virtual void | UseInputMetaDataDictionaryOn () |
virtual void | Write (void) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
CastImageFileWriter () | |
void | GenerateData (void) ITK_OVERRIDE |
void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
~CastImageFileWriter () | |
Private Member Functions | |
CastImageFileWriter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
IOComponentType | m_ComponentType |
bool | m_FactorySpecifiedImageIO |
std::string | m_FileName |
ImageIOBase::Pointer | m_ImageIO |
unsigned int | m_NumberOfStreamDivisions |
ImageIORegion | m_PasteIORegion |
bool | m_UseCompression |
bool | m_UseInputMetaDataDictionary |
bool | m_UserSpecifiedImageIO |
bool | m_UserSpecifiedIORegion |
typedef SmartPointer<const Self> itk::CastImageFileWriter< TInputImage >::ConstPointer |
Definition at line 39 of file itkCastImageFileWriter.h.
typedef InputImageType::PixelType itk::CastImageFileWriter< TInputImage >::InputImagePixelType |
Definition at line 51 of file itkCastImageFileWriter.h.
typedef InputImageType::Pointer itk::CastImageFileWriter< TInputImage >::InputImagePointer |
Definition at line 49 of file itkCastImageFileWriter.h.
typedef InputImageType::RegionType itk::CastImageFileWriter< TInputImage >::InputImageRegionType |
Definition at line 50 of file itkCastImageFileWriter.h.
typedef TInputImage itk::CastImageFileWriter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 45 of file itkCastImageFileWriter.h.
typedef ImageIOBase::IOComponentType itk::CastImageFileWriter< TInputImage >::IOComponentType |
Definition at line 53 of file itkCastImageFileWriter.h.
typedef SmartPointer<Self> itk::CastImageFileWriter< TInputImage >::Pointer |
Definition at line 38 of file itkCastImageFileWriter.h.
typedef CastImageFileWriter itk::CastImageFileWriter< TInputImage >::Self |
Standard class typedefs.
Definition at line 36 of file itkCastImageFileWriter.h.
typedef ProcessObject itk::CastImageFileWriter< TInputImage >::Superclass |
Definition at line 37 of file itkCastImageFileWriter.h.
|
protected |
Definition at line 30 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::~CastImageFileWriter().
|
protected |
Definition at line 45 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::SetInput().
Referenced by itk::CastImageFileWriter< TInputImage >::CastImageFileWriter().
|
private |
virtual::itk::LightObject::Pointer itk::CastImageFileWriter< TInputImage >::CreateAnother | ( | void | ) | const |
|
protected |
Does the real work.
Definition at line 115 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::PrintSelf().
Referenced by itk::CastImageFileWriter< TInputImage >::Write().
|
virtual |
|
virtual |
const CastImageFileWriter< TInputImage >::InputImageType * itk::CastImageFileWriter< TInputImage >::GetInput | ( | void | ) |
Definition at line 65 of file itkCastImageFileWriter.hxx.
Referenced by itk::CastImageFileWriter< TInputImage >::SetInput().
const CastImageFileWriter< TInputImage >::InputImageType * itk::CastImageFileWriter< TInputImage >::GetInput | ( | unsigned int | idx | ) |
Definition at line 80 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::SetIORegion().
|
inline |
Definition at line 98 of file itkCastImageFileWriter.h.
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
|
virtual |
itk::CastImageFileWriter< TInputImage >::itkGetObjectMacro | ( | ImageIO | , |
ImageIOBase | |||
) |
|
static |
Method for creation through the object factory.
|
private |
|
protected |
Definition at line 322 of file itkCastImageFileWriter.hxx.
Referenced by itk::CastImageFileWriter< TInputImage >::GenerateData().
|
virtual |
Set/Get component type
|
virtual |
Specify the name of the output file to write.
|
inline |
Set/Get the ImageIO helper class. Usually this is created via the object factory mechanism that determines whether a particular ImageIO can write a certain file. This method provides a way to get the ImageIO instance that is created, or one can be manually set where the IO factory mechanism may not work (for example, raw image files or image files with non-standard filename suffix's. If the user specifies the ImageIO, we assume she makes the correct choice and will allow a file to be created regardless of the file extension. If the factory has set the ImageIO, the extension must be supported by the specified ImageIO.
Definition at line 75 of file itkCastImageFileWriter.h.
|
virtual |
Definition at line 53 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::GetInput().
Referenced by itk::CastImageFileWriter< TInputImage >::~CastImageFileWriter().
void itk::CastImageFileWriter< TInputImage >::SetIORegion | ( | const ImageIORegion & | region | ) |
Specify the region to write. If left NULL, then the whole image is written.
Definition at line 89 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::Write().
Referenced by itk::CastImageFileWriter< TInputImage >::GetInput().
|
virtual |
Set/Get the number of pieces to divide the input. The upstream pipeline will try to be executed this many times.
|
virtual |
Set the compression On or Off
|
virtual |
By default the MetaDataDictionary is taken from the input image and passed to the ImageIO. In some cases, however, a user may prefer to introduce her/his own MetaDataDictionary. This is often the case of the ImageSeriesWriter. This flag defined whether the MetaDataDictionary to use will be the one from the input image or the one already set in the ImageIO object.
|
inlinevirtual |
Aliased to the Write() method to be consistent with the rest of the pipeline.
Definition at line 112 of file itkCastImageFileWriter.h.
References ITK_OVERRIDE.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
A special version of the Update() method for writers. It invokes start and end events and handles releasing data. It eventually calls GenerateData() which does the actual writing. Note: the write method will write data specified by the IORegion. If not set, then then the whole image is written. Note that the region will be cropped to fit the input image's LargestPossibleRegion.
Definition at line 104 of file itkCastImageFileWriter.hxx.
References itk::CastImageFileWriter< TInputImage >::GenerateData().
Referenced by itk::CastImageFileWriter< TInputImage >::SetIORegion().
|
private |
Definition at line 165 of file itkCastImageFileWriter.h.
|
private |
Definition at line 158 of file itkCastImageFileWriter.h.
|
private |
Definition at line 148 of file itkCastImageFileWriter.h.
|
private |
Definition at line 150 of file itkCastImageFileWriter.h.
|
private |
Definition at line 155 of file itkCastImageFileWriter.h.
|
private |
Definition at line 154 of file itkCastImageFileWriter.h.
|
private |
Definition at line 160 of file itkCastImageFileWriter.h.
|
private |
Definition at line 161 of file itkCastImageFileWriter.h.
|
private |
Definition at line 151 of file itkCastImageFileWriter.h.
|
private |
Definition at line 156 of file itkCastImageFileWriter.h.