ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkMaskNeighborhoodOperatorImageFilter.h>
Applies a single NeighborhoodOperator to an image, processing only those pixels that are under a mask.
This filter calculates successive inner products between a single NeighborhoodOperator and a NeighborhoodIterator, which is swept across every pixel that is set in the input mask. If no mask is given, this filter is equivalent to its superclass. Output pixels that are outside of the mask will be set to DefaultValue if UseDefaultValue is true (default). Otherwise, they will be set to the value of the input pixel.
Definition at line 52 of file itkMaskNeighborhoodOperatorImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > | |
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 | ImageDimension = TOutputImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | MaskImageDimension = TMaskImage::ImageDimension |
Static Public Attributes inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
static const unsigned int | InputImageDimension = 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 Attributes | |
OutputPixelType | m_DefaultValue |
bool | m_UseDefaultValue |
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) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ConstPointer |
Definition at line 62 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef ImageBoundaryCondition< OutputImageType >* itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType |
Typedef for generic boundary condition pointer.
Definition at line 98 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef InputImageType::Pointer itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImagePointer |
Definition at line 93 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TInputImage itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImageType |
Image typedef support.
Definition at line 90 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TInputImage::InternalPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputInternalPixelType |
Definition at line 75 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TInputImage::PixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputPixelType |
Definition at line 74 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef MaskImageType::Pointer itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImagePointer |
Definition at line 94 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TMaskImage itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImageType |
Definition at line 91 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TMaskImage::InternalPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskInternalPixelType |
Definition at line 77 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TMaskImage::PixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskPixelType |
Definition at line 76 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef Superclass::OperatorValueType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OperatorValueType |
Definition at line 102 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef Superclass::OutputImageRegionType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageRegionType |
Superclass typedefs.
Definition at line 101 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TOutputImage itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageType |
Definition at line 92 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TOutputImage::InternalPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType |
Definition at line 73 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef Superclass::OutputNeighborhoodType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType |
Neighborhood types
Definition at line 105 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TOutputImage::PixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 68 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef SmartPointer< Self > itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Pointer |
Definition at line 61 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef MaskNeighborhoodOperatorImageFilter itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Self |
Standard "Self" & Superclass typedef.
Definition at line 57 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Superclass |
Definition at line 59 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
inlineprotected |
Definition at line 155 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
inlineoverrideprotectedvirtual |
Definition at line 157 of file itkMaskNeighborhoodOperatorImageFilter.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::Object.
|
overrideprotectedvirtual |
MaskNeighborhoodOperatorImageFilter needs to request enough of an input image to account for template size. The input requested region is expanded by the radius of the template. If the request extends past the LargestPossibleRegion for the input, the request is cropped by the LargestPossibleRegion.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
|
virtual |
Get the output value for the pixels that are not under the mask.
const TMaskImage* itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetMaskImage | ( | ) | const |
Get the mask image. Using a mask is optional. When a mask is specified, the normalized correlation is only calculated for those pixels under the mask.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
|
virtual |
Get the UseDefaultValue flag.
|
static |
Method for creation through the object factory.
|
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 the output value for the pixels that are not under the mask. Defaults to zero.
void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetMaskImage | ( | const TMaskImage * | mask | ) |
Set the mask image. Using a mask is optional. When a mask is specified, the normalized correlation is only calculated for those pixels under the mask.
|
virtual |
Set the UseDefaultValue flag. If true, the pixels outside the mask will e set to m_DefaultValue. Otherwise, they will be set to the input pixel.
|
overrideprotectedvirtual |
MaskNeighborhoodOperatorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
|
virtual |
Turn on and off the UseDefaultValue flag.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 82 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 84 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
private |
Definition at line 182 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
private |
Definition at line 185 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 86 of file itkMaskNeighborhoodOperatorImageFilter.h.