ITK  5.1.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members

#include <itkCropLabelMapFilter.h>

+ Inheritance diagram for itk::CropLabelMapFilter< TInputImage >:
+ Collaboration diagram for itk::CropLabelMapFilter< TInputImage >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using IndexType = typename InputImageType::IndexType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using LabelObjectType = typename InputImageType::LabelObjectType
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using PixelType = typename InputImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RegionType = typename InputImageType::RegionType
 
using Self = CropLabelMapFilter
 
using SizeType = typename InputImageType::SizeType
 
using Superclass = ChangeRegionLabelMapFilter< TInputImage >
 
using TOutputImage = TInputImage
 
- Public Types inherited from itk::ChangeRegionLabelMapFilter< TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using IndexType = typename InputImageType::IndexType
 
using IndexValueType = typename InputImageType::IndexValueType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using LabelObjectType = typename InputImageType::LabelObjectType
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using PixelType = typename InputImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RegionType = typename InputImageType::RegionType
 
using Self = ChangeRegionLabelMapFilter
 
using SizeType = typename InputImageType::SizeType
 
using Superclass = InPlaceLabelMapFilter< TInputImage >
 
using TOutputImage = TInputImage
 
- Public Types inherited from itk::InPlaceLabelMapFilter< TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using IndexType = typename InputImageType::IndexType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using LabelObjectType = typename InputImageType::LabelObjectType
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using PixelType = typename InputImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RegionType = typename InputImageType::RegionType
 
using Self = InPlaceLabelMapFilter
 
using Superclass = LabelMapFilter< TInputImage, TInputImage >
 
using TOutputImage = TInputImage
 
- Public Types inherited from itk::LabelMapFilter< TInputImage, TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename Superclass::InputImageConstPointer
 
using InputImagePixelType = typename Superclass::InputImagePixelType
 
using InputImagePointer = typename Superclass::InputImagePointer
 
using InputImageRegionType = typename Superclass::InputImageRegionType
 
using InputImageType = typename Superclass::InputImageType
 
using LabelObjectType = typename InputImageType::LabelObjectType
 
using OutputImageConstPointer = typename OutputImageType::ConstPointer
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = LabelMapFilter
 
using Superclass = ImageToImageFilter< TInputImage, TInputImage >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TInputImage >
 
- Public Types inherited from itk::ImageSource< TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ChangeRegionLabelMapFilter< TInputImage >
virtual void SetRegion (OutputImageRegionType _arg)
 
virtual const OutputImageRegionTypeGetRegion () const
 
- Public Member Functions inherited from itk::InPlaceLabelMapFilter< TInputImage >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void SetInPlace (bool _arg)
 
virtual bool GetInPlace ()
 
virtual void InPlaceOn ()
 
virtual void InPlaceOff ()
 
bool CanRunInPlace () const
 
- Public Member Functions inherited from itk::LabelMapFilter< TInputImage, TInputImage >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateInputRequestedRegion () override
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TInputImage >
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual const float & GetProgress () const
 
void UpdateProgress (float progress)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputInformation ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ChangeRegionLabelMapFilter< TInputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::InPlaceLabelMapFilter< TInputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LabelMapFilter< TInputImage, TInputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
static void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension
 
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ChangeRegionLabelMapFilter< TInputImage >
static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension
 
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceLabelMapFilter< TInputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::LabelMapFilter< TInputImage, TInputImage >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TInputImage >
static constexpr unsigned int OutputImageDimension
 
SizeType m_UpperBoundaryCropSize
 
SizeType m_LowerBoundaryCropSize
 
virtual void SetUpperBoundaryCropSize (SizeType _arg)
 
virtual SizeType GetUpperBoundaryCropSize ()
 
virtual void SetLowerBoundaryCropSize (SizeType _arg)
 
virtual SizeType GetLowerBoundaryCropSize ()
 
void SetCropSize (const SizeType &size)
 
 CropLabelMapFilter ()
 
 ~CropLabelMapFilter () override=default
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Protected Member Functions inherited from itk::ChangeRegionLabelMapFilter< TInputImage >
 ChangeRegionLabelMapFilter ()=default
 
 ~ChangeRegionLabelMapFilter () override=default
 
void ThreadedProcessLabelObject (LabelObjectType *labelObject) override
 
void GenerateInputRequestedRegion () override
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateData () override
 
- Protected Member Functions inherited from itk::InPlaceLabelMapFilter< TInputImage >
 InPlaceLabelMapFilter ()=default
 
 ~InPlaceLabelMapFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void AllocateOutputs () override
 
InputImageTypeGetLabelMap () override
 
- Protected Member Functions inherited from itk::LabelMapFilter< TInputImage, TInputImage >
void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override
 
 LabelMapFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType) override
 
 ~LabelMapFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () ITKv5_CONST override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
- Protected Member Functions inherited from itk::ImageSource< TInputImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void GenerateData () override
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *input)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Static Protected Member Functions inherited from itk::ImageSource< TInputImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::LabelMapFilter< TInputImage, TInputImage >
std::mutex m_LabelObjectContainerLock
 
- Protected Attributes inherited from itk::ImageSource< TInputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage>
class itk::CropLabelMapFilter< TInputImage >

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

Author
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
See also
PadLabelMapFilter

Definition at line 55 of file itkCropLabelMapFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::ConstPointer = SmartPointer<const Self>

Definition at line 64 of file itkCropLabelMapFilter.h.

◆ IndexType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::IndexType = typename InputImageType::IndexType

Definition at line 87 of file itkCropLabelMapFilter.h.

◆ InputImageConstPointer

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 81 of file itkCropLabelMapFilter.h.

◆ InputImagePixelType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::InputImagePixelType = typename InputImageType::PixelType

Definition at line 83 of file itkCropLabelMapFilter.h.

◆ InputImagePointer

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::InputImagePointer = typename InputImageType::Pointer

Definition at line 80 of file itkCropLabelMapFilter.h.

◆ InputImageRegionType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::InputImageRegionType = typename InputImageType::RegionType

Definition at line 82 of file itkCropLabelMapFilter.h.

◆ InputImageType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::InputImageType = TInputImage

Some convenient type alias.

Definition at line 79 of file itkCropLabelMapFilter.h.

◆ LabelObjectType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::LabelObjectType = typename InputImageType::LabelObjectType

Definition at line 84 of file itkCropLabelMapFilter.h.

◆ OutputImagePixelType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::OutputImagePixelType = typename Superclass::OutputImagePixelType

Definition at line 76 of file itkCropLabelMapFilter.h.

◆ OutputImagePointer

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::OutputImagePointer = typename Superclass::OutputImagePointer

Definition at line 74 of file itkCropLabelMapFilter.h.

◆ OutputImageRegionType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::OutputImageRegionType = typename Superclass::OutputImageRegionType

Definition at line 75 of file itkCropLabelMapFilter.h.

◆ OutputImageType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::OutputImageType = typename Superclass::OutputImageType

Superclass type alias.

Definition at line 73 of file itkCropLabelMapFilter.h.

◆ PixelType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::PixelType = typename InputImageType::PixelType

Definition at line 86 of file itkCropLabelMapFilter.h.

◆ Pointer

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::Pointer = SmartPointer<Self>

Definition at line 63 of file itkCropLabelMapFilter.h.

◆ RegionType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::RegionType = typename InputImageType::RegionType

Definition at line 89 of file itkCropLabelMapFilter.h.

◆ Self

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::Self = CropLabelMapFilter

Standard class type aliases.

Definition at line 61 of file itkCropLabelMapFilter.h.

◆ SizeType

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::SizeType = typename InputImageType::SizeType

Definition at line 88 of file itkCropLabelMapFilter.h.

◆ Superclass

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::Superclass = ChangeRegionLabelMapFilter<TInputImage>

Definition at line 62 of file itkCropLabelMapFilter.h.

◆ TOutputImage

template<typename TInputImage >
using itk::CropLabelMapFilter< TInputImage >::TOutputImage = TInputImage

Definition at line 91 of file itkCropLabelMapFilter.h.

Constructor & Destructor Documentation

◆ CropLabelMapFilter()

template<typename TInputImage >
itk::CropLabelMapFilter< TInputImage >::CropLabelMapFilter ( )
inlineprotected

Set/Get the cropping sizes for the upper and lower boundaries.

Definition at line 113 of file itkCropLabelMapFilter.h.

◆ ~CropLabelMapFilter()

template<typename TInputImage >
itk::CropLabelMapFilter< TInputImage >::~CropLabelMapFilter ( )
overrideprotecteddefault

Set/Get the cropping sizes for the upper and lower boundaries.

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage >
virtual::itk::LightObject::Pointer itk::CropLabelMapFilter< TInputImage >::CreateAnother ( ) 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 >.

◆ GenerateOutputInformation()

template<typename TInputImage >
void itk::CropLabelMapFilter< TInputImage >::GenerateOutputInformation ( )
overrideprotectedvirtual

Set/Get the cropping sizes for the upper and lower boundaries.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

◆ GetLowerBoundaryCropSize()

template<typename TInputImage >
virtual SizeType itk::CropLabelMapFilter< TInputImage >::GetLowerBoundaryCropSize ( )
virtual

Set/Get the cropping sizes for the upper and lower boundaries.

◆ GetNameOfClass()

template<typename TInputImage >
virtual const char* itk::CropLabelMapFilter< TInputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

◆ GetUpperBoundaryCropSize()

template<typename TInputImage >
virtual SizeType itk::CropLabelMapFilter< TInputImage >::GetUpperBoundaryCropSize ( )
virtual

Set/Get the cropping sizes for the upper and lower boundaries.

◆ New()

template<typename TInputImage >
static Pointer itk::CropLabelMapFilter< TInputImage >::New ( )
static

Standard New method.

◆ PrintSelf()

template<typename TInputImage >
void itk::CropLabelMapFilter< TInputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Set/Get the cropping sizes for the upper and lower boundaries.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

◆ SetCropSize()

template<typename TInputImage >
void itk::CropLabelMapFilter< TInputImage >::SetCropSize ( const SizeType size)
inline

Set/Get the cropping sizes for the upper and lower boundaries.

Definition at line 106 of file itkCropLabelMapFilter.h.

◆ SetLowerBoundaryCropSize()

template<typename TInputImage >
virtual void itk::CropLabelMapFilter< TInputImage >::SetLowerBoundaryCropSize ( SizeType  _arg)
virtual

Set/Get the cropping sizes for the upper and lower boundaries.

◆ SetUpperBoundaryCropSize()

template<typename TInputImage >
virtual void itk::CropLabelMapFilter< TInputImage >::SetUpperBoundaryCropSize ( SizeType  _arg)
virtual

Set/Get the cropping sizes for the upper and lower boundaries.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage >
constexpr unsigned int itk::CropLabelMapFilter< TInputImage >::ImageDimension = TOutputImage::ImageDimension
staticconstexpr

Definition at line 96 of file itkCropLabelMapFilter.h.

◆ InputImageDimension

template<typename TInputImage >
constexpr unsigned int itk::CropLabelMapFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension
staticconstexpr

ImageDimension constants

Definition at line 94 of file itkCropLabelMapFilter.h.

◆ m_LowerBoundaryCropSize

template<typename TInputImage >
SizeType itk::CropLabelMapFilter< TInputImage >::m_LowerBoundaryCropSize
private

Set/Get the cropping sizes for the upper and lower boundaries.

Definition at line 129 of file itkCropLabelMapFilter.h.

◆ m_UpperBoundaryCropSize

template<typename TInputImage >
SizeType itk::CropLabelMapFilter< TInputImage >::m_UpperBoundaryCropSize
private

Set/Get the cropping sizes for the upper and lower boundaries.

Definition at line 128 of file itkCropLabelMapFilter.h.

◆ OutputImageDimension

template<typename TInputImage >
constexpr unsigned int itk::CropLabelMapFilter< TInputImage >::OutputImageDimension = TOutputImage::ImageDimension
staticconstexpr

Definition at line 95 of file itkCropLabelMapFilter.h.


The documentation for this class was generated from the following file: