ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkNeighborhoodOperatorImageFilter.h>
Applies a single NeighborhoodOperator to an image region.
This filter calculates successive inner products between a single NeighborhoodOperator and a NeighborhoodIterator, which is swept across every pixel in an image region. For operators that are symmetric across their axes, the result is a fast convolution with the image region. Apply the mirror()'d operator for non-symmetric NeighborhoodOperators.
Definition at line 51 of file itkNeighborhoodOperatorImageFilter.h.
Static Public Member Functions | |
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 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 | |
NeighborhoodOperatorImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ImageBoundaryConditionPointerType | m_BoundsCondition |
DefaultBoundaryCondition | m_DefaultBoundaryCondition |
OutputNeighborhoodType | m_Operator |
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 NumericTraits<OutputPixelType>::RealType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ComputingPixelType |
Definition at line 76 of file itkNeighborhoodOperatorImageFilter.h.
typedef SmartPointer< const Self > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ConstPointer |
Definition at line 59 of file itkNeighborhoodOperatorImageFilter.h.
typedef ZeroFluxNeumannBoundaryCondition< InputImageType > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::DefaultBoundaryCondition |
Typedef for the default boundary condition
Definition at line 96 of file itkNeighborhoodOperatorImageFilter.h.
typedef ImageBoundaryCondition< InputImageType >* itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType |
Typedef for generic boundary condition pointer.
Definition at line 93 of file itkNeighborhoodOperatorImageFilter.h.
typedef InputImageType::Pointer itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImagePointer |
Definition at line 89 of file itkNeighborhoodOperatorImageFilter.h.
typedef TInputImage itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImageType |
Image typedef support.
Definition at line 87 of file itkNeighborhoodOperatorImageFilter.h.
typedef TInputImage::InternalPixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputInternalPixelType |
Definition at line 72 of file itkNeighborhoodOperatorImageFilter.h.
typedef TInputImage::PixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputPixelType |
Definition at line 71 of file itkNeighborhoodOperatorImageFilter.h.
typedef NumericTraits<InputPixelType>::ValueType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputPixelValueType |
Definition at line 75 of file itkNeighborhoodOperatorImageFilter.h.
typedef TOperatorValueType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OperatorValueType |
Definition at line 73 of file itkNeighborhoodOperatorImageFilter.h.
typedef Superclass::OutputImageRegionType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageRegionType |
Superclass typedefs.
Definition at line 99 of file itkNeighborhoodOperatorImageFilter.h.
typedef TOutputImage itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageType |
Definition at line 88 of file itkNeighborhoodOperatorImageFilter.h.
typedef TOutputImage::InternalPixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType |
Definition at line 70 of file itkNeighborhoodOperatorImageFilter.h.
typedef Neighborhood< OperatorValueType, itkGetStaticConstMacro(ImageDimension) > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType |
Neighborhood types
Definition at line 103 of file itkNeighborhoodOperatorImageFilter.h.
typedef TOutputImage::PixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 65 of file itkNeighborhoodOperatorImageFilter.h.
typedef SmartPointer< Self > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::Pointer |
Definition at line 58 of file itkNeighborhoodOperatorImageFilter.h.
typedef NeighborhoodOperatorImageFilter itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::Self |
Standard "Self" & Superclass typedef.
Definition at line 56 of file itkNeighborhoodOperatorImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::Superclass |
Definition at line 57 of file itkNeighborhoodOperatorImageFilter.h.
|
inlineprotected |
Definition at line 156 of file itkNeighborhoodOperatorImageFilter.h.
References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_BoundsCondition, and itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_DefaultBoundaryCondition.
|
inlineprotectedvirtual |
Definition at line 158 of file itkNeighborhoodOperatorImageFilter.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::Object.
Reimplemented in itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.
|
overridevirtual |
NeighborhoodOperatorImageFilter needs a larger input requested region than the output requested region. As such, NeighborhoodOperatorImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.
|
inline |
Get the boundary condition specified
Definition at line 128 of file itkNeighborhoodOperatorImageFilter.h.
References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_BoundsCondition.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.
|
inline |
Get the operator that is used to filter the image.
Definition at line 116 of file itkNeighborhoodOperatorImageFilter.h.
References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_Operator.
|
static |
Method for creation through the object factory.
|
private |
|
inline |
Allows a user to override the internal boundary condition. Care should be be taken to ensure that the overriding boundary condition is a persistent object during the time it is referenced. The overriding condition can be of a different type than the default type as long as it is a subclass of ImageBoundaryCondition.
Definition at line 124 of file itkNeighborhoodOperatorImageFilter.h.
References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_BoundsCondition.
|
inlineoverrideprotectedvirtual |
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 >.
Reimplemented in itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.
Definition at line 174 of file itkNeighborhoodOperatorImageFilter.h.
References itk::ImageToImageFilter< TInputImage, TOutputImage >::PrintSelf().
Referenced by itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::PrintSelf().
|
inline |
Sets the operator that is used to filter the image. Note that the operator is stored as an internal COPY (it is not part of the pipeline).
Definition at line 108 of file itkNeighborhoodOperatorImageFilter.h.
References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_Operator, and itk::Object::Modified().
Referenced by itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetTemplate().
|
overrideprotectedvirtual |
NeighborhoodOperatorImageFilter 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 >.
Reimplemented in itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::SameDimension< InputImageDimension, ImageDimension > | ) |
This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, ImageDimension > )
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::Convertible< OperatorValueType, OutputPixelType > | ) |
This class requires OperatorConvertibleToOutputCheck in the form of ( Concept::Convertible< OperatorValueType, OutputPixelType > )
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::Convertible< InputPixelValueType, OperatorValueType > | ) |
This class requires InputConvertibleToOperatorCheck in the form of ( Concept::Convertible< InputPixelValueType, OperatorValueType > )
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::MultiplyOperator< OperatorValueType > | ) |
This class requires OperatorMultiplyOperatorCheck in the form of ( Concept::MultiplyOperator< OperatorValueType > )
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::AdditiveOperators< OperatorValueType > | ) |
This class requires OperatorAdditiveOperatorsCheck in the form of ( Concept::AdditiveOperators< OperatorValueType > )
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 81 of file itkNeighborhoodOperatorImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 83 of file itkNeighborhoodOperatorImageFilter.h.
|
private |
Pointer to a persistent boundary condition object used for the image iterator.
Definition at line 186 of file itkNeighborhoodOperatorImageFilter.h.
Referenced by itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GetBoundaryCondition(), itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::NeighborhoodOperatorImageFilter(), and itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OverrideBoundaryCondition().
|
private |
Default boundary condition
Definition at line 189 of file itkNeighborhoodOperatorImageFilter.h.
Referenced by itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::NeighborhoodOperatorImageFilter().
|
private |
Internal operator used to filter the image.
Definition at line 182 of file itkNeighborhoodOperatorImageFilter.h.
Referenced by itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GetOperator(), and itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::SetOperator().