#include <itkChangeInformationImageFilter.h>
Inheritance diagram for itk::ChangeInformationImageFilter< TInputImage >:
Public Types | |
typedef ChangeInformationImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TInputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::RegionType | OutputImageRegionType |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage::PixelType | OutputImagePixelType |
typedef TInputImage::PixelType | InputImagePixelType |
typedef TInputImage::IndexType | OutputImageIndexType |
typedef TInputImage::IndexType | InputImageIndexType |
typedef TInputImage::SizeType | OutputImageSizeType |
typedef TInputImage::SizeType | InputImageSizeType |
typedef TInputImage::OffsetType | OutputImageOffsetType |
typedef TInputImage::OffsetType | InputImageOffsetType |
typedef TInputImage::SpacingType | SpacingType |
typedef TInputImage::PointType | PointType |
Public Member Functions | |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
virtual const char * | GetClassName () const |
virtual void | SetUseReferenceImage (bool _arg) |
virtual void | UseReferenceImageOn () |
virtual void | UseReferenceImageOff () |
virtual bool | GetUseReferenceImage () |
void | ChangeNone () |
virtual void | SetChangeSpacing (bool _arg) |
virtual void | ChangeSpacingOn () |
virtual void | ChangeSpacingOff () |
virtual bool | GetChangeSpacing () |
virtual void | SetChangeOrigin (bool _arg) |
virtual void | ChangeOriginOn () |
virtual void | ChangeOriginOff () |
virtual bool | GetChangeOrigin () |
virtual void | SetChangeRegion (bool _arg) |
virtual void | ChangeRegionOn () |
virtual void | ChangeRegionOff () |
virtual bool | GetChangeRegion () |
virtual void | GenerateOutputInformation () |
virtual void | GenerateInputRequestedRegion () |
void | GenerateData () |
void | SetReferenceImage (TInputImage *image) |
virtual TInputImage * | GetReferenceImage () |
virtual void | SetOutputSpacing (SpacingType _arg) |
virtual const SpacingType & | GetOutputSpacing () |
virtual void | SetOutputOrigin (PointType _arg) |
virtual const PointType & | GetOutputOrigin () |
virtual void | SetOutputOffset (long data[]) |
virtual const long * | GetOutputOffset () const |
void | ChangeAll () |
virtual void | SetCenterImage (bool _arg) |
virtual void | CenterImageOn () |
virtual void | CenterImageOff () |
virtual bool | GetCenterImage () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
ChangeInformationImageFilter () | |
~ChangeInformationImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Change the origin, spacing and/or buffered region of an itkImage. This "Information" along with an Image's container comprise the itkImage. By default, the output's information is set to the input's information. The methods ChangeSpacingOn/Off, ChangeOriginOn/Off and ChangeRegionOn/Off control whether the default origin, spacing or buffered region should be changed. If On, the associated information will be replaced with either the ReferenceImage information (if UseReferenceImage is true) or the ivars OutputSpacing, OutputOrigin, OutputOffset.
In addition, the method CenterImageOn will recompute the output image origin (using the selected output spacing) the align the center of the image with the coordinate 0.
Definition at line 47 of file itkChangeInformationImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 55 of file itkChangeInformationImageFilter.h. |
|
Definition at line 73 of file itkChangeInformationImageFilter.h. |
|
Definition at line 77 of file itkChangeInformationImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 69 of file itkChangeInformationImageFilter.h. |
|
Typedef to describe the pointer to the input. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 65 of file itkChangeInformationImageFilter.h. Referenced by itk::ChangeInformationImageFilter< TInputImage >::~ChangeInformationImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 62 of file itkChangeInformationImageFilter.h. |
|
Definition at line 75 of file itkChangeInformationImageFilter.h. |
|
Typedef to describe the output and input image index and size types. Definition at line 72 of file itkChangeInformationImageFilter.h. |
|
Definition at line 76 of file itkChangeInformationImageFilter.h. Referenced by itk::ChangeInformationImageFilter< TInputImage >::~ChangeInformationImageFilter(). |
|
Typedef to describe the type of pixel. Reimplemented from itk::ImageSource< TInputImage >. Definition at line 68 of file itkChangeInformationImageFilter.h. |
|
Typedef to describe the output and input image region types. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 61 of file itkChangeInformationImageFilter.h. |
|
Definition at line 74 of file itkChangeInformationImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 54 of file itkChangeInformationImageFilter.h. |
|
Definition at line 85 of file itkChangeInformationImageFilter.h. Referenced by itk::ChangeInformationImageFilter< TInputImage >::~ChangeInformationImageFilter(). |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 52 of file itkChangeInformationImageFilter.h. |
|
Image spacing and origin typedefs Definition at line 84 of file itkChangeInformationImageFilter.h. Referenced by itk::ChangeInformationImageFilter< TInputImage >::~ChangeInformationImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 53 of file itkChangeInformationImageFilter.h. |
|
|
|
|
Set the Origin of the output so that image coordinate (0,0,0) lies at the Center of the Image. This will override SetOutputOrigin. |
|
Set the Origin of the output so that image coordinate (0,0,0) lies at the Center of the Image. This will override SetOutputOrigin. |
|
Change the origin, spacing and region of the output image. Definition at line 135 of file itkChangeInformationImageFilter.h. |
|
Change neither the origin nor spacing nor region of the output image. Definition at line 145 of file itkChangeInformationImageFilter.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Copy the input buffer. Reimplemented from itk::ImageSource< TInputImage >.
|
|
Apply changes to the input image requested region. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
|
Apply changes to the output image information. Reimplemented from itk::ProcessObject.
|
|
Set the Origin of the output so that image coordinate (0,0,0) lies at the Center of the Image. This will override SetOutputOrigin. |
|
|
|
|
|
|
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
|
Specify an offset for the buffered region. The default is to use the same buffered region as the input or an Offset computed from the ReferenceImage's buffered region (if UseReferenceImage is true.) NOTE: Changing the buffered region should not be done without a corresponding change in the requested region. Of course, the pipeline controls the requested region. Therefore, changing the buffered region may mean the filter cannot produce the requested region. |
|
Specify a new data origin explicitly. The default is to use the origin of the Input, or of the ReferenceImage if UseReferenceImage is true. |
|
Specify a new data spacing explicitly. The default is to use the spacing of the Input, or of the ReferenceImage if UseReferenceImage is set. |
|
Copy the information from another Image. By default, the information is copied from the input image. |
|
|
|
Image related typedefs. |
|
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::ImageToImageFilter< TInputImage, TInputImage >.
|
|
Set the Origin of the output so that image coordinate (0,0,0) lies at the Center of the Image. This will override SetOutputOrigin. |
|
Change the Origin of the output image. If false, the output image origin will be set to the input image origin. If true, the output image origin will be set to: the ReferenceImage origin (if UseReferenceImage is true) or OutputOrigin. |
|
Change the BufferedRegion of the output image. |
|
Change the Spacing of the output image. If false, the output image spacing will be set to the input image spacing. If true, the output image spacing will be set to: the ReferenceImage spacing (if UseReferenceImage is true) or OutputSpacing. |
|
Specify an offset for the buffered region. The default is to use the same buffered region as the input or an Offset computed from the ReferenceImage's buffered region (if UseReferenceImage is true.) NOTE: Changing the buffered region should not be done without a corresponding change in the requested region. Of course, the pipeline controls the requested region. Therefore, changing the buffered region may mean the filter cannot produce the requested region. |
|
Specify a new data origin explicitly. The default is to use the origin of the Input, or of the ReferenceImage if UseReferenceImage is true. |
|
Specify a new data spacing explicitly. The default is to use the spacing of the Input, or of the ReferenceImage if UseReferenceImage is set. |
|
Copy the information from another Image. By default, the information is copied from the input image. Definition at line 92 of file itkChangeInformationImageFilter.h. |
|
|
|
|
|
|