ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkCropLabelMapFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | IndexType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef InputImageType::LabelObjectType | LabelObjectType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef InputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef InputImageType::RegionType | RegionType |
typedef CropLabelMapFilter | Self |
typedef InputImageType::SizeType | SizeType |
typedef ChangeRegionLabelMapFilter < TInputImage > | Superclass |
typedef TInputImage | TOutputImage |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetCropSize (const SizeType &size) |
virtual void | SetUpperBoundaryCropSize (SizeType _arg) |
virtual SizeType | GetUpperBoundaryCropSize () |
virtual void | SetLowerBoundaryCropSize (SizeType _arg) |
virtual SizeType | GetLowerBoundaryCropSize () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
CropLabelMapFilter () | |
virtual void | GenerateOutputInformation () |
void | PrintSelf (std::ostream &os, Indent indent) const |
~CropLabelMapFilter () | |
Private Member Functions | |
CropLabelMapFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
SizeType | m_LowerBoundaryCropSize |
SizeType | m_UpperBoundaryCropSize |
Crop a LabelMap image.
Crop a label map. If the output cannot contain some lines of the objects, they are truncated or removed. All objects fully outside the output region are removed.
The SetCropSize() method can be used to set the crop size of the lower and the upper boundaries in a single call. By default, the filter does not crop anything.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 55 of file itkCropLabelMapFilter.h.
typedef SmartPointer< const Self > itk::CropLabelMapFilter< TInputImage >::ConstPointer |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 62 of file itkCropLabelMapFilter.h.
typedef InputImageType::IndexType itk::CropLabelMapFilter< TInputImage >::IndexType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 85 of file itkCropLabelMapFilter.h.
typedef InputImageType::ConstPointer itk::CropLabelMapFilter< TInputImage >::InputImageConstPointer |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 79 of file itkCropLabelMapFilter.h.
typedef InputImageType::PixelType itk::CropLabelMapFilter< TInputImage >::InputImagePixelType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 81 of file itkCropLabelMapFilter.h.
typedef InputImageType::Pointer itk::CropLabelMapFilter< TInputImage >::InputImagePointer |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 78 of file itkCropLabelMapFilter.h.
typedef InputImageType::RegionType itk::CropLabelMapFilter< TInputImage >::InputImageRegionType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 80 of file itkCropLabelMapFilter.h.
typedef TInputImage itk::CropLabelMapFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 77 of file itkCropLabelMapFilter.h.
typedef InputImageType::LabelObjectType itk::CropLabelMapFilter< TInputImage >::LabelObjectType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 82 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImagePixelType itk::CropLabelMapFilter< TInputImage >::OutputImagePixelType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 74 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImagePointer itk::CropLabelMapFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 72 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImageRegionType itk::CropLabelMapFilter< TInputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 73 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImageType itk::CropLabelMapFilter< TInputImage >::OutputImageType |
Superclass typedefs.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 68 of file itkCropLabelMapFilter.h.
typedef InputImageType::PixelType itk::CropLabelMapFilter< TInputImage >::PixelType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 84 of file itkCropLabelMapFilter.h.
typedef SmartPointer< Self > itk::CropLabelMapFilter< TInputImage >::Pointer |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 61 of file itkCropLabelMapFilter.h.
typedef InputImageType::RegionType itk::CropLabelMapFilter< TInputImage >::RegionType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 87 of file itkCropLabelMapFilter.h.
typedef CropLabelMapFilter itk::CropLabelMapFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 59 of file itkCropLabelMapFilter.h.
typedef InputImageType::SizeType itk::CropLabelMapFilter< TInputImage >::SizeType |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 86 of file itkCropLabelMapFilter.h.
typedef ChangeRegionLabelMapFilter< TInputImage > itk::CropLabelMapFilter< TInputImage >::Superclass |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 60 of file itkCropLabelMapFilter.h.
typedef TInputImage itk::CropLabelMapFilter< TInputImage >::TOutputImage |
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 89 of file itkCropLabelMapFilter.h.
itk::CropLabelMapFilter< TInputImage >::CropLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 111 of file itkCropLabelMapFilter.h.
itk::CropLabelMapFilter< TInputImage >::~CropLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 117 of file itkCropLabelMapFilter.h.
itk::CropLabelMapFilter< TInputImage >::CropLabelMapFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::CropLabelMapFilter< TInputImage >::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::ChangeRegionLabelMapFilter< TInputImage >.
virtual void itk::CropLabelMapFilter< TInputImage >::GenerateOutputInformation | ( | ) | [protected, virtual] |
Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
virtual SizeType itk::CropLabelMapFilter< TInputImage >::GetLowerBoundaryCropSize | ( | ) | [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
virtual const char* itk::CropLabelMapFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
virtual SizeType itk::CropLabelMapFilter< TInputImage >::GetUpperBoundaryCropSize | ( | ) | [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
static Pointer itk::CropLabelMapFilter< TInputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
void itk::CropLabelMapFilter< TInputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
void itk::CropLabelMapFilter< TInputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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::ChangeRegionLabelMapFilter< TInputImage >.
void itk::CropLabelMapFilter< TInputImage >::SetCropSize | ( | const SizeType & | size | ) | [inline] |
Definition at line 104 of file itkCropLabelMapFilter.h.
virtual void itk::CropLabelMapFilter< TInputImage >::SetLowerBoundaryCropSize | ( | SizeType | _arg | ) | [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
virtual void itk::CropLabelMapFilter< TInputImage >::SetUpperBoundaryCropSize | ( | SizeType | _arg | ) | [virtual] |
Set/Get the cropping sizes for the upper and lower boundaries.
const unsigned int itk::CropLabelMapFilter< TInputImage >::ImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 94 of file itkCropLabelMapFilter.h.
const unsigned int itk::CropLabelMapFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 92 of file itkCropLabelMapFilter.h.
SizeType itk::CropLabelMapFilter< TInputImage >::m_LowerBoundaryCropSize [private] |
Definition at line 128 of file itkCropLabelMapFilter.h.
SizeType itk::CropLabelMapFilter< TInputImage >::m_UpperBoundaryCropSize [private] |
Definition at line 127 of file itkCropLabelMapFilter.h.
const unsigned int itk::CropLabelMapFilter< TInputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
Definition at line 93 of file itkCropLabelMapFilter.h.