Orfeo Toolbox  4.2
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > Class Template Reference

Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pixels across an itk::Image. More...

#include <itkConstShapedNeighborhoodIterator.h>

+ Inheritance diagram for itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >:
+ Collaboration diagram for itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >:

Classes

struct  ConstIterator
 

Public Types

typedef TBoundaryCondition BoundaryConditionType
 
typedef ImageBoundaryCondition
< ImageType > * 
ImageBoundaryConditionPointerType
 
typedef TImage ImageType
 
typedef
IndexListType::const_iterator 
IndexListConstIterator
 
typedef IndexListType::iterator IndexListIterator
 
typedef std::list
< NeighborIndexType
IndexListType
 
typedef Index
< itkGetStaticConstMacro(Dimension) > 
IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef Neighborhood
< PixelType,
itkGetStaticConstMacro(Dimension) > 
NeighborhoodType
 
typedef
NeighborhoodType::NeighborIndexType 
NeighborIndexType
 
typedef Superclass::OffsetType OffsetType
 
typedef OffsetType::OffsetValueType OffsetValueType
 
typedef TImage::PixelType PixelType
 
typedef Superclass::RadiusType RadiusType
 
typedef TImage::RegionType RegionType
 
typedef
ConstShapedNeighborhoodIterator 
Self
 
typedef Superclass::SizeType SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef NeighborhoodIterator
< TImage, TBoundaryCondition > 
Superclass
 

Public Member Functions

 ConstShapedNeighborhoodIterator ()
 
 ConstShapedNeighborhoodIterator (const SizeType &radius, const ImageType *ptr, const RegionType &region)
 
virtual ~ConstShapedNeighborhoodIterator ()
 
virtual void ActivateOffset (const OffsetType &off)
 
const ConstIteratorBegin () const
 
virtual void ClearActiveList ()
 
void CreateActiveListFromNeighborhood (const NeighborhoodType &)
 
virtual void DeactivateOffset (const OffsetType &off)
 
const ConstIteratorEnd () const
 
const IndexListTypeGetActiveIndexList () const
 
IndexListType::size_type GetActiveIndexListSize () const
 
void InitializeConstShapedNeighborhoodIterator ()
 
Selfoperator++ ()
 
Selfoperator+= (const OffsetType &)
 
Selfoperator-- ()
 
Selfoperator-= (const OffsetType &)
 
Selfoperator= (const Self &orig)
 
virtual void PrintSelf (std::ostream &, Indent) const
 

Static Public Attributes

static const unsigned int Dimension = TImage::ImageDimension
 

Protected Member Functions

 ConstShapedNeighborhoodIterator (const ConstShapedNeighborhoodIterator &)
 
virtual void ActivateIndex (NeighborIndexType)
 
virtual void DeactivateIndex (NeighborIndexType)
 

Protected Attributes

IndexListType m_ActiveIndexList
 
bool m_CenterIsActive
 
ConstIterator m_ConstBeginIterator
 
ConstIterator m_ConstEndIterator
 

Private Types

typedef NeighborhoodAllocator
< TImage::InternalPixelType * > 
AllocatorType
 
typedef unsigned int DimensionValueType
 
typedef ImageBoundaryCondition
< ImageType > const * 
ImageBoundaryConditionConstPointerType
 
typedef Superclass::Iterator Iterator
 
typedef
ImageType::NeighborhoodAccessorFunctorType 
NeighborhoodAccessorFunctorType
 
typedef SliceIterator
< TImage::InternalPixelType
*, Self
SliceIteratorType
 

Private Member Functions

virtual void Allocate (NeighborIndexType i)
 
Iterator Begin ()
 
OffsetType ComputeInternalIndex (const NeighborIndexType n) const
 
virtual void ComputeNeighborhoodOffsetTable ()
 
virtual void ComputeNeighborhoodStrideTable ()
 
Iterator End ()
 
IndexType GetBeginIndex () const
 
IndexType GetBound () const
 
IndexValueType GetBound (NeighborIndexType n) const
 
ImageBoundaryConditionPointerType GetBoundaryCondition () const
 
RegionType GetBoundingBoxAsImageRegion () const
 
AllocatorTypeGetBufferReference ()
 
const AllocatorTypeGetBufferReference () const
 
NeighborIndexType GetCenterNeighborhoodIndex () const
 
PixelType GetCenterPixel () const
 
const InternalPixelTypeGetCenterPointer () const
 
InternalPixelTypeGetCenterPointer ()
 
TImage::InternalPixelType * GetCenterValue () const
 
TImage::InternalPixelType *& GetElement (NeighborIndexType i)
 
const ImageTypeGetImagePointer (void) const
 
virtual IndexType GetIndex (void) const
 
virtual IndexType GetIndex (const OffsetType &o) const
 
virtual IndexType GetIndex (NeighborIndexType i) const
 
bool GetNeedToUseBoundaryCondition () const
 
virtual NeighborhoodType GetNeighborhood () const
 
virtual NeighborIndexType GetNeighborhoodIndex (const OffsetType &) const
 
virtual PixelType GetNext (const unsigned axis, NeighborIndexType i) const
 
virtual PixelType GetNext (const unsigned axis) const
 
OffsetType GetOffset (NeighborIndexType i) const
 
virtual PixelType GetPixel (NeighborIndexType i) const
 
virtual PixelType GetPixel (NeighborIndexType i, bool &IsInBounds) const
 
virtual PixelType GetPixel (const OffsetType &o) const
 
virtual PixelType GetPixel (const OffsetType &o, bool &IsInBounds) const
 
virtual PixelType GetPrevious (const unsigned axis, NeighborIndexType i) const
 
virtual PixelType GetPrevious (const unsigned axis) const
 
const SizeType GetRadius () const
 
SizeValueType GetRadius (DimensionValueType n) const
 
RegionType GetRegion () const
 
SizeValueType GetSize (DimensionValueType n) const
 
SizeType GetSize () const
 
std::slice GetSlice (unsigned int) const
 
OffsetValueType GetStride (DimensionValueType axis) const
 
