ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryReconstructionByDilationImageFilter.h>
binary reconstruction by dilation of an image
Reconstruction by dilation operates on a "marker" image and a "mask" image, and is defined as the dilation of the marker image with respect to the mask image iterated until stability.
Geodesic morphology is described in Chapter 6.2 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
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 itkBinaryReconstructionByDilationImageFilter.h.
typedef itk::LabelMapToBinaryImageFilter< LabelMapType, OutputImageType > itk::BinaryReconstructionByDilationImageFilter< TInputImage >::BinarizerType |
Definition at line 91 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef SmartPointer<const Self> itk::BinaryReconstructionByDilationImageFilter< TInputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 63 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef InputImageType::ConstPointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 69 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef InputImageType::PixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 71 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef InputImageType::Pointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 68 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef InputImageType::RegionType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 70 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef TInputImage itk::BinaryReconstructionByDilationImageFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 66 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef itk::BinaryImageToLabelMapFilter< InputImageType, LabelMapType > itk::BinaryReconstructionByDilationImageFilter< TInputImage >::LabelizerType |
Definition at line 88 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef itk::LabelMap< LabelObjectType > itk::BinaryReconstructionByDilationImageFilter< TInputImage >::LabelMapType |
Definition at line 87 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef AttributeLabelObject< SizeValueType, ImageDimension, bool> itk::BinaryReconstructionByDilationImageFilter< TInputImage >::LabelObjectType |
Definition at line 86 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef itk::AttributeOpeningLabelMapFilter< LabelMapType > itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OpeningType |
Definition at line 90 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImageConstPointer |
Definition at line 73 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef OutputImageType::PixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 75 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef OutputImageType::Pointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 72 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 74 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef TInputImage itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 67 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef SmartPointer<Self> itk::BinaryReconstructionByDilationImageFilter< TInputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 62 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef itk::BinaryReconstructionLabelMapFilter< LabelMapType, InputImageType > itk::BinaryReconstructionByDilationImageFilter< TInputImage >::ReconstructionType |
Definition at line 89 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef BinaryReconstructionByDilationImageFilter itk::BinaryReconstructionByDilationImageFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 60 of file itkBinaryReconstructionByDilationImageFilter.h.
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryReconstructionByDilationImageFilter< TInputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 61 of file itkBinaryReconstructionByDilationImageFilter.h.
itk::BinaryReconstructionByDilationImageFilter< TInputImage >::BinaryReconstructionByDilationImageFilter | ( | ) | [protected] |
itk::BinaryReconstructionByDilationImageFilter< TInputImage >::~BinaryReconstructionByDilationImageFilter | ( | ) | [inline, protected] |
Definition at line 168 of file itkBinaryReconstructionByDilationImageFilter.h.
itk::BinaryReconstructionByDilationImageFilter< TInputImage >::BinaryReconstructionByDilationImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryReconstructionByDilationImageFilter< 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::Object.
void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
BinaryReconstructionByDilationImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
virtual void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::FullyConnectedOff | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
virtual void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::FullyConnectedOn | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryReconstructionByDilationImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
virtual OutputImagePixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetBackgroundValue | ( | ) | const [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
virtual OutputImagePixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetForegroundValue | ( | ) | const [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual const bool& itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetFullyConnected | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
InputImageType* itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetMarkerImage | ( | ) | [inline] |
Get the marker image
Definition at line 147 of file itkBinaryReconstructionByDilationImageFilter.h.
References itk::ProcessObject::GetInput().
InputImageType* itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetMaskImage | ( | ) | [inline] |
Get the mask image
Definition at line 160 of file itkBinaryReconstructionByDilationImageFilter.h.
References itk::ProcessObject::GetInput().
virtual const char* itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
static Pointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::BinaryReconstructionByDilationImageFilter< 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::ImageToImageFilter< TInputImage, TInputImage >.
void itk::BinaryReconstructionByDilationImageFilter< 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::ImageToImageFilter< TInputImage, TInputImage >.
virtual void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::SetBackgroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
virtual void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::SetForegroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::SetFullyConnected | ( | bool | _arg | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::SetMarkerImage | ( | InputImageType * | input | ) | [inline] |
Set the marker image
Definition at line 140 of file itkBinaryReconstructionByDilationImageFilter.h.
void itk::BinaryReconstructionByDilationImageFilter< TInputImage >::SetMaskImage | ( | const InputImageType * | input | ) | [inline] |
Set the mask image
Definition at line 153 of file itkBinaryReconstructionByDilationImageFilter.h.
itk::BinaryReconstructionByDilationImageFilter< TInputImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
Begin concept checking This class requires InputEqualityComparableCheck in the form of (Concept::EqualityComparable<InputImagePixelType>)
itk::BinaryReconstructionByDilationImageFilter< TInputImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of (Concept::Convertible<int, InputImagePixelType>)
itk::BinaryReconstructionByDilationImageFilter< TInputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires InputOStreamWritableCheck in the form of (Concept::OStreamWritable<InputImagePixelType>)
const unsigned int itk::BinaryReconstructionByDilationImageFilter< TInputImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Definition at line 83 of file itkBinaryReconstructionByDilationImageFilter.h.
const unsigned int itk::BinaryReconstructionByDilationImageFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 79 of file itkBinaryReconstructionByDilationImageFilter.h.
OutputImagePixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::m_BackgroundValue [private] |
Definition at line 189 of file itkBinaryReconstructionByDilationImageFilter.h.
OutputImagePixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::m_ForegroundValue [private] |
Definition at line 190 of file itkBinaryReconstructionByDilationImageFilter.h.
bool itk::BinaryReconstructionByDilationImageFilter< TInputImage >::m_FullyConnected [private] |
Definition at line 188 of file itkBinaryReconstructionByDilationImageFilter.h.
const unsigned int itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 81 of file itkBinaryReconstructionByDilationImageFilter.h.