ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkMaskedMovingHistogramImageFilter.h>
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.
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 Types inherited from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef KernelType::ConstIterator | KernelIteratorType |
typedef TKernel | KernelType |
typedef std::list< OffsetType > | OffsetListType |
typedef std::map< OffsetType, OffsetListType, typename OffsetType::LexicographicCompare > | 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 MovingHistogramImageFilterBase | Self |
typedef TInputImage::SizeType | SizeType |
typedef KernelImageFilter < TInputImage, TOutputImage, TKernel > | Superclass |
Public Types inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FlatStructuringElement < itkGetStaticConstMacro(ImageDimension) > | FlatKernelType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TKernel | KernelType |
typedef TInputImage::OffsetType | OffsetType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::RegionType | RegionType |
typedef KernelImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef BoxImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::OffsetType | OffsetType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::SizeValueType | RadiusValueType |
typedef TInputImage::RegionType | RegionType |
typedef BoxImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
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::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::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 |
Private Member Functions | |
MaskedMovingHistogramImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
MaskPixelType | m_BackgroundMaskValue |
OutputPixelType | m_FillValue |
bool | m_GenerateOutputMask |
MaskPixelType | m_MaskValue |
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 ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > | |
OffsetMapType | m_AddedOffsets |
FixedArray< int, itkGetStaticConstMacro(ImageDimension) > | m_Axes |
OffsetListType | m_KernelOffsets |
SizeValueType | m_PixelsPerTranslation |
OffsetMapType | m_RemovedOffsets |
typedef SmartPointer< const Self > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::ConstPointer |
Definition at line 51 of file itkMaskedMovingHistogramImageFilter.h.
typedef ProcessObject::DataObjectPointerArraySizeType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::DataObjectPointerArraySizeType |
Definition at line 123 of file itkMaskedMovingHistogramImageFilter.h.
typedef THistogram itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::HistogramType |
Definition at line 72 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::IndexType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::IndexType |
Definition at line 65 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::InputImageType |
Image related typedefs.
Definition at line 57 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::InputPixelType |
Definition at line 70 of file itkMaskedMovingHistogramImageFilter.h.
typedef KernelType::ConstIterator itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::KernelIteratorType |
Kernel (structuring element) iterator.
Definition at line 107 of file itkMaskedMovingHistogramImageFilter.h.
typedef TKernel itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::KernelType |
Kernel typedef.
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 |
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 |
Definition at line 116 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::OffsetType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OffsetType |
Definition at line 67 of file itkMaskedMovingHistogramImageFilter.h.
typedef Superclass::OutputImageRegionType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OutputImageRegionType |
Definition at line 68 of file itkMaskedMovingHistogramImageFilter.h.
typedef TOutputImage itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OutputImageType |
Definition at line 61 of file itkMaskedMovingHistogramImageFilter.h.
typedef TOutputImage::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::OutputPixelType |
Definition at line 69 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::PixelType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::PixelType |
Definition at line 66 of file itkMaskedMovingHistogramImageFilter.h.
typedef SmartPointer< Self > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::Pointer |
Definition at line 50 of file itkMaskedMovingHistogramImageFilter.h.
typedef KernelType::SizeType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::RadiusType |
n-dimensional Kernel radius.
Definition at line 110 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::RegionType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::RegionType |
Definition at line 63 of file itkMaskedMovingHistogramImageFilter.h.
typedef MaskedMovingHistogramImageFilter itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::Self |
Standard class typedefs.
Definition at line 48 of file itkMaskedMovingHistogramImageFilter.h.
typedef TInputImage::SizeType itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SizeType |
Definition at line 64 of file itkMaskedMovingHistogramImageFilter.h.
typedef MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::Superclass |
Definition at line 49 of file itkMaskedMovingHistogramImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 146 of file itkMaskedMovingHistogramImageFilter.h.
|
private |
|
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 >.
|
inlinevirtual |
ConfigurewHistogram can be used to configure the histogram. The default version just do nothing.
Definition at line 142 of file itkMaskedMovingHistogramImageFilter.h.
|
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 >.
|
virtual |
|
virtual |
|
virtual |
|
inline |
Get the marker image
Definition at line 82 of file itkMaskedMovingHistogramImageFilter.h.
|
virtual |
|
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
|
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 |
Standard New method.
|
private |
|
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::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >.
|
protected |
|
virtual |
|
virtual |
void itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, THistogram >::SetGenerateOutputMask | ( | bool | ) |
|
inline |
Set the input image
Definition at line 88 of file itkMaskedMovingHistogramImageFilter.h.
|
inline |
Set the marker image
Definition at line 94 of file itkMaskedMovingHistogramImageFilter.h.
|
inline |
Set the marker image
Definition at line 75 of file itkMaskedMovingHistogramImageFilter.h.
|
virtual |
|
protectedvirtual |
Multi-thread version GenerateData.
Reimplemented from itk::ImageSource< TOutputImage >.
|
static |
Image related typedefs.
Definition at line 101 of file itkMaskedMovingHistogramImageFilter.h.
|
private |
Definition at line 174 of file itkMaskedMovingHistogramImageFilter.h.
|
private |
Definition at line 170 of file itkMaskedMovingHistogramImageFilter.h.
|
private |
Definition at line 168 of file itkMaskedMovingHistogramImageFilter.h.
|
private |
Definition at line 172 of file itkMaskedMovingHistogramImageFilter.h.