OffsetType GetWrapOffset () const
 
OffsetValueType GetWrapOffset (NeighborIndexType n) const
 
virtual void GoToBegin ()
 
virtual void GoToEnd ()
 
bool InBounds () const
 
bool IndexInBounds (NeighborIndexType n, OffsetType &internalIndex, OffsetType &offset) const
 
virtual void Initialize (const SizeType &radius, const ImageType *ptr, const RegionType &region)
 
virtual bool IsAtBegin () const
 
virtual bool IsAtEnd () const
 
void NeedToUseBoundaryConditionOff ()
 
void NeedToUseBoundaryConditionOn ()
 
bool operator!= (const Self &other) const
 
bool operator!= (const Self &it) const
 
OffsetType operator- (const Self &b)
 
bool operator< (const Self &it) const
 
bool operator<= (const Self &it) const
 
bool operator== (const Self &other) const
 
bool operator== (const Self &it) const
 
bool operator> (const Self &it) const
 
bool operator>= (const Self &it) const
 
TImage::InternalPixelType *& operator[] (NeighborIndexType i)
 
const TImage::InternalPixelType *& operator[] (NeighborIndexType i) const
 
TImage::InternalPixelType *& operator[] (const OffsetType &o)
 
const TImage::InternalPixelType *& operator[] (const OffsetType &o) const
 
virtual void OverrideBoundaryCondition (const ImageBoundaryConditionPointerType i)
 
void Print (std::ostream &os) const
 
virtual void ResetBoundaryCondition ()
 
virtual void SetBeginIndex (const IndexType &start)
 
virtual void SetBound (const SizeType &)
 
void SetBoundaryCondition (const TBoundaryCondition &c)
 
virtual void SetCenterPixel (const PixelType &p)
 
virtual void SetEndIndex ()
 
void SetLocation (const IndexType &position)
 
virtual void SetLoop (const IndexType &p)
 
void SetNeedToUseBoundaryCondition (bool b)
 
virtual void SetNeighborhood (const NeighborhoodType &)
 
virtual void SetNext (const unsigned axis, const unsigned i, const PixelType &v)
 
virtual void SetNext (const unsigned axis, const PixelType &v)
 
virtual void SetPixel (const unsigned i, const PixelType &v, bool &status)
 
virtual void SetPixel (const unsigned i, const PixelType &v)
 
virtual void SetPixel (const OffsetType o, const PixelType &v)
 
virtual void SetPixelPointers (const IndexType &)
 
virtual void SetPrevious (const unsigned axis, const unsigned i, const PixelType &v)
 
virtual void SetPrevious (const unsigned axis, const PixelType &v)
 
void SetRadius (const SizeType &)
 
void SetRadius (const SizeValueType *rad)
 
void SetRadius (const SizeValueType)
 
virtual void SetRegion (const RegionType &region)
 
void SetSize ()
 
NeighborIndexType Size () const
 

Private Attributes

const InternalPixelTypem_Begin
 
IndexType m_BeginIndex
 
IndexType m_Bound
 
ImageBoundaryConditionPointerType m_BoundaryCondition
 
ImageType::ConstWeakPointer m_ConstImage
 
const InternalPixelTypem_End
 
IndexType m_EndIndex
 
bool m_InBounds [Dimension]
 
IndexType m_InnerBoundsHigh
 
IndexType m_InnerBoundsLow
 
TBoundaryCondition m_InternalBoundaryCondition
 
bool m_IsInBounds
 
bool m_IsInBoundsValid
 
IndexType m_Loop
 
bool m_NeedToUseBoundaryCondition
 
NeighborhoodAccessorFunctorType m_NeighborhoodAccessorFunctor
 
RegionType m_Region
 
OffsetType m_WrapOffset
 

Static Private Attributes

static const unsigned int NeighborhoodDimension
 

Friends

struct ConstIterator
 

Detailed Description

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
class itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >

Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pixels across an itk::Image.

ConstShapedNeighborhoodIterator implements the read-only methods of ShapedNeighborhoodIterator. A "shaped" neighborhood iterator is one that allows you to specify which neighbor elements are active and which are inactive. See ShapedNeighborhoodIterator for more information.

See Also
Neighborhood
MORE INFORMATION
For a complete description of the ITK Image Iterators and their API, please see the Iterators chapter in the ITK Software Guide. The ITK Software Guide is available in print and as a free .pdf download from http://www.itk.org.
See Also
ImageConstIterator
ConditionalConstIterator
ConstNeighborhoodIterator
ConstShapedNeighborhoodIterator
ConstSliceIterator
CorrespondenceDataStructureIterator
FloodFilledFunctionConditionalConstIterator
FloodFilledImageFunctionConditionalConstIterator
FloodFilledImageFunctionConditionalIterator
FloodFilledSpatialFunctionConditionalConstIterator
FloodFilledSpatialFunctionConditionalIterator
ImageConstIterator
ImageConstIteratorWithIndex
ImageIterator
ImageIteratorWithIndex
ImageLinearConstIteratorWithIndex
ImageLinearIteratorWithIndex
ImageRandomConstIteratorWithIndex
ImageRandomIteratorWithIndex
ImageRegionConstIterator
ImageRegionConstIteratorWithIndex
ImageRegionExclusionConstIteratorWithIndex
ImageRegionExclusionIteratorWithIndex
ImageRegionIterator
ImageRegionIteratorWithIndex
ImageRegionReverseConstIterator
ImageRegionReverseIterator
ImageReverseConstIterator
ImageReverseIterator
ImageSliceConstIteratorWithIndex
ImageSliceIteratorWithIndex
NeighborhoodIterator
PathConstIterator
PathIterator
ShapedNeighborhoodIterator
SliceIterator
ImageConstIteratorWithIndex

Definition at line 72 of file itkConstShapedNeighborhoodIterator.h.

Member Typedef Documentation

typedef NeighborhoodAllocator< TImage::InternalPixelType * > itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::AllocatorType
inherited

External support for allocator type.

Definition at line 62 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef TBoundaryCondition itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::BoundaryConditionType

Typedef for boundary condition type.

Definition at line 113 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef unsigned int itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::DimensionValueType
inherited

Type used to refer to space dimensions

Definition at line 61 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef ImageBoundaryCondition< ImageType > const* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionConstPointerType
inherited

Definition at line 100 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef ImageBoundaryCondition< ImageType >* itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionPointerType

Typedef for generic boundary condition pointer

Definition at line 116 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef TImage itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ImageType

Typedef support for common objects

Definition at line 96 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef IndexListType::const_iterator itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexListConstIterator

Definition at line 110 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef IndexListType::iterator itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexListIterator

Definition at line 109 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef std::list< NeighborIndexType > itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexListType

An stl storage container type that can be sorted. The type used for the list of active offsets in the neighborhood.

Definition at line 107 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef Index< itkGetStaticConstMacro(Dimension) > itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexType

Definition at line 98 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef IndexType::IndexValueType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexValueType

Definition at line 99 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef TImage::InternalPixelType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::InternalPixelType

Extract image type information.

Definition at line 78 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef Superclass::Iterator itk::NeighborhoodIterator< TImage, TBoundaryCondition >::Iterator
inherited

Definition at line 235 of file itkNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef ImageType::NeighborhoodAccessorFunctorType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodAccessorFunctorType
inherited

Typedef for the functor used to access neighborhoods of pixel pointers. This is obtained as a trait from the image and is different for Image and VectorImage.

Definition at line 92 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef Neighborhood< PixelType, itkGetStaticConstMacro(Dimension) > itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodType

Definition at line 101 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef NeighborhoodType::NeighborIndexType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborIndexType

Definition at line 103 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef Superclass::OffsetType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType

Inherit typedefs from superclass

Definition at line 89 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef OffsetType::OffsetValueType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetValueType

Definition at line 90 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef TImage::PixelType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::PixelType

Definition at line 79 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef Superclass::RadiusType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::RadiusType

Definition at line 91 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef TImage::RegionType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::RegionType

Definition at line 97 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef ConstShapedNeighborhoodIterator itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::Self

Standard class typedefs.

Definition at line 85 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef Superclass::SizeType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::SizeType

Definition at line 92 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef SizeType::SizeValueType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::SizeValueType

Definition at line 93 of file itkConstShapedNeighborhoodIterator.h.

typedef SliceIterator< TImage::InternalPixelType * , Self > itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::SliceIteratorType
inherited

External slice iterator type typedef support.

Definition at line 87 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
typedef NeighborhoodIterator< TImage, TBoundaryCondition > itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::Superclass

Definition at line 86 of file itkConstShapedNeighborhoodIterator.h.

Constructor & Destructor Documentation

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ConstShapedNeighborhoodIterator ( )
inline

Default constructor

Definition at line 217 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::~ConstShapedNeighborhoodIterator ( )
inlinevirtual

Virtual destructor

Definition at line 232 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ConstShapedNeighborhoodIterator ( const SizeType radius,
const ImageType ptr,
const RegionType region 
)
inline

Constructor which establishes the region size, neighborhood, and image over which to walk.

Definition at line 236 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ConstShapedNeighborhoodIterator ( const ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > &  )
protected

Copy constructor

Member Function Documentation

template<typename TImage , typename TBoundaryCondition >
void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ActivateIndex ( NeighborIndexType  n)
protectedvirtual

Class is protected here so that it is not publicly accessible, but can be accessed by subclasses.. Add/Remove a neighborhood index to/from the active. Locations in the active list are the only accessible elements in the neighborhood. The argument is an index location calculated as an offset into a linear array which represents the image region defined by the radius of this iterator, with the smallest dimension as the fastest increasing index.

Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.

Definition at line 45 of file itkConstShapedNeighborhoodIterator.hxx.

Referenced by itk::ShapedNeighborhoodIterator< ImageType >::ActivateIndex(), and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >::ActivateOffset().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ActivateOffset ( const OffsetType off)
inlinevirtual

Add/Remove a neighborhood offset (from the center of the neighborhood) to/from the active list. Active list offsets are the only locations updated and accessible through the iterator.

Definition at line 304 of file itkConstShapedNeighborhoodIterator.h.

Referenced by otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::GenerateData(), and otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData().

virtual void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::Allocate ( NeighborIndexType  i)
inlineprotectedvirtualinherited

Allocates the neighborhood's memory buffer.

Definition at line 244 of file itkNeighborhood.h.

Iterator itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::Begin ( void  )
inlineinherited

Definition at line 160 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const ConstIterator& itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::Begin ( void  ) const
inline

Returns a const iterator for the neighborhood which points to the first pixel in the neighborhood.

Definition at line 208 of file itkConstShapedNeighborhoodIterator.h.

Referenced by otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), and otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ClearActiveList ( )
inlinevirtual
template<typename TImage , typename TBoundaryCondition >
ConstNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ComputeInternalIndex ( const NeighborIndexType  n) const
inherited

Computes the internal, N-d offset of a pixel array position n from (0,0, ..., 0) in the "upper-left" corner of the neighborhood.

Definition at line 149 of file itkConstNeighborhoodIterator.hxx.

virtual void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::ComputeNeighborhoodOffsetTable ( )
protectedvirtualinherited

Fills entries into the offset lookup table. Called once on initialization.

virtual void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::ComputeNeighborhoodStrideTable ( )
protectedvirtualinherited

Computes the entries for the stride table

template<typename TImage , typename TBoundaryCondition >
void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::CreateActiveListFromNeighborhood ( const NeighborhoodType neighborhood)

Add non-zero neighborhood offsets to the active list. The radius of the neighborhood must match the radius of the shaped iterator

Definition at line 132 of file itkConstShapedNeighborhoodIterator.hxx.

References itk::Neighborhood< TPixel, VDimension, TAllocator >::Begin(), itk::Neighborhood< TPixel, VDimension, TAllocator >::End(), and itk::Neighborhood< TPixel, VDimension, TAllocator >::GetRadius().

template<typename TImage , typename TBoundaryCondition >
void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::DeactivateIndex ( NeighborIndexType  n)
protectedvirtual
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::DeactivateOffset ( const OffsetType off)
inlinevirtual

Definition at line 306 of file itkConstShapedNeighborhoodIterator.h.

Iterator itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::End ( void  )
inlineinherited

STL-style iterator support.

Definition at line 158 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const ConstIterator& itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::End ( void  ) const
inline

Returns a const iterator for the neighborhood which points to the last pixel in the neighborhood.

Definition at line 213 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const IndexListType& itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::GetActiveIndexList ( ) const
inline

Returns the list of active indices in the neighborhood

Definition at line 319 of file itkConstShapedNeighborhoodIterator.h.

Referenced by itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexListType::size_type itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::GetActiveIndexListSize ( ) const
inline

Returns the size of the list of active neighborhood indices.

Definition at line 323 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetBeginIndex ( ) const
inlineinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetBound ( ) const
inlineinherited

Returns the array of upper loop bounds used during iteration.

Definition at line 136 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexValueType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetBound ( NeighborIndexType  n) const
inlineinherited

Returns the loop bound used to define the edge of a single dimension in the itk::Image region.

Definition at line 141 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
ImageBoundaryConditionPointerType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetBoundaryCondition ( ) const
inlineinherited

Definition at line 419 of file itkConstNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
ConstNeighborhoodIterator< TImage, TBoundaryCondition >::RegionType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetBoundingBoxAsImageRegion ( ) const
inherited

Returns a bounding box for the region spanned by this neighborhood represented by an itk::ImageRegion

Definition at line 167 of file itkConstNeighborhoodIterator.hxx.

AllocatorType& itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetBufferReference ( )
inlineinherited

Returns a reference to the data buffer structure.

Definition at line 208 of file itkNeighborhood.h.

const AllocatorType& itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetBufferReference ( ) const
inlineinherited

Definition at line 210 of file itkNeighborhood.h.

NeighborIndexType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetCenterNeighborhoodIndex ( ) const
inlineinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetCenterPixel ( ) const
inlineinherited

Returns the pixel referenced at the center of the ConstNeighborhoodIterator.

Definition at line 150 of file itkConstNeighborhoodIterator.h.

Referenced by otb::MRFSamplerMAP< TInput1, TInput2 >::Compute(), otb::MRFSamplerRandom< TInput1, TInput2 >::Compute(), otb::MRFSamplerRandomMAP< TInput1, TInput2 >::Compute(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::NormalVectorDiffusionFunction< TSparseImageType >::ComputeSparseUpdate(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), itk::MinMaxCurvatureFlowFunction< TImage >::ComputeThreshold(), itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ComputeUpdate(), itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::LevelSetFunction< TImageType >::ComputeUpdate(), otb::NeighborhoodMajorityVotingImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), otb::OverlapSaveConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition >::GenerateData(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::IsLocalExtremum(), itk::NormalVectorDiffusionFunction< TSparseImageType >::PrecomputeSparseUpdate(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::RefineLocationKeyPoint(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::RefineLocationKeyPoint(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), and itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const InternalPixelType* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetCenterPointer ( ) const
inlineinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
InternalPixelType* itk::NeighborhoodIterator< TImage, TBoundaryCondition >::GetCenterPointer ( )
inlineinherited

Returns the central memory pointer of the neighborhood.

Definition at line 263 of file itkNeighborhoodIterator.h.

Referenced by itk::watershed::Segmenter< TInputImage >::GradientDescent().

TImage::InternalPixelType * itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetCenterValue ( ) const
inlineinherited

Returns the element at the center of the neighborhood.

Definition at line 180 of file itkNeighborhood.h.

TImage::InternalPixelType * & itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetElement ( NeighborIndexType  i)
inlineinherited

Definition at line 176 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const ImageType* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetImagePointer ( void  ) const
inlineinherited

Returns a smartpointer to the image on which this iterator operates.

Definition at line 154 of file itkConstNeighborhoodIterator.h.

Referenced by itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::operator()().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetIndex ( void  ) const
inlinevirtualinherited

Returns the N-dimensional index of the iterator's position in the image.

Definition at line 159 of file itkConstNeighborhoodIterator.h.

Referenced by itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AdvectionField(), itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeGradientJointEntropy(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::ComputeInformationFromQueues(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointDescriptor(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointOrientations(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ComputeUpdate(), itk::MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), otb::NCCRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::DetectKeyPoint(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData(), itk::MaskFeaturePointSelectionFilter< TImage, TMask, TFeatures >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::operator<<(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::ProcessVirtualPoint_impl(), itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::PropagationSpeed(), itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PropagationSpeed(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeSigmaUpdate(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::ThreadedExecution_impl(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreadedGenerateData(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ThreadedGenerateData(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::UpdateQueues(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::UpdateQueuesAtBeginningOfLine(), and itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::UpdateQueuesToNextScanWindow().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetIndex ( const OffsetType o) const
inlinevirtualinherited

Returns the image index for neighbor pixel at offset o from the center of the neighborhood.

Definition at line 240 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetIndex().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetIndex ( NeighborIndexType  i) const
inlinevirtualinherited

Returns the image index for neighbor pixel at index i in the neighborhood.

Definition at line 245 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetIndex().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetNeedToUseBoundaryCondition ( ) const
inlineinherited

Definition at line 438 of file itkConstNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
ConstNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetNeighborhood ( ) const
virtualinherited
virtual NeighborIndexType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetNeighborhoodIndex ( const OffsetType ) const
virtualinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetNext ( const unsigned  axis,
NeighborIndexType  i 
) const
inlinevirtualinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetNext ( const unsigned  axis) const
inlinevirtualinherited

Returns the pixel value located one pixel distant from the neighborhood center in the specifed positive axis direction. No bounds checking is done on the size of the neighborhood.

Definition at line 214 of file itkConstNeighborhoodIterator.h.

OffsetType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetOffset ( NeighborIndexType  i) const
inlineinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPixel ( NeighborIndexType  i) const
inlinevirtualinherited

Returns the pixel value located at a linear array location i.

Definition at line 167 of file itkConstNeighborhoodIterator.h.

Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ComputeCannyEdge(), itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ComputeCurvature(), itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ComputeCurvatureFromSparseImageNeighborhood(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeGradientJointEntropy(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), itk::MinMaxCurvatureFlowFunction< TImage >::ComputeThreshold(), itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate(), itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate(), itk::GradientNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate(), itk::CurvatureNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate(), itk::CurvatureFlowFunction< TImage >::ComputeUpdate(), itk::LevelSetFunction< TImageType >::ComputeUpdate(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ComputeValue(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::MRFImageFilter< TInputImage, TClassifiedImage >::DoNeighborhoodOperation(), otb::NeighborhoodMajorityVotingImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::EvaluateAtContinuousIndex(), itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::EvaluateAtContinuousIndex(), otb::RealMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VectorMeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::ScatterMatrixImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::HistogramOfOrientedGradientCovariantImageFunction< TInputImage, TOutputPrecision, TCoordRep >::EvaluateAtIndex(), otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::MaskFeaturePointSelectionFilter< TImage, TMask, TFeatures >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ConstIterator::Get(), itk::ConstNeighborhoodIterator< TSparseImageType >::GetNext(), itk::ConstNeighborhoodIterator< TSparseImageType >::GetPixel(), itk::ConstNeighborhoodIterator< TSparseImageType >::GetPrevious(), otb::MRFEnergy< TInput1, TInput2 >::GetValue(), otb::MRFEnergy< TInput2, TInput2 >::GetValue(), itk::watershed::Segmenter< TInputImage >::GradientDescent(), itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >::InitializeNormalBandNode(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::IsLocalExtremum(), itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::IsObjectPixelOnBoundary(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), otb::Functor::SSDBlockMatching< TInputImage, TOutputMetricImage >::operator()(), itk::VectorNeighborhoodInnerProduct< TImage >::operator()(), itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::operator()(), otb::Functor::SSDDivMeanBlockMatching< TInputImage, TOutputMetricImage >::operator()(), otb::Functor::NCCBlockMatching< TInputImage, TOutputMetricImage >::operator()(), otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::operator()(), itk::NormalVectorDiffusionFunction< TSparseImageType >::PrecomputeSparseUpdate(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::RefineLocationKeyPoint(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::RefineLocationKeyPoint(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeSigmaUpdate(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ThreadedGenerateData(), itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().

template<typename TImage , typename TBoundaryCondition >
ConstNeighborhoodIterator< TImage, TBoundaryCondition >::PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPixel ( NeighborIndexType  i,
bool &  IsInBounds 
) const
virtualinherited

Return the pixel value located at a linear array location i. Sets "IsInBounds" to true if the location is inside the image and the pixel value returned is an actual pixel in the image. Sets "IsInBounds" to false if the location is outside the image and the pixel value returned is a boundary condition.

Definition at line 110 of file itkConstNeighborhoodIterator.hxx.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPixel ( const OffsetType o) const
inlinevirtualinherited

Returns the pixel value located at the itk::Offset o from the center of the neighborhood.

Definition at line 186 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPixel ( const OffsetType o,
bool &  IsInBounds 
) const
inlinevirtualinherited

Returns the pixel value located at the itk::Offset o from the center of the neighborhood. Sets "IsInBounds" to true if the offset is inside the image and the pixel value returned is an actual pixel in the image. Sets "IsInBounds" to false if the offset is outside the image and the pixel value returned is a boundary condition.

Definition at line 198 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetPixel().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPrevious ( const unsigned  axis,
NeighborIndexType  i 
) const
inlinevirtualinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPrevious ( const unsigned  axis) const
inlinevirtualinherited

Returns the pixel value located one pixel distant from the neighborhood center in the specifed negative axis direction. No bounds checking is done on the size of the neighborhood.

Definition at line 232 of file itkConstNeighborhoodIterator.h.

const SizeType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetRadius ( void  ) const
inlineinherited

Returns the radius of the neighborhood.

Definition at line 134 of file itkNeighborhood.h.

Referenced by itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::operator()(), and itk::operator<<().

SizeValueType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetRadius ( DimensionValueType  n) const
inlineinherited

Returns the radius of the neighborhood along a specified dimension.

Definition at line 139 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
RegionType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetRegion ( ) const
inlineinherited

Returns the region of iteration.

Definition at line 249 of file itkConstNeighborhoodIterator.h.

SizeValueType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetSize ( DimensionValueType  n) const
inlineinherited

Returns the size (total length) of the neighborhood along a specified dimension.

Definition at line 144 of file itkNeighborhood.h.

Referenced by itk::operator<<().

SizeType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetSize ( void  ) const
inlineinherited

Returns the size (total length of sides) of the neighborhood.

Definition at line 148 of file itkNeighborhood.h.

std::slice itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetSlice ( unsigned  int) const
inherited
OffsetValueType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::GetStride ( DimensionValueType  axis) const
inlineinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetWrapOffset ( ) const
inlineinherited

Returns the offsets used to wrap across dimensional boundaries.

Definition at line 262 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
OffsetValueType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetWrapOffset ( NeighborIndexType  n) const
inlineinherited

Returns the internal offset associated with wrapping around a single dimension's region boundary in the itk::Image. An offset for each dimension is necessary to shift pointers when wrapping around region edges because region memory is not necessarily contiguous within the buffer.

Definition at line 270 of file itkConstNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GoToBegin ( void  )
virtualinherited

Virtual method for rewinding the iterator to its beginning pixel. This is useful for writing functions which take neighborhood iterators of arbitrary type and must use virtual functions.

Definition at line 373 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::Begin(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), otb::ImageToCarvingPathFilter< TInputImage, TOutputPath >::GenerateData(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData(), itk::MaskFeaturePointSelectionFilter< TImage, TMask, TFeatures >::GenerateData(), otb::OverlapSaveConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition >::GenerateData(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >::MinimizeOnce(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::ProcessVirtualPoint_impl(), itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetImage(), itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >::SetNormalBand(), itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetRadius(), itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetRegion(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivative(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivativePos(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::ThreadedExecution_impl(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::RadiometricMomentsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodVectorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::MorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodWithOffsetImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ThreadedGenerateData(), itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), otb::SFSTexturesImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::DisplacementFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ThreadedGenerateData(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().

template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GoToEnd ( )
virtualinherited
template<typename TImage , typename TBoundaryCondition >
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::InBounds ( ) const
inherited

Returns false if the iterator overlaps region boundaries, true otherwise. Also updates an internal boolean array indicating which of the iterator's faces are out of bounds.

Definition at line 26 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeGradientJointEntropy(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::DetectKeyPoint(), and otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData().

template<typename TImage , typename TBoundaryCondition >
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::IndexInBounds ( NeighborIndexType  n,
OffsetType internalIndex,
OffsetType offset 
) const
inherited

Returns true if the neighborhood index is within region boundaries, false otherwise. If false, then internalIndex and offset are calculated. Otherwise their values are left unchanged. Also updates an internal boolean array indicating which of the iterator's faces are out of bounds.

Parameters
n- linear neighborhood index.
internalIndex- calculated for index n only when the neighborhood is not completely within region boundaries.
offset- per-dimension offsets for index n to nearest boundary index, calculate only when the neighborhood is not completely within region boundaries.

Definition at line 53 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::UpdateQueuesAtBeginningOfLine(), and itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::UpdateQueuesToNextScanWindow().

template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::Initialize ( const SizeType radius,
const ImageType ptr,
const RegionType region 
)
virtualinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::InitializeConstShapedNeighborhoodIterator ( )
inline
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::IsAtBegin ( void  ) const
inlinevirtualinherited

Virtual method for determining whether the iterator is at the beginning of its iteration region.

Definition at line 289 of file itkConstNeighborhoodIterator.h.

Referenced by itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::IsAtEnd ( void  ) const
inlinevirtualinherited

Virtual method for determining whether the iterator has reached the end of its iteration region.

Definition at line 294 of file itkConstNeighborhoodIterator.h.

Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::MRFImageFilter< TInputImage, TClassifiedImage >::ApplyICMLabeller(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::MaskFeaturePointSelectionFilter< TImage, TMask, TFeatures >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >::MinimizeOnce(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivative(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivativePos(), itk::ANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TNeighborhoodCorrelationMetric >::ThreadedExecution_impl(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::RadiometricMomentsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ThreadedGenerateData(), itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), otb::SFSTexturesImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::DisplacementFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ThreadedGenerateData(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::NeedToUseBoundaryConditionOff ( )
inlineinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::NeedToUseBoundaryConditionOn ( )
inlineinherited

Definition at line 423 of file itkConstNeighborhoodIterator.h.

bool itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::operator!= ( const Self other) const
inlineinherited

Not Equal operator.

Definition at line 126 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator!= ( const Self it) const
inlineinherited

Returns a boolean != comparison of the memory addresses of the center elements of two ConstNeighborhoodIterators of like pixel type and dimensionality. The radii of the iterators are ignored.

Definition at line 331 of file itkConstNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator++ ( )

Reimplements the operator++ method so that only active pixel locations are updated.

Definition at line 159 of file itkConstShapedNeighborhoodIterator.hxx.

References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator++().

template<typename TImage , typename TBoundaryCondition >
ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator+= ( const OffsetType idx)

Addition of an itk::Offset. Note that this method does not do any bounds checking. Adding an offset that moves the iterator out of its assigned region will produce undefined results.

Definition at line 283 of file itkConstShapedNeighborhoodIterator.hxx.

References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator+=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator- ( const Self b)
inlineinherited

Distance between two iterators

Definition at line 379 of file itkConstNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator-- ( )

Reimplements the operator– method so that only active pixel locations are updated.

Definition at line 219 of file itkConstShapedNeighborhoodIterator.hxx.

References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator--().

template<typename TImage , typename TBoundaryCondition >
ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator-= ( const OffsetType idx)

Subtraction of an itk::Offset. Note that this method does not do any bounds checking. Subtracting an offset that moves the iterator out of its assigned region will produce undefined results.

Definition at line 340 of file itkConstShapedNeighborhoodIterator.hxx.

References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator-=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator< ( const Self it) const
inlineinherited

Returns a boolean < comparison of the memory addresses of the center elements of two ConstNeighborhoodIterators of like pixel type and dimensionality. The radii of the iterators are ignored.

Definition at line 337 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator<= ( const Self it) const
inlineinherited

Returns a boolean < comparison of the memory addresses of the center elements of two ConstNeighborhoodIterators of like pixel type and dimensionality. The radii of the iterators are ignored.

Definition at line 343 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
Self& itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator= ( const Self orig)
inline

Assignment operator

Definition at line 283 of file itkConstShapedNeighborhoodIterator.h.

Referenced by itk::ShapedNeighborhoodIterator< ImageType >::operator=().

bool itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::operator== ( const Self other) const
inlineinherited

Comparison operator.

Definition at line 118 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator== ( const Self it) const
inlineinherited

Returns a boolean == comparison of the memory addresses of the center elements of two ConstNeighborhoodIterators of like pixel type and dimensionality. The radii of the iterators are ignored.

Definition at line 325 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator> ( const Self it) const
inlineinherited

Returns a boolean > comparison of the memory addresses of the center elements of two ConstNeighborhoodIterators of like pixel type and dimensionality. The radii of the iterators are ignored.

Definition at line 349 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator>= ( const Self it) const
inlineinherited

Returns a boolean >= comparison of the memory addresses of the center elements of two ConstNeighborhoodIterators of like pixel type and dimensionality. The radii of the iterators are ignored.

Definition at line 355 of file itkConstNeighborhoodIterator.h.

TImage::InternalPixelType * & itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::operator[] ( NeighborIndexType  i)
inlineinherited

Pass-through data access methods to the buffer.

Definition at line 172 of file itkNeighborhood.h.

const TImage::InternalPixelType * & itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::operator[] ( NeighborIndexType  i) const
inlineinherited

Definition at line 174 of file itkNeighborhood.h.

TImage::InternalPixelType * & itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::operator[] ( const OffsetType o)
inlineinherited

Get pixel value by offset

Definition at line 214 of file itkNeighborhood.h.

const TImage::InternalPixelType * & itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::operator[] ( const OffsetType o) const
inlineinherited

Definition at line 216 of file itkNeighborhood.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::OverrideBoundaryCondition ( const ImageBoundaryConditionPointerType  i)
inlinevirtualinherited

Allows a user to override the internal boundary condition. Care should 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 405 of file itkConstNeighborhoodIterator.h.

Referenced by itk::BinaryMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::AnalyzeKernel(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), itk::ConnectedComponentFunctorImageFilter< TInputImage, TOutputImage, TFunctor, TMaskImage >::GenerateData(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivative(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivativePos(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::RadiometricMomentsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodVectorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::MorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodWithOffsetImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), otb::SFSTexturesImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::DisplacementFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ThreadedGenerateData(), and otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement().

void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::Print ( std::ostream &  os) const
inlineinherited

Standard itk object method.

Definition at line 204 of file itkNeighborhood.h.

template<typename TImage , typename TBoundaryCondition >
void itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
virtual
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ResetBoundaryCondition ( )
inlinevirtualinherited

Resets the boundary condition to the internal, default conditions specified by the template parameter.

Definition at line 411 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::ConstNeighborhoodIterator().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetBeginIndex ( const IndexType start)
inlineprotectedvirtualinherited

Default method for setting the index of the first pixel in the iteration region.

Definition at line 466 of file itkConstNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetBound ( const SizeType size)
protectedvirtualinherited

Virtual method for setting internal loop boundaries. This method must be defined in each subclass because each subclass may handle loop boundaries differently.

Definition at line 633 of file itkConstNeighborhoodIterator.hxx.

References itk::Index< VIndexDimension >::GetIndex().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetBoundaryCondition ( const TBoundaryCondition &  c)
inlineinherited

Sets the internal, default boundary condition.

Definition at line 415 of file itkConstNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetCenterPixel ( const PixelType p)
inlinevirtualinherited
template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetEndIndex ( )
protectedvirtualinherited

Default method for setting the index of the first pixel in the iteration region.

Definition at line 254 of file itkConstNeighborhoodIterator.hxx.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetLocation ( const IndexType position)
inlineinherited

This method positions the iterator at an indexed location in the image. SetLocation should NOT be used to update the position of the iterator during iteration, only for initializing it to a position prior to iteration. This method is not optimized for speed.

Definition at line 362 of file itkConstNeighborhoodIterator.h.

Referenced by itk::FastMarchingImageFilterBase< TInput, TOutput >::CheckTopology(), otb::LineSegmentDetector< TInputImage, TPrecision >::ComputeRegionOrientation(), otb::NCCRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructLayer(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructLayer(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), itk::FastMarchingImageFilterBase< TInput, TOutput >::DoesVoxelChangeViolateStrictTopology(), otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::EvaluateAtContinuousIndex(), itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::EvaluateAtContinuousIndex(), otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::EvaluateAtIndex(), otb::RealMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::RadiometricMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VectorMeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::ScatterMatrixImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodOperatorImageFunction< TInputImage, TOutput >::EvaluateAtIndex(), otb::HistogramOfOrientedGradientCovariantImageFunction< TInputImage, TOutputPrecision, TCoordRep >::EvaluateAtIndex(), otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::VectorizationPathListFilter< TInputModulus, TInputDirection, TOutputPath >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), itk::watershed::Segmenter< TInputImage >::GradientDescent(), itk::FastMarchingImageFilterBase< TInput, TOutput >::IsChangeWellComposed2D(), itk::FastMarchingImageFilterBase< TInput, TOutput >::IsChangeWellComposed3D(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PropagateLayerValues(), otb::LineSegmentDetector< TInputImage, TPrecision >::Region2Rectangle(), otb::LineSegmentDetector< TInputImage, TPrecision >::SetPixelToNotIni(), otb::LineSegmentDetector< TInputImage, TPrecision >::SetPixelToUsed(), and otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetLoop ( const IndexType p)
inlineprotectedvirtualinherited

Default method for setting the coordinate location of the iterator. Loop indices correspond to the actual Image region index.

Definition at line 450 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::SetLocation().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetNeedToUseBoundaryCondition ( bool  b)
inlineinherited
template<typename TImage , typename TBoundaryCondition >
void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetNeighborhood ( const NeighborhoodType N)
virtualinherited

Virtual function that replaces the pixel values in the image neighborhood that are pointed to by this NeighborhoodIterator with the pixel values contained in a Neighborhood.

Definition at line 162 of file itkNeighborhoodIterator.hxx.

References itk::Neighborhood< TPixel, VDimension, TAllocator >::Begin().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetNext ( const unsigned  axis,
const unsigned  i,
const PixelType v 
)
inlinevirtualinherited

Sets the pixel value located i pixels distant from the neighborhood center in the positive specified ``axis'' direction. No bounds checking is done on the size of the neighborhood.

Definition at line 293 of file itkNeighborhoodIterator.h.

Referenced by itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ComputeValue().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetNext ( const unsigned  axis,
const PixelType v 
)
inlinevirtualinherited

Sets the pixel value located one pixel distant from the neighborhood center in the specifed positive axis direction. No bounds checking is done on the size of the neighborhood.

Definition at line 303 of file itkNeighborhoodIterator.h.

template<typename TImage , typename TBoundaryCondition >
void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetPixel ( const unsigned  i,
const PixelType v,
bool &  status 
)
virtualinherited
template<typename TImage , typename TBoundaryCondition >
void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetPixel ( const unsigned  i,
const PixelType v 
)
virtualinherited

Set the pixel at the ith location.

Definition at line 29 of file itkNeighborhoodIterator.hxx.

References itk::Math::e, itk::ExceptionObject::SetDescription(), and itk::ExceptionObject::SetLocation().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetPixel ( const OffsetType  o,
const PixelType v 
)
inlinevirtualinherited

Set the pixel at offset o from the neighborhood center

Definition at line 286 of file itkNeighborhoodIterator.h.

Referenced by itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >::SetPixel().

template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetPixelPointers ( const IndexType pos)
protectedvirtualinherited

Default method for setting the values of the internal pointers to itk::Image memory buffer locations. This method should generally only be called when the iterator is initialized.

See Also
SetLocation

Definition at line 660 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::SetLocation().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetPrevious ( const unsigned  axis,
const unsigned  i,
const PixelType v 
)
inlinevirtualinherited

Sets the pixel value located i pixels distant from the neighborhood center in the negative specified ``axis'' direction. No bounds checking is done on the size of the neighborhood.

Definition at line 312 of file itkNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
virtual void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetPrevious ( const unsigned  axis,
const PixelType v 
)
inlinevirtualinherited

Sets the pixel value located one pixel distant from the neighborhood center in the specifed negative axis direction. No bounds checking is done on the size of the neighborhood.

Definition at line 322 of file itkNeighborhoodIterator.h.

void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::SetRadius ( const SizeType &  )
inherited

Sets the radius for the neighborhood, calculates size from the radius, and allocates storage.

void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::SetRadius ( const SizeValueType rad)
inlineinherited

Sets the radius for the neighborhood. Overloaded to support an unsigned long array.

Definition at line 189 of file itkNeighborhood.h.

void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::SetRadius ( const SizeValueType  )
inherited

Overloads SetRadius to allow a single long integer argument that is used as the radius of all the dimensions of the Neighborhood (resulting in a "square" neighborhood).

template<typename TImage , typename TBoundaryCondition >
void itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SetRegion ( const RegionType region)
virtualinherited

Set the region to iterate over.

Definition at line 389 of file itkConstNeighborhoodIterator.hxx.

References itk::Index< VIndexDimension >::GetIndex().

void itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::SetSize ( )
inlineprotectedinherited
NeighborIndexType itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::Size ( void  ) const
inlineinherited

More STL-style support.

Definition at line 168 of file itkNeighborhood.h.

Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), otb::RealMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VectorMeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::ScatterMatrixImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::watershed::Segmenter< TInputImage >::GenerateConnectivity(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::MaskFeaturePointSelectionFilter< TImage, TMask, TFeatures >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::ConstNeighborhoodIterator< TSparseImageType >::GetCenterPointer(), itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >::GetCenterPointer(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >::SetCenterPixel(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ThreadedGenerateData(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().

Friends And Related Function Documentation

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
friend struct ConstIterator
friend

Member Data Documentation

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const unsigned int itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::Dimension = TImage::ImageDimension
static

Save the image dimension.

Definition at line 82 of file itkConstShapedNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexListType itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::m_ActiveIndexList
protected
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const InternalPixelType* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Begin
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_BeginIndex
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Bound
protectedinherited

An array of upper looping boundaries used during iteration.

Definition at line 478 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetBound(), and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
ImageBoundaryConditionPointerType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_BoundaryCondition
protectedinherited

Pointer to the actual boundary condition that will be used. By default this points to m_BoundaryCondition, but OverrideBoundaryCondition allows a user to point this variable an external boundary condition.

Definition at line 510 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetBoundaryCondition(), itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=(), itk::ConstNeighborhoodIterator< TSparseImageType >::OverrideBoundaryCondition(), and itk::ConstNeighborhoodIterator< TSparseImageType >::ResetBoundaryCondition().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::m_CenterIsActive
protected
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
ConstIterator itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::m_ConstBeginIterator
protected
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
ConstIterator itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::m_ConstEndIterator
protected
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
ImageType::ConstWeakPointer itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_ConstImage
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const InternalPixelType* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_End
protectedinherited

A pointer to one past the last pixel in the iteration region.

Definition at line 487 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::IsAtEnd(), and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_EndIndex
protectedinherited

The end index for iteration within the itk::Image region on which this ConstNeighborhoodIterator is defined.

Definition at line 491 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InBounds[Dimension]
mutableprotectedinherited

Denotes which of the iterators dimensional sides spill outside region of interest boundaries.

Definition at line 514 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::ConstNeighborhoodIterator(), and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InnerBoundsHigh
protectedinherited

Upper threshold of in-bounds loop counter values.

Definition at line 528 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InnerBoundsLow
protectedinherited

Lower threshold of in-bounds loop counter values.

Definition at line 525 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
TBoundaryCondition itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InternalBoundaryCondition
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_IsInBounds
mutableprotectedinherited

Denotes if iterator is entirely within bounds

Definition at line 517 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_IsInBoundsValid
mutableprotectedinherited

Is the m_InBounds and m_IsInBounds variables up to date? Set to false whenever the iterator is repositioned. Set to true within InBounds().

Definition at line 522 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=(), and itk::ConstNeighborhoodIterator< TSparseImageType >::SetLoop().

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
IndexType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Loop
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_NeedToUseBoundaryCondition
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
NeighborhoodAccessorFunctorType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_NeighborhoodAccessorFunctor
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
RegionType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Region
protectedinherited
template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_WrapOffset
protectedinherited

The internal array of offsets that provide support for regions of interest. An offset for each dimension is necessary to shift pointers when wrapping around region edges because region memory is not necessarily contiguous within the buffer.

Definition at line 504 of file itkConstNeighborhoodIterator.h.

Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetWrapOffset(), and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().

const unsigned int itk::Neighborhood< TImage::InternalPixelType * , VDimension, NeighborhoodAllocator< TImage::InternalPixelType * > >::NeighborhoodDimension
staticinherited

External support for dimensionality.

Definition at line 65 of file itkNeighborhood.h.


The documentation for this class was generated from the following files:

Generated at Sat Aug 30 2014 16:59:17 for Orfeo Toolbox with doxygen 1.8.3.1