ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkMaskNeighborhoodOperatorImageFilter.h>
Static Public Member Functions | |
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 Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
MaskNeighborhoodOperatorImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
OutputPixelType | m_DefaultValue |
bool | m_UseDefaultValue |
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.
|
inlineprotected |
End concept checking
Definition at line 155 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
inlineprotectedvirtual |
End concept checking
Definition at line 157 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
private |
|
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 >.
|
protectedvirtual |
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.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
|
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 >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
|
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.
|
protectedvirtual |
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 |
|
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.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
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.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 84 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
private |
Definition at line 187 of file itkMaskNeighborhoodOperatorImageFilter.h.
|
private |
Definition at line 188 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.