ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkMaskedRankImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::HistogramType | HistogramType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef KernelType::ConstIterator | KernelIteratorType |
typedef TKernel | KernelType |
typedef TInputImage::OffsetType | OffsetType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef KernelType::SizeType | RadiusType |
typedef TInputImage::RegionType | RegionType |
typedef MaskedRankImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef MaskedMovingHistogramImageFilter < TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram < typename TInputImage::PixelType > > | Superclass |
Public Types inherited from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > > | |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TMaskImage | MaskImageType |
typedef MaskImageType::PixelType | MaskPixelType |
typedef std::list< OffsetType > | OffsetListType |
typedef std::map< OffsetType, OffsetListType, typename Functor::OffsetLexicographicCompare < itkGetStaticConstMacro(ImageDimension) > > | OffsetMapType |
Public Types inherited from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > | |
Public Types inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
typedef FlatStructuringElement < itkGetStaticConstMacro(ImageDimension) > | FlatKernelType |
Public Types inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
typedef TInputImage::SizeValueType | RadiusValueType |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef OutputImageType::Pointer | OutputImagePointer |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > > | |
Static Public Attributes inherited from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > | |
Static Public Attributes inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
Static Public Attributes inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
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 > |
Private Member Functions | |
MaskedRankImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
float | m_Rank |
Rank filter of a greyscale image.
Nonlinear filter in which each output pixel is a user defined rank of input pixels in a user defined neighborhood. The default rank is 0.5 (median). The boundary conditions are different to the standard itkMedianImageFilter. In this filter the neighborhood is cropped at the boundary, and is therefore smaller.
This filter uses a recursive implementation - essentially the one by Huang 1979, I believe, to compute the rank, and is therefore usually a lot faster than the direct implementation. The extensions to Huang are support for arbitrary pixel types (using c++ maps) and arbitrary neighborhoods. I presume that these are not new ideas.
This filter is based on the sliding window code from the consolidatedMorphology package on InsightJournal.
The structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel.
This code was contributed in the Insight Journal paper: "Efficient implementation of kernel filtering" by Beare R., Lehmann G http://hdl.handle.net/1926/555 http://www.insight-journal.org/browse/publication/160
Definition at line 66 of file itkMaskedRankImageFilter.h.
typedef SmartPointer< const Self > itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::ConstPointer |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 77 of file itkMaskedRankImageFilter.h.
typedef Superclass::HistogramType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::HistogramType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 98 of file itkMaskedRankImageFilter.h.
typedef TInputImage::IndexType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::IndexType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 91 of file itkMaskedRankImageFilter.h.
typedef TInputImage itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::InputImageType |
Image related typedefs.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 84 of file itkMaskedRankImageFilter.h.
typedef TInputImage::PixelType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::InputPixelType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 96 of file itkMaskedRankImageFilter.h.
typedef KernelType::ConstIterator itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::KernelIteratorType |
Kernel (structuring element) iterator.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 108 of file itkMaskedRankImageFilter.h.
typedef TKernel itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::KernelType |
Kernel typedef.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 105 of file itkMaskedRankImageFilter.h.
typedef TInputImage::OffsetType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::OffsetType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 93 of file itkMaskedRankImageFilter.h.
typedef Superclass::OutputImageRegionType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 94 of file itkMaskedRankImageFilter.h.
typedef TOutputImage itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 88 of file itkMaskedRankImageFilter.h.
typedef TOutputImage::PixelType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::OutputPixelType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 95 of file itkMaskedRankImageFilter.h.
typedef TInputImage::PixelType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::PixelType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 92 of file itkMaskedRankImageFilter.h.
typedef SmartPointer< Self > itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::Pointer |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 76 of file itkMaskedRankImageFilter.h.
typedef KernelType::SizeType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::RadiusType |
n-dimensional Kernel radius.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 111 of file itkMaskedRankImageFilter.h.
typedef TInputImage::RegionType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::RegionType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 89 of file itkMaskedRankImageFilter.h.
typedef MaskedRankImageFilter itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::Self |
Standard class typedefs.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 72 of file itkMaskedRankImageFilter.h.
typedef TInputImage::SizeType itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::SizeType |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 90 of file itkMaskedRankImageFilter.h.
typedef MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< typename TInputImage::PixelType > > itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >::Superclass |
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 74 of file itkMaskedRankImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 123 of file itkMaskedRankImageFilter.h.
|
private |
|
protected |
|
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::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
|
virtual |
Runtime information support.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
|
virtual |
|
inline |
Definition at line 116 of file itkMaskedRankImageFilter.h.
|
static |
Standard New method.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
|
private |
kernel or structuring element to use.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
|
protectedvirtual |
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::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
|
virtual |
|
static |
Image related typedefs.
Reimplemented from itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, Function::RankHistogram< TInputImage::PixelType > >.
Definition at line 102 of file itkMaskedRankImageFilter.h.
|
private |
Definition at line 133 of file itkMaskedRankImageFilter.h.