ITK
4.1.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.
typedef SmartPointer< const Self > itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ConstPointer |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 62 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef ImageBoundaryCondition< OutputImageType >* itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType |
Typedef for generic boundary condition pointer.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 98 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef InputImageType::Pointer itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImagePointer |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 93 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TInputImage itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImageType |
Image typedef support.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 90 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TInputImage::InternalPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputInternalPixelType |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 75 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TInputImage::PixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputPixelType |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
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 |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 102 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef Superclass::OutputImageRegionType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 101 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TOutputImage itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 92 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef TOutputImage::InternalPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 73 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef Superclass::OutputNeighborhoodType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType |
Neighborhood types
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
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.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 68 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef SmartPointer< Self > itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Pointer |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 61 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef MaskNeighborhoodOperatorImageFilter itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Self |
Standard "Self" & Superclass typedef.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 57 of file itkMaskNeighborhoodOperatorImageFilter.h.
typedef NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Superclass |
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 59 of file itkMaskNeighborhoodOperatorImageFilter.h.
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskNeighborhoodOperatorImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 155 of file itkMaskNeighborhoodOperatorImageFilter.h.
virtual itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::~MaskNeighborhoodOperatorImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 157 of file itkMaskNeighborhoodOperatorImageFilter.h.
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskNeighborhoodOperatorImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GenerateInputRequestedRegion | ( | ) | throw ( InvalidRequestedRegionError ) [protected, virtual] |
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 OutputPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetDefaultValue | ( | ) | const [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 const char* itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
virtual const bool& itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetUseDefaultValue | ( | ) | [virtual] |
Get the UseDefaultValue flag.
static Pointer itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
virtual void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetDefaultValue | ( | OutputPixelType | _arg | ) | [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 void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetUseDefaultValue | ( | bool | _arg | ) | [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.
void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected, virtual] |
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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::EqualityComparable< OutputPixelType > | ) |
Begin concept checking This class requires OutputEqualityComparableCheck in the form of ( Concept::EqualityComparable< OutputPixelType > )
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::SameDimension< InputImageDimension, ImageDimension > | ) |
This class requires SameDimensionCheck1 in the form of ( Concept::SameDimension< InputImageDimension, ImageDimension > )
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::SameDimension< InputImageDimension, MaskImageDimension > | ) |
This class requires SameDimensionCheck2 in the form of ( Concept::SameDimension< InputImageDimension, MaskImageDimension > )
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::Convertible< InputPixelType, OutputPixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputPixelType, OutputPixelType > )
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::Convertible< OperatorValueType, OutputPixelType > | ) |
This class requires OperatorConvertibleToOutputCheck in the form of ( Concept::Convertible< OperatorValueType, OutputPixelType > )
itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::OStreamWritable< OutputPixelType > | ) |
This class requires OutputOStreamWritable in the form of ( Concept::OStreamWritable< OutputPixelType > )
virtual void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::UseDefaultValueOff | ( | ) | [virtual] |
virtual void itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::UseDefaultValueOn | ( | ) | [virtual] |
Turn on and off the UseDefaultValue flag.
const unsigned int itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ImageDimension = TOutputImage::ImageDimension [static] |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 82 of file itkMaskNeighborhoodOperatorImageFilter.h.
const unsigned int itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImageDimension = TInputImage::ImageDimension [static] |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 84 of file itkMaskNeighborhoodOperatorImageFilter.h.
OutputPixelType itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::m_DefaultValue [private] |
Definition at line 187 of file itkMaskNeighborhoodOperatorImageFilter.h.
bool itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::m_UseDefaultValue [private] |
Definition at line 188 of file itkMaskNeighborhoodOperatorImageFilter.h.
const unsigned int itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImageDimension = TMaskImage::ImageDimension [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.