ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkCropImageFilter.h>
Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of the largest possible region.
CropImageFilter changes the image boundary of an image by removing pixels outside the target region. The target region is not specified in advance, but calculated in BeforeThreadedGenerateData().
This filter uses ExtractImageFilter to perform the cropping.
Definition at line 43 of file itkCropImageFilter.h.
typedef SmartPointer< const Self > itk::CropImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkCropImageFilter.h.
typedef Superclass::InputImageIndexType itk::CropImageFilter< TInputImage, TOutputImage >::InputImageIndexType |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 69 of file itkCropImageFilter.h.
typedef Superclass::InputImagePixelType itk::CropImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkCropImageFilter.h.
typedef Superclass::InputImageRegionType itk::CropImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 61 of file itkCropImageFilter.h.
typedef Superclass::InputImageSizeType itk::CropImageFilter< TInputImage, TOutputImage >::InputImageSizeType |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 71 of file itkCropImageFilter.h.
typedef Superclass::OutputImageIndexType itk::CropImageFilter< TInputImage, TOutputImage >::OutputImageIndexType |
Typedef to describe the output and input image index and size types.
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 68 of file itkCropImageFilter.h.
typedef Superclass::OutputImagePixelType itk::CropImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Typedef to describe the type of pixel.
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkCropImageFilter.h.
typedef Superclass::OutputImageRegionType itk::CropImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Typedef to describe the output and input image region types.
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkCropImageFilter.h.
typedef Superclass::OutputImageSizeType itk::CropImageFilter< TInputImage, TOutputImage >::OutputImageSizeType |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkCropImageFilter.h.
typedef SmartPointer< Self > itk::CropImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkCropImageFilter.h.
typedef CropImageFilter itk::CropImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkCropImageFilter.h.
typedef InputImageSizeType itk::CropImageFilter< TInputImage, TOutputImage >::SizeType |
Definition at line 72 of file itkCropImageFilter.h.
typedef ExtractImageFilter< TInputImage, TOutputImage > itk::CropImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkCropImageFilter.h.
itk::CropImageFilter< TInputImage, TOutputImage >::CropImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 104 of file itkCropImageFilter.h.
itk::CropImageFilter< TInputImage, TOutputImage >::~CropImageFilter | ( | ) | [inline, protected] |
Definition at line 112 of file itkCropImageFilter.h.
itk::CropImageFilter< TInputImage, TOutputImage >::CropImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::CropImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
void itk::CropImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation | ( | ) | [protected, virtual] |
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::ExtractImageFilter< TInputImage, TOutputImage >.
virtual SizeType itk::CropImageFilter< TInputImage, TOutputImage >::GetLowerBoundaryCropSize | ( | ) | const [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
virtual const char* itk::CropImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
virtual SizeType itk::CropImageFilter< TInputImage, TOutputImage >::GetUpperBoundaryCropSize | ( | ) | const [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
static Pointer itk::CropImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
void itk::CropImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
void itk::CropImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
void itk::CropImageFilter< TInputImage, TOutputImage >::SetBoundaryCropSize | ( | const SizeType & | s | ) | [inline] |
Definition at line 88 of file itkCropImageFilter.h.
virtual void itk::CropImageFilter< TInputImage, TOutputImage >::SetLowerBoundaryCropSize | ( | SizeType | _arg | ) | [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
virtual void itk::CropImageFilter< TInputImage, TOutputImage >::SetUpperBoundaryCropSize | ( | SizeType | _arg | ) | [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
itk::CropImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< InputImagePixelType, OutputImagePixelType > | ) |
Begin concept checking This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputImagePixelType, OutputImagePixelType > )
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
itk::CropImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )
const unsigned int itk::CropImageFilter< TInputImage, TOutputImage >::InputImageDimension = Superclass::InputImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 76 of file itkCropImageFilter.h.
SizeType itk::CropImageFilter< TInputImage, TOutputImage >::m_LowerBoundaryCropSize [private] |
Definition at line 122 of file itkCropImageFilter.h.
SizeType itk::CropImageFilter< TInputImage, TOutputImage >::m_UpperBoundaryCropSize [private] |
Definition at line 121 of file itkCropImageFilter.h.
const unsigned int itk::CropImageFilter< TInputImage, TOutputImage >::OutputImageDimension = Superclass::OutputImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ExtractImageFilter< TInputImage, TOutputImage >.
Definition at line 78 of file itkCropImageFilter.h.