ITK
4.12.0
Insight Segmentation and Registration Toolkit
|
#include <itkParabolicOpenCloseImageFilter.h>
Parent class for morphological opening and closing operations with parabolic structuring elements.
This filter doesn't use the erode/dilate classes directly so that multiple image copies aren't necessary.
This filter is threaded. Threading mechanism derived from SignedMaurerDistanceMap extensions by Gaetan Lehman
Core methods described in the InsightJournal article: "Morphology with parabolic structuring elements"
http://hdl.handle.net/1926/1370
Definition at line 55 of file itkParabolicOpenCloseImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::ConstPointer | InputImageConstPointer |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TInputImage::SizeType | InputSizeType |
typedef NumericTraits < PixelType >::FloatType | InternalRealType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::IndexType | OutputIndexType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TOutputImage::SizeType | OutputSizeType |
enum | ParabolicAlgorithm { NOCHOICE = 0, CONTACTPOINT = 1, INTERSECTION = 2 } |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef itk::FixedArray < ScalarRealType, TInputImage::ImageDimension > | RadiusType |
typedef NumericTraits < PixelType >::RealType | RealType |
typedef NumericTraits < PixelType >::ScalarRealType | ScalarRealType |
typedef ParabolicOpenCloseImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
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< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
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 TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
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 const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
int | m_ParabolicAlgorithm |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Attributes | |
int | m_CurrentDimension |
TInputImage::PixelType | m_Extreme |
TInputImage::PixelType | m_Extreme1 |
TInputImage::PixelType | m_Extreme2 |
int | m_MagnitudeSign |
int | m_MagnitudeSign1 |
int | m_MagnitudeSign2 |
RadiusType | m_Scale |
int | m_Stage |
bool | m_UseImageSpacing |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
typedef SmartPointer< const Self > itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::ConstPointer |
Definition at line 64 of file itkParabolicOpenCloseImageFilter.h.
typedef TInputImage::ConstPointer itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::InputImageConstPointer |
Definition at line 85 of file itkParabolicOpenCloseImageFilter.h.
typedef TInputImage::Pointer itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::InputImagePointer |
Smart pointer typedef support.
Definition at line 84 of file itkParabolicOpenCloseImageFilter.h.
typedef TInputImage itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::InputImageType |
Pixel Type of the input image
Definition at line 70 of file itkParabolicOpenCloseImageFilter.h.
typedef TInputImage::SizeType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::InputSizeType |
Definition at line 80 of file itkParabolicOpenCloseImageFilter.h.
typedef NumericTraits< PixelType >::FloatType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::InternalRealType |
Define the image type for internal computations RealType is usually 'double' in NumericTraits. Here we prefer float in order to save memory.
Definition at line 105 of file itkParabolicOpenCloseImageFilter.h.
typedef OutputImageType::RegionType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::OutputImageRegionType |
Definition at line 79 of file itkParabolicOpenCloseImageFilter.h.
typedef TOutputImage itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::OutputImageType |
Definition at line 74 of file itkParabolicOpenCloseImageFilter.h.
typedef OutputImageType::IndexType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::OutputIndexType |
Definition at line 87 of file itkParabolicOpenCloseImageFilter.h.
typedef TOutputImage::PixelType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::OutputPixelType |
Definition at line 78 of file itkParabolicOpenCloseImageFilter.h.
typedef TOutputImage::SizeType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::OutputSizeType |
Definition at line 81 of file itkParabolicOpenCloseImageFilter.h.
typedef TInputImage::PixelType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::PixelType |
Definition at line 75 of file itkParabolicOpenCloseImageFilter.h.
typedef SmartPointer< Self > itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::Pointer |
Definition at line 63 of file itkParabolicOpenCloseImageFilter.h.
typedef itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::RadiusType |
a type to represent the "kernel radius"
Definition at line 99 of file itkParabolicOpenCloseImageFilter.h.
typedef NumericTraits< PixelType >::RealType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::RealType |
Definition at line 76 of file itkParabolicOpenCloseImageFilter.h.
typedef NumericTraits< PixelType >::ScalarRealType itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::ScalarRealType |
Definition at line 77 of file itkParabolicOpenCloseImageFilter.h.
typedef ParabolicOpenCloseImageFilter itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::Self |
Standard class typedefs.
Definition at line 61 of file itkParabolicOpenCloseImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::Superclass |
Definition at line 62 of file itkParabolicOpenCloseImageFilter.h.
enum itk::ParabolicOpenCloseImageFilter::ParabolicAlgorithm |
Enumerator | |
---|---|
NOCHOICE | |
CONTACTPOINT | |
INTERSECTION |
Definition at line 123 of file itkParabolicOpenCloseImageFilter.h.
|
protected |
Begin concept checking End concept checking
|
inlineprotectedvirtual |
Begin concept checking End concept checking
Definition at line 150 of file itkParabolicOpenCloseImageFilter.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::Object.
|
protectedvirtual |
Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
Generate Data
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierarchy. Up till now, the base assumption has been that the largest possible region will be requested of the input.
This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
|
virtual |
|
virtual |
Set/Get whether the scale refers to pixels or world units - default is false
|
static |
Method for creation through the object factory.
|
protectedvirtual |
Begin concept checking End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the method used. Choices are contact point or intersection. Intersection is the default. Contact point can be faster at small scales.
void itk::ParabolicOpenCloseImageFilter< TInputImage, doOpen, TOutputImage >::SetScale | ( | ScalarRealType | scale | ) |
|
virtual |
|
virtual |
Set/Get whether the scale refers to pixels or world units - default is false
|
protectedvirtual |
Split the output's RequestedRegion into "pieces" pieces, returning region "i" as "splitRegion". This method is called concurrently "pieces" times. The regions must not overlap. The method returns the number of pieces that the routine is capable of splitting the output RequestedRegion, i.e. return value is less than or equal to "pieces".
To override the algorithm used split the image this method should no longer be overridden. Instead, the algorithm should be implemented in a ImageRegionSplitterBase class, and the GetImageRegionSplitter should overridden to return the splitter object with the desired algorithm.
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call 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 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 ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Set/Get whether the scale refers to pixels or world units - default is false
|
virtual |
Set/Get whether the scale refers to pixels or world units - default is false
|
static |
Image related typedefs.
Definition at line 95 of file itkParabolicOpenCloseImageFilter.h.
|
static |
Image related typedefs.
Definition at line 93 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 180 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 173 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 174 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 175 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 177 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 178 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 179 of file itkParabolicOpenCloseImageFilter.h.
|
protected |
Definition at line 167 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 169 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 181 of file itkParabolicOpenCloseImageFilter.h.
|
private |
Definition at line 182 of file itkParabolicOpenCloseImageFilter.h.
|
static |
Image related typedefs.
Definition at line 91 of file itkParabolicOpenCloseImageFilter.h.