ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryReconstructionByErosionImageFilter.h>
binary reconstruction by erosion of an image
Reconstruction by erosion operates on a "marker" image and a "mask" image, and is defined as the erosion 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 itkBinaryReconstructionByErosionImageFilter.h.
typedef itk::LabelMapMaskImageFilter< LabelMapType, OutputImageType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::BinarizerType |
Definition at line 92 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef SmartPointer<const Self> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 63 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef InputImageType::ConstPointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 69 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef InputImageType::PixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 71 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef InputImageType::Pointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 68 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef InputImageType::RegionType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 70 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef TInputImage itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 66 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef itk::BinaryImageToLabelMapFilter< InputImageType, LabelMapType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::LabelizerType |
Definition at line 89 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef itk::LabelMap< LabelObjectType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::LabelMapType |
Definition at line 88 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef AttributeLabelObject< SizeValueType, ImageDimension, bool> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::LabelObjectType |
Definition at line 87 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef BinaryNotImageFilter< InputImageType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::NotType |
Definition at line 86 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef itk::AttributeOpeningLabelMapFilter< LabelMapType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OpeningType |
Definition at line 91 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageConstPointer |
Definition at line 73 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef OutputImageType::PixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 75 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef OutputImageType::Pointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 72 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 74 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef TInputImage itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 67 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef SmartPointer<Self> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 62 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef itk::BinaryReconstructionLabelMapFilter< LabelMapType, InputImageType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::ReconstructionType |
Definition at line 90 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef BinaryReconstructionByErosionImageFilter itk::BinaryReconstructionByErosionImageFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 60 of file itkBinaryReconstructionByErosionImageFilter.h.
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 61 of file itkBinaryReconstructionByErosionImageFilter.h.
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::BinaryReconstructionByErosionImageFilter | ( | ) | [protected] |
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::~BinaryReconstructionByErosionImageFilter | ( | ) | [inline, protected] |
Definition at line 168 of file itkBinaryReconstructionByErosionImageFilter.h.
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::BinaryReconstructionByErosionImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< TInputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
BinaryReconstructionByErosionImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
virtual void itk::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< TInputImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryReconstructionByErosionImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
virtual OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< TInputImage >::GetForegroundValue | ( | ) | const [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual const bool& itk::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< TInputImage >::GetMarkerImage | ( | ) | [inline] |
Get the marker image
Definition at line 147 of file itkBinaryReconstructionByErosionImageFilter.h.
References itk::ProcessObject::GetInput().
InputImageType* itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetMaskImage | ( | ) | [inline] |
Get the mask image
Definition at line 160 of file itkBinaryReconstructionByErosionImageFilter.h.
References itk::ProcessObject::GetInput().
virtual const char* itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
static Pointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< TInputImage >::SetForegroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual void itk::BinaryReconstructionByErosionImageFilter< 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::BinaryReconstructionByErosionImageFilter< TInputImage >::SetMarkerImage | ( | InputImageType * | input | ) | [inline] |
Set the marker image
Definition at line 140 of file itkBinaryReconstructionByErosionImageFilter.h.
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::SetMaskImage | ( | const InputImageType * | input | ) | [inline] |
Set the mask image
Definition at line 153 of file itkBinaryReconstructionByErosionImageFilter.h.
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
Begin concept checking This class requires InputEqualityComparableCheck in the form of (Concept::EqualityComparable<InputImagePixelType>)
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of (Concept::Convertible<int, InputImagePixelType>)
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires InputOStreamWritableCheck in the form of (Concept::OStreamWritable<InputImagePixelType>)
const unsigned int itk::BinaryReconstructionByErosionImageFilter< TInputImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Definition at line 83 of file itkBinaryReconstructionByErosionImageFilter.h.
const unsigned int itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 79 of file itkBinaryReconstructionByErosionImageFilter.h.
OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::m_BackgroundValue [private] |
Definition at line 189 of file itkBinaryReconstructionByErosionImageFilter.h.
OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::m_ForegroundValue [private] |
Definition at line 190 of file itkBinaryReconstructionByErosionImageFilter.h.
bool itk::BinaryReconstructionByErosionImageFilter< TInputImage >::m_FullyConnected [private] |
Definition at line 188 of file itkBinaryReconstructionByErosionImageFilter.h.
const unsigned int itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 81 of file itkBinaryReconstructionByErosionImageFilter.h.