![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkCropLabelMapFilter.h>
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: https://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 55 of file 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 |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | IndexType |
typedef InputImageType::IndexValueType | IndexValueType |
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 ChangeRegionLabelMapFilter | Self |
typedef InputImageType::SizeType | SizeType |
typedef InPlaceLabelMapFilter < TInputImage > | Superclass |
typedef TInputImage | TOutputImage |
![]() | |
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 InPlaceLabelMapFilter | Self |
typedef LabelMapFilter < TInputImage, TInputImage > | Superclass |
typedef TInputImage | TOutputImage |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Superclass::InputImageType | InputImageType |
typedef InputImageType::LabelObjectType | LabelObjectType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef LabelMapFilter | Self |
typedef ImageToImageFilter < TInputImage, TInputImage > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TInputImage > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
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 |
![]() | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
![]() | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
![]() | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
![]() | |
static const unsigned int | OutputImageDimension |
Private Attributes | |
SizeType | m_LowerBoundaryCropSize |
SizeType | m_UpperBoundaryCropSize |
Additional Inherited Members | |
![]() | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
![]() | |
FastMutexLock::Pointer | m_LabelObjectContainerLock |
![]() | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::CropLabelMapFilter< TInputImage >::ConstPointer |
Definition at line 62 of file itkCropLabelMapFilter.h.
typedef InputImageType::IndexType itk::CropLabelMapFilter< TInputImage >::IndexType |
Definition at line 85 of file itkCropLabelMapFilter.h.
typedef InputImageType::ConstPointer itk::CropLabelMapFilter< TInputImage >::InputImageConstPointer |
Definition at line 79 of file itkCropLabelMapFilter.h.
typedef InputImageType::PixelType itk::CropLabelMapFilter< TInputImage >::InputImagePixelType |
Definition at line 81 of file itkCropLabelMapFilter.h.
typedef InputImageType::Pointer itk::CropLabelMapFilter< TInputImage >::InputImagePointer |
Definition at line 78 of file itkCropLabelMapFilter.h.
typedef InputImageType::RegionType itk::CropLabelMapFilter< TInputImage >::InputImageRegionType |
Definition at line 80 of file itkCropLabelMapFilter.h.
typedef TInputImage itk::CropLabelMapFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 77 of file itkCropLabelMapFilter.h.
typedef InputImageType::LabelObjectType itk::CropLabelMapFilter< TInputImage >::LabelObjectType |
Definition at line 82 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImagePixelType itk::CropLabelMapFilter< TInputImage >::OutputImagePixelType |
Definition at line 74 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImagePointer itk::CropLabelMapFilter< TInputImage >::OutputImagePointer |
Definition at line 72 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImageRegionType itk::CropLabelMapFilter< TInputImage >::OutputImageRegionType |
Definition at line 73 of file itkCropLabelMapFilter.h.
typedef Superclass::OutputImageType itk::CropLabelMapFilter< TInputImage >::OutputImageType |
Superclass typedefs.
Definition at line 68 of file itkCropLabelMapFilter.h.
typedef InputImageType::PixelType itk::CropLabelMapFilter< TInputImage >::PixelType |
Definition at line 84 of file itkCropLabelMapFilter.h.
typedef SmartPointer< Self > itk::CropLabelMapFilter< TInputImage >::Pointer |
Definition at line 61 of file itkCropLabelMapFilter.h.
typedef InputImageType::RegionType itk::CropLabelMapFilter< TInputImage >::RegionType |
Definition at line 87 of file itkCropLabelMapFilter.h.
typedef CropLabelMapFilter itk::CropLabelMapFilter< TInputImage >::Self |
Standard class typedefs.
Definition at line 59 of file itkCropLabelMapFilter.h.
typedef InputImageType::SizeType itk::CropLabelMapFilter< TInputImage >::SizeType |
Definition at line 86 of file itkCropLabelMapFilter.h.
typedef ChangeRegionLabelMapFilter< TInputImage > itk::CropLabelMapFilter< TInputImage >::Superclass |
Definition at line 60 of file itkCropLabelMapFilter.h.
typedef TInputImage itk::CropLabelMapFilter< TInputImage >::TOutputImage |
Definition at line 89 of file itkCropLabelMapFilter.h.
|
inlineprotected |
Definition at line 111 of file itkCropLabelMapFilter.h.
|
inlineoverrideprotected |
Definition at line 117 of file itkCropLabelMapFilter.h.
|
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 >.
|
overrideprotectedvirtual |
Generate the information describing 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 |
Set/Get the cropping sizes for the upper and lower boundaries.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
static |
Standard New method.
|
overrideprotectedvirtual |
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 >.
|
inline |
Definition at line 104 of file itkCropLabelMapFilter.h.
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
static |
ImageDimension constants
Definition at line 94 of file itkCropLabelMapFilter.h.
|
static |
ImageDimension constants
Definition at line 92 of file itkCropLabelMapFilter.h.
|
private |
Definition at line 127 of file itkCropLabelMapFilter.h.
|
private |
Definition at line 124 of file itkCropLabelMapFilter.h.
|
static |
ImageDimension constants
Definition at line 93 of file itkCropLabelMapFilter.h.