#include <itkExtractImageFilter.h>
Inheritance diagram for itk::ExtractImageFilter< TInputImage, TOutputImage >:
ExtractImageFilter changes the image boundary of an image by removing pixels outside the target region. The target region must be specified.
ExtractImageFilter also collapses dimensions so that the input image may have more dimensions than the output image (i.e. 4-D input image to a 3-D output image). To specify what dimensions to collapse, the ExtractionRegion must be specified. For any dimension dim where ExtractionRegion.Size[dim] = 0, that dimension is collapsed. The index to collapse on is specified by ExtractionRegion.Index[dim]. For example, we have a image 4D = a 4x4x4x4 image, and we want to get a 3D image, 3D = a 4x4x4 image, specified as [x,y,z,2] from 4D (i.e. the 3rd "time" slice from 4D). The ExtractionRegion.Size = [4,4,4,0] and ExtractionRegion.Index = [0,0,0,2].
The number of dimension in ExtractionRegion.Size and Index must = InputImageDimension. The number of non-zero dimensions in ExtractionRegion.Size must = OutputImageDimension.
This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.
Definition at line 55 of file itkExtractImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkExtractImageFilter.h. |
|
Definition at line 94 of file itkExtractImageFilter.h. |
|
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 81 of file itkExtractImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 77 of file itkExtractImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 73 of file itkExtractImageFilter.h. Referenced by itk::ExtractImageFilter< TInputImage, TOutputImage >::~ExtractImageFilter(). |
|
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 83 of file itkExtractImageFilter.h. |
|
Typedef to describe the output and input image index and size types. Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 80 of file itkExtractImageFilter.h. |
|
Typedef to describe the type of pixel. Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 76 of file itkExtractImageFilter.h. |
|
Typedef to describe the output and input image region types. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 72 of file itkExtractImageFilter.h. Referenced by itk::ExtractImageFilter< TInputImage, TOutputImage >::~ExtractImageFilter(). |
|
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 82 of file itkExtractImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 62 of file itkExtractImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 60 of file itkExtractImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >. Definition at line 61 of file itkExtractImageFilter.h. |
|
|
|
Definition at line 107 of file itkExtractImageFilter.h. References itk::ExtractImageFilter< TInputImage, TOutputImage >::InputImageRegionType, and itk::ExtractImageFilter< TInputImage, TOutputImage >::OutputImageRegionType. |
|
This function calls the actual region copier to do the mapping from output image space to input image space. It uses a Function object used for dispatching to various routines to copy an output region (start index and size) to an input region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::ExtractImageFilter can support output images of a lower dimension that the input.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
|
ExtractImageFilter can produce an image which is a different resolution than its input image. As such, ExtractImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Reimplemented from itk::ProcessObject.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >.
|
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >.
|
|
Set/Get the output image region. If any of the ExtractionRegion.Size = 0 for any particular dimension dim, we have to collapse dimension dim. This means the output image will have 'c' dimensions less than the input image, where c = # of ExtractionRegion.Size = 0. |
|
ImageDimension enumeration Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
|
ImageDimension enumeration Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
|
Method for creation through the object factory. Reimplemented from itk::Object.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >.
|
|
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, TOutputImage >.
Reimplemented in itk::CropImageFilter< TInputImage, TOutputImage >.
|
|
Set/Get the output image region. If any of the ExtractionRegion.Size = 0 for any particular dimension dim, we have to collapse dimension dim. This means the output image will have 'c' dimensions less than the input image, where c = # of ExtractionRegion.Size = 0. |
|
ExtractImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread" Reimplemented from itk::ImageSource< TOutputImage >.
|
|
ExtractImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread" Definition at line 144 of file itkExtractImageFilter.h. |
|
ExtractImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread" Definition at line 145 of file itkExtractImageFilter.h. |