ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkMaskedMovingHistogramImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef THistogram | HistogramType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef KernelType::ConstIterator | KernelIteratorType |
typedef TKernel | KernelType |
typedef TMaskImage | MaskImageType |
typedef MaskImageType::PixelType | MaskPixelType |
typedef std::list< OffsetType > | OffsetListType |
typedef std::map< OffsetType, OffsetListType, typename Functor::OffsetLexicographicCompare < itkGetStaticConstMacro(ImageDimension) > > | OffsetMapType |
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 MaskedMovingHistogramImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef MovingHistogramImageFilterBase < TInputImage, TOutputImage, TKernel > | Superclass |
Public Member Functions | |
void | AllocateOutputs () |
virtual void | ConfigureHistogram (THistogram &) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual MaskPixelType | GetBackgroundMaskValue () const |
virtual OutputPixelType | GetFillValue () const |
virtual bool | GetGenerateOutputMask () const |
MaskImageType * | GetMaskImage () |
virtual MaskPixelType | GetMaskValue () const |
virtual const char * | GetNameOfClass () const |
MaskImageType * | GetOutputMask () |
DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) |
virtual void | SetBackgroundMaskValue (MaskPixelType _arg) |
virtual void | SetFillValue (OutputPixelType _arg) |
void | SetGenerateOutputMask (bool) |
void | SetInput1 (InputImageType *input) |
void | SetInput2 (MaskImageType *input) |
void | SetMaskImage (MaskImageType *input) |
virtual void | SetMaskValue (MaskPixelType _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Protected Member Functions | |
MaskedMovingHistogramImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | pushHistogram (HistogramType &histogram, const OffsetListType *addedList, const OffsetListType *removedList, const RegionType &inputRegion, const RegionType &kernRegion, const InputImageType *inputImage, const MaskImageType *maskImage, const IndexType currentIdx) |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
~MaskedMovingHistogramImageFilter () | |
Private Member Functions | |
MaskedMovingHistogramImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
MaskPixelType | m_BackgroundMaskValue |
OutputPixelType | m_FillValue |
bool | m_GenerateOutputMask |
MaskPixelType | m_MaskValue |
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 43 of file itkMaskedMovingHistogramImageFilter.h.
typedef SmartPointer< const Self > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::ConstPointer |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 51 of file itkMaskedMovingHistogramImageFilter.h.
typedef ProcessObject::DataObjectPointerArraySizeType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::DataObjectPointerArraySizeType |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 123 of file itkMaskedMovingHistogramImageFilter.h.
typedef THistogram itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::HistogramType |
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 72 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::IndexType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::IndexType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 65 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::InputImageType |
Image related typedefs.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 57 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::InputPixelType |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 70 of file itkMaskedMovingHistogramImageFilter.h.
typedef KernelType::ConstIterator itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::KernelIteratorType |
Kernel (structuring element) iterator.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 107 of file itkMaskedMovingHistogramImageFilter.h.
typedef TKernel itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::KernelType |
Kernel typedef.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 104 of file itkMaskedMovingHistogramImageFilter.h.
typedef TMaskImage itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::MaskImageType |
Definition at line 62 of file itkMaskedMovingHistogramImageFilter.h.
typedef MaskImageType::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::MaskPixelType |
Definition at line 71 of file itkMaskedMovingHistogramImageFilter.h.
typedef std::list< OffsetType > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OffsetListType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Definition at line 112 of file itkMaskedMovingHistogramImageFilter.h.
typedef std::map< OffsetType, OffsetListType, typename Functor::OffsetLexicographicCompare< itkGetStaticConstMacro(ImageDimension) > > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OffsetMapType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Definition at line 116 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::OffsetType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OffsetType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 67 of file itkMaskedMovingHistogramImageFilter.h.
typedef Superclass::OutputImageRegionType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 68 of file itkMaskedMovingHistogramImageFilter.h.
typedef TOutputImage itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 61 of file itkMaskedMovingHistogramImageFilter.h.
typedef TOutputImage::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OutputPixelType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 69 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::PixelType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 66 of file itkMaskedMovingHistogramImageFilter.h.
typedef SmartPointer< Self > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::Pointer |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 50 of file itkMaskedMovingHistogramImageFilter.h.
typedef KernelType::SizeType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::RadiusType |
n-dimensional Kernel radius.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 110 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::RegionType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::RegionType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 63 of file itkMaskedMovingHistogramImageFilter.h.
typedef MaskedMovingHistogramImageFilter itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::Self |
Standard class typedefs.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 48 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::SizeType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SizeType |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 64 of file itkMaskedMovingHistogramImageFilter.h.
typedef MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::Superclass |
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 49 of file itkMaskedMovingHistogramImageFilter.h.
itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::MaskedMovingHistogramImageFilter | ( | ) | [protected] |
itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::~MaskedMovingHistogramImageFilter | ( | ) | [inline, protected] |
Definition at line 146 of file itkMaskedMovingHistogramImageFilter.h.
itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::MaskedMovingHistogramImageFilter | ( | const Self & | ) | [private] |
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::AllocateOutputs | ( | ) | [virtual] |
The GenerateData method normally allocates the buffers for all of the outputs of a filter. Some filters may want to override this default behavior. For example, a filter may have multiple outputs with varying resolution. Or a filter may want to process data in place by grafting its input to its output.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::ConfigureHistogram | ( | THistogram & | ) | [inline, virtual] |
ConfigurewHistogram can be used to configure the histogram. The default version just do nothing.
Definition at line 142 of file itkMaskedMovingHistogramImageFilter.h.
virtual::itk::LightObject::Pointer itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::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::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
virtual MaskPixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetBackgroundMaskValue | ( | ) | const [virtual] |
virtual OutputPixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetFillValue | ( | ) | const [virtual] |
virtual bool itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetGenerateOutputMask | ( | ) | const [virtual] |
MaskImageType* itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetMaskImage | ( | ) | [inline] |
Get the marker image
Definition at line 82 of file itkMaskedMovingHistogramImageFilter.h.
virtual MaskPixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetMaskValue | ( | ) | const [virtual] |
virtual const char* itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
MaskImageType* itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::GetOutputMask | ( | ) |
Get the modified mask image
DataObject::Pointer itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::MakeOutput | ( | DataObjectPointerArraySizeType | idx | ) | [virtual] |
Make a DataObject of the correct type to used as the specified output. Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ImageSource< TOutputImage >.
static Pointer itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::operator= | ( | const Self & | ) | [private] |
kernel or structuring element to use.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::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::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::pushHistogram | ( | HistogramType & | histogram, |
const OffsetListType * | addedList, | ||
const OffsetListType * | removedList, | ||
const RegionType & | inputRegion, | ||
const RegionType & | kernRegion, | ||
const InputImageType * | inputImage, | ||
const MaskImageType * | maskImage, | ||
const IndexType | currentIdx | ||
) | [protected] |
virtual void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetBackgroundMaskValue | ( | MaskPixelType | _arg | ) | [virtual] |
virtual void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetFillValue | ( | OutputPixelType | _arg | ) | [virtual] |
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetGenerateOutputMask | ( | bool | ) |
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetInput1 | ( | InputImageType * | input | ) | [inline] |
Set the input image
Definition at line 88 of file itkMaskedMovingHistogramImageFilter.h.
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetInput2 | ( | MaskImageType * | input | ) | [inline] |
Set the marker image
Definition at line 94 of file itkMaskedMovingHistogramImageFilter.h.
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetMaskImage | ( | MaskImageType * | input | ) | [inline] |
Set the marker image
Definition at line 75 of file itkMaskedMovingHistogramImageFilter.h.
virtual void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetMaskValue | ( | MaskPixelType | _arg | ) | [virtual] |
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected, virtual] |
Multi-thread version GenerateData.
Reimplemented from itk::ImageSource< TOutputImage >.
const unsigned int itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::ImageDimension = TInputImage::ImageDimension [static] |
Image related typedefs.
Reimplemented from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
Reimplemented in itk::MaskedRankImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel >.
Definition at line 101 of file itkMaskedMovingHistogramImageFilter.h.
MaskPixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::m_BackgroundMaskValue [private] |
Definition at line 174 of file itkMaskedMovingHistogramImageFilter.h.
OutputPixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::m_FillValue [private] |
Definition at line 170 of file itkMaskedMovingHistogramImageFilter.h.
bool itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::m_GenerateOutputMask [private] |
Definition at line 168 of file itkMaskedMovingHistogramImageFilter.h.
MaskPixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::m_MaskValue [private] |
Definition at line 172 of file itkMaskedMovingHistogramImageFilter.h.