ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkReconstructionImageFilter.h>
Performs a grayscale geodesic reconstruction – for performance comparison with GrayscaleGeodesicDilateImageFilter.
This filter uses Luc Vincent's algorithm, which employs raster and antiraster propagation steps followed by a FIFO based propagation step. "Morphological grayscale reconstruction in image analysis - applications and efficient algorithms" – IEEE Transactions on Image processing, Vol 2, No 2, pp 176-201, April 1993
Definition at line 55 of file itkReconstructionImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef TInputImage | InputImageType |
typedef InputImageType::SizeType | ISizeType |
typedef MarkerImageType::ConstPointer | MarkerImageConstPointer |
typedef MarkerImageType::PixelType | MarkerImagePixelType |
typedef MarkerImageType::Pointer | MarkerImagePointer |
typedef MarkerImageType::RegionType | MarkerImageRegionType |
typedef TInputImage | MarkerImageType |
typedef MaskImageType::ConstPointer | MaskImageConstPointer |
typedef MaskImageType::PixelType | MaskImagePixelType |
typedef MaskImageType::Pointer | MaskImagePointer |
typedef MaskImageType::RegionType | MaskImageRegionType |
typedef TInputImage | MaskImageType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ReconstructionImageFilter | 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 | MarkerImageDimension = TInputImage::ImageDimension |
static const unsigned int | MaskImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::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 | |
TInputImage::PixelType | m_MarkerValue |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Types | |
typedef ConstShapedNeighborhoodIterator < InputImageType > | CNInputIterator |
typedef itk::NeighborhoodAlgorithm::ImageBoundaryFacesCalculator < OutputImageType > | FaceCalculatorType |
typedef FaceCalculatorType::FaceListType | FaceListType |
typedef FaceCalculatorType::FaceListType::iterator | FaceListTypeIt |
typedef InputImageType::IndexType | InIndexType |
typedef ImageRegionConstIterator < InputImageType > | InputIteratorType |
typedef ShapedNeighborhoodIterator < OutputImageType > | NOutputIterator |
typedef OutputImageType::IndexType | OutIndexType |
typedef ImageRegionIterator < OutputImageType > | OutputIteratorType |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
ReconstructionImageFilter (const Self &) ITK_DELETE_FUNCTION | |
Private Attributes | |
bool | m_FullyConnected |
bool | m_UseInternalCopy |
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) |
|
private |
Definition at line 180 of file itkReconstructionImageFilter.h.
typedef SmartPointer< const Self > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::ConstPointer |
Definition at line 64 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 170 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 172 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 173 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 179 of file itkReconstructionImageFilter.h.
typedef InputImageType::IndexType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::InputImageIndexType |
Definition at line 75 of file itkReconstructionImageFilter.h.
typedef InputImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::InputImagePixelType |
Definition at line 74 of file itkReconstructionImageFilter.h.
typedef TInputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::InputImageType |
Some convenient typedefs.
Definition at line 67 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 175 of file itkReconstructionImageFilter.h.
typedef InputImageType::SizeType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::ISizeType |
Definition at line 68 of file itkReconstructionImageFilter.h.
typedef MarkerImageType::ConstPointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageConstPointer |
Definition at line 71 of file itkReconstructionImageFilter.h.
typedef MarkerImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImagePixelType |
Definition at line 73 of file itkReconstructionImageFilter.h.
typedef MarkerImageType::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImagePointer |
Definition at line 70 of file itkReconstructionImageFilter.h.
typedef MarkerImageType::RegionType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageRegionType |
Definition at line 72 of file itkReconstructionImageFilter.h.
typedef TInputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageType |
Definition at line 69 of file itkReconstructionImageFilter.h.
typedef MaskImageType::ConstPointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageConstPointer |
Definition at line 78 of file itkReconstructionImageFilter.h.
typedef MaskImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImagePixelType |
Definition at line 80 of file itkReconstructionImageFilter.h.
typedef MaskImageType::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImagePointer |
Definition at line 77 of file itkReconstructionImageFilter.h.
typedef MaskImageType::RegionType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageRegionType |
Definition at line 79 of file itkReconstructionImageFilter.h.
typedef TInputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageType |
Definition at line 76 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 181 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 178 of file itkReconstructionImageFilter.h.
typedef OutputImageType::ConstPointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageConstPointer |
Definition at line 83 of file itkReconstructionImageFilter.h.
typedef OutputImageType::IndexType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageIndexType |
Definition at line 86 of file itkReconstructionImageFilter.h.
typedef OutputImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImagePixelType |
Definition at line 85 of file itkReconstructionImageFilter.h.
typedef OutputImageType::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImagePointer |
Definition at line 82 of file itkReconstructionImageFilter.h.
typedef OutputImageType::RegionType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageRegionType |
Definition at line 84 of file itkReconstructionImageFilter.h.
typedef TOutputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageType |
Definition at line 81 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 176 of file itkReconstructionImageFilter.h.
typedef SmartPointer< Self > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::Pointer |
Definition at line 63 of file itkReconstructionImageFilter.h.
typedef ReconstructionImageFilter itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::Self |
Standard class typedefs.
Definition at line 60 of file itkReconstructionImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::Superclass |
Definition at line 61 of file itkReconstructionImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 145 of file itkReconstructionImageFilter.h.
|
private |
|
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.
|
overrideprotectedvirtual |
ValuedRegionalExtremaImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
|
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 |
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.
|
overrideprotectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overrideprotectedvirtual |
ValuedRegionalExtremaImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
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.
const MarkerImageType* itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetMarkerImage | ( | ) |
const MaskImageType* itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetMaskImage | ( | ) |
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::ReconstructionByDilationImageFilter< TInputImage, TOutputImage >, and itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >.
|
virtual |
Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.
|
static |
Standard New method.
|
private |
|
overrideprotectedvirtual |
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, TOutputImage >.
|
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::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetMarkerImage | ( | const MarkerImageType * | ) |
Set/Get the marker image. Traditionally, the marker image must be pixelwise less than or equal to the mask image (for dilation), however this filter implicitly applies a mask to force the constraint to hold. The marker image the image that is dilated by this filter.
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetMaskImage | ( | const MaskImageType * | ) |
Set/Get the mask image. The mask image is used to "mask" the dilated marker image. The mask operation is a pixelwise minimum.
|
virtual |
Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.
|
virtual |
Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.
|
virtual |
Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.
|
private |
Definition at line 167 of file itkReconstructionImageFilter.h.
|
protected |
the value of the border - used in boundary condition.
Definition at line 161 of file itkReconstructionImageFilter.h.
|
private |
Definition at line 168 of file itkReconstructionImageFilter.h.
|
static |
ImageDimension constants ImageDimension constants
Definition at line 92 of file itkReconstructionImageFilter.h.
|
static |
ImageDimension constants ImageDimension constants
Definition at line 94 of file itkReconstructionImageFilter.h.
|
static |
ImageDimension constants ImageDimension constants
Definition at line 96 of file itkReconstructionImageFilter.h.