#include <itkLabelSetErodeImageFilter.h>
Class for binary morphological erosion of label images.
This filter will separate touching labels. If you don't want this then use a conventional binary erosion to mask the label image. This filter is threaded.
Definition at line 42 of file itkLabelSetErodeImageFilter.h.
Inheritance diagram for itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >:Static Public Attributes | |
| static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
| static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::LabelSetMorphBaseImageFilter< TInputImage, false, TInputImage > | |
| static constexpr unsigned int | ImageDimension |
| 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 | InputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TInputImage > | |
| static constexpr unsigned int | OutputImageDimension |
Private Types | |
| using | DistanceImageType = typename Superclass::DistanceImageType |
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 51 of file itkLabelSetErodeImageFilter.h.
|
private |
Definition at line 92 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename TInputImage::ConstPointer |
Definition at line 69 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename TInputImage::Pointer |
Smart pointer type alias support.
Definition at line 68 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Pixel Type of the input image
Definition at line 60 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::InputSizeType = typename TInputImage::SizeType |
Definition at line 70 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Image dimension.
Definition at line 77 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 61 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 64 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::OutputSizeType = typename TOutputImage::SizeType |
Definition at line 71 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::PixelType = typename TInputImage::PixelType |
Definition at line 62 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 50 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::RadiusType = typename itk::FixedArray<ScalarRealType, TInputImage::ImageDimension> |
a type to represent the "kernel radius"
Definition at line 74 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::RealType = typename NumericTraits<PixelType>::FloatType |
Definition at line 63 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::ScalarRealType = typename NumericTraits<PixelType>::ScalarRealType |
Definition at line 65 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::Self = LabelSetErodeImageFilter |
Standard class type alias.
Definition at line 48 of file itkLabelSetErodeImageFilter.h.
| using itk::LabelSetErodeImageFilter< TInputImage, TOutputImage >::Superclass = LabelSetMorphBaseImageFilter<TInputImage, false, TOutputImage> |
Definition at line 49 of file itkLabelSetErodeImageFilter.h.
|
inlineprotected |
Definition at line 84 of file itkLabelSetErodeImageFilter.h.
References itk::ImageSource< TInputImage >::DynamicMultiThreadingOff().
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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::LightObject.
|
virtual |
Runtime information support.
Reimplemented from itk::LabelSetMorphBaseImageFilter< TInputImage, false, TInputImage >.
References LabelSetErodeImageFilter().
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData() or DynamicThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call (Dynamic)ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of (Dynamic)ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a (Dynamic)ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The (Dynamic)ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. (Dynamic)ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).
DynamicThreadedGenerateData() is the newer variant without threadId, and is the preferred signature, which is called by default. This variant can split the requested region into different number of pieces depending on current multi-processing load, which allows better load balancing. The non-dynamic (also known as classic) ThreadedGenerateData() signature has threadId, and number of pieces to be split into is known in advance. It is activated by calling this->DynamicMultiThreadingOff(); in derived class constructor. It should be used when the multi-threaded algorithm needs to pre-allocate some data structure with size dependent on the number of pieces (also known as chunks, work units, and sometimes also incorrectly as threads). Only PlatformMultiThreader guarantees that each piece will be processed in its own specific thread. Pool and TBB multi-threaders maintain a pool of threads (normally equal to number of processing cores) which they use to process the pieces. This normally results in a single thread being reused to process multiple work units.
Reimplemented from itk::ImageSource< TInputImage >.
|
staticconstexpr |
Image dimension.
Definition at line 79 of file itkLabelSetErodeImageFilter.h.
|
staticconstexpr |
Definition at line 81 of file itkLabelSetErodeImageFilter.h.
|
staticconstexpr |
Definition at line 80 of file itkLabelSetErodeImageFilter.h.