#include <itkImageSeriesWriter.h>
Inheritance diagram for itk::ImageSeriesWriter:


ImageSeriesWriter writes its input data to a series of output files. ImageSeriesWriter interfaces with the classes ImageIOBase and FileIteratorBase to write out the data. If you wish to write data into a single file, ImageFileWriter is easier to use.
A pluggable factory pattern is used that allows different file formats to be written (even at run time) without having to modify the code in this class. You can either manually instantiate the ImageIO object and associate it with the ImageSeriesWriter, or create a FileIteratorBase subclass and set the SeriesFormat with a suitable suffix (".png", ".jpg", etc). Of course the input to the to the writer must be set as well.
Note: the name of the output files is controlled by a subclass of FileIteratorBase. If an ImageIO is set, it will produce a file iterator. However, the FileIterator can be manually set to control how the files are named. If an ImageIO is not set, but a file iterator is set, then the appropriate ImageIO (if possible) is determined from the SeriesFormat ivar of the FileIterator.
Definition at line 87 of file itkImageSeriesWriter.h.
|
|||||
|
Reimplemented from itk::ProcessObject. Definition at line 94 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 106 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 104 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 105 of file itkImageSeriesWriter.h. |
|
|||||
|
Some convenient typedefs. Definition at line 103 of file itkImageSeriesWriter.h. |
|
|||||
|
Reimplemented from itk::ProcessObject. Definition at line 93 of file itkImageSeriesWriter.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::ProcessObject. Definition at line 91 of file itkImageSeriesWriter.h. |
|
|||||
|
Reimplemented from itk::ProcessObject. Definition at line 92 of file itkImageSeriesWriter.h. |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Does the real work. Reimplemented from itk::ProcessObject. |
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::ProcessObject. |
|
|||||||||
|
The naming of the output files is controlled by using a subclass of FileIteratorBase (e.g., NumericSeriesFileIterator). |
|
|||||||||
|
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 to manually set one when the factory mechanism may not work (e.g., for raw files or for non-standard file suffix). |
|
||||||||||
|
Set/Get the image input of this writer. Reimplemented from itk::ProcessObject. |
|
||||||||||
|
Set/Get the image input of this writer. |
|
|||||||||
|
Specify the region to write. If left NULL, then the whole image is written. (Left protected for now to insure that the user doesn't try to use writing of partial images just yet since it's really not working at this time.) |
|
|||||||||
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
||||||||||||||||
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ProcessObject. |
|
||||||||||
|
The naming of the output files is controlled by using a subclass of FileIteratorBase (e.g., NumericSeriesFileIterator). |
|
||||||||||
|
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 to manually set one when the factory mechanism may not work (e.g., for raw files or for non-standard file suffix). |
|
||||||||||
|
Set/Get the image input of this writer. |
|
||||||||||
|
Specify the region to write. If left NULL, then the whole image is written. (Left protected for now to insure that the user doesn't try to use writing of partial images just yet since it's really not working at this time.) |
|
||||||||||
|
Aliased to the Write() method to be consistent with the rest of the pipeline. Reimplemented from itk::ProcessObject. Definition at line 141 of file itkImageSeriesWriter.h. References HardConnectedComponentImageFilter::GenerateData(), and HardConnectedComponentImageFilter::PrintSelf(). |
|
||||||||||
|
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. |
|
|||||
|
Used to produce the names of the output files in the series Definition at line 153 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 155 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 158 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 156 of file itkImageSeriesWriter.h. |
|
|||||
|
Definition at line 159 of file itkImageSeriesWriter.h. |
1.2.15 written by Dimitri van Heesch,
© 1997-2000