Orfeo Toolbox  4.0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
itk::NeighborhoodIterator< TImage, TBoundaryCondition > Class Template Reference

Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image. More...

#include <itkNeighborhoodIterator.h>

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

Public Types

typedef NeighborhoodAllocator
< TImage::InternalPixelType * > 
AllocatorType
 
typedef TBoundaryCondition BoundaryConditionType
 
typedef Superclass::ConstIterator ConstIterator
 
typedef unsigned int DimensionValueType
 
typedef ImageBoundaryCondition
< ImageType > const * 
ImageBoundaryConditionConstPointerType
 
typedef
Superclass::ImageBoundaryConditionPointerType 
ImageBoundaryConditionPointerType
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef Superclass::Iterator Iterator
 
typedef
ImageType::NeighborhoodAccessorFunctorType 
NeighborhoodAccessorFunctorType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef
NeighborhoodType::NeighborIndexType 
NeighborIndexType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::RadiusType RadiusType
 
typedef Superclass::RegionType RegionType
 
typedef NeighborhoodIterator Self
 
typedef Superclass::SizeType SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef SliceIterator
< TImage::InternalPixelType
*, Self
SliceIteratorType
 
typedef
ConstNeighborhoodIterator
< TImage, TBoundaryCondition > 
Superclass
 

Public Member Functions

 NeighborhoodIterator ()
 
 NeighborhoodIterator (const NeighborhoodIterator &n)
 
 NeighborhoodIterator (const SizeType &radius, ImageType *ptr, const RegionType &region)
 
Iterator Begin ()
 
ConstIterator Begin () const
 
OffsetType ComputeInternalIndex (NeighborIndexType n) const
 
Iterator End ()
 
ConstIterator End () const
 
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
 
Selfoperator++ ()
 
Selfoperator+= (const OffsetType &)
 
OffsetType operator- (const Self &b)
 
Selfoperator-- ()
 
Selfoperator-= (const OffsetType &)
 
bool operator< (const Self &it) const
 
bool operator<= (const Self &it) const
 
Selfoperator= (const Self &orig)
 
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 PrintSelf (std::ostream &, Indent) const
 
virtual void ResetBoundaryCondition ()
 
void SetBoundaryCondition (const TBoundaryCondition &c)
 
virtual void SetCenterPixel (const PixelType &p)
 
void SetLocation (const IndexType &position)
 
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 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)
 
NeighborIndexType Size () const
 

Static Public Attributes

static const unsigned int Dimension = TImage::ImageDimension
 
static const unsigned int NeighborhoodDimension
 

Protected Member Functions

virtual void Allocate (NeighborIndexType i)
 
virtual void ComputeNeighborhoodOffsetTable ()
 
virtual void ComputeNeighborhoodStrideTable ()
 
virtual void SetBeginIndex (const IndexType &start)
 
virtual void SetBound (const SizeType &)
 
virtual void SetEndIndex ()
 
virtual void SetLoop (const IndexType &p)
 
virtual void SetPixelPointers (const IndexType &)
 
void SetSize ()
 

Protected 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
 

Detailed Description

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

Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.

This class is a loose extension of the Standard Template Library (STL) bi-directional iterator concept to masks of pixel neighborhoods within itk::Image objects. This NeighborhoodIterator base class defines simple forward and reverse iteration of an N-dimensional neighborhood mask across an image. Elements within the mask can be accessed like elements within an array.

NeighborhoodIterators are designed to encapsulate some of the complexity of working with image neighborhoods, complexity that would otherwise have to be managed at the algorithmic level. Use NeighborhoodIterators to simplify writing algorithms that perform geometrically localized operations on images (for example, convolution and morphological operations).

To motivate the discussion of NeighborhoodIterators and their use in Itk, consider the following code that takes directional derivatives at each point in an image.

operator->SetOrder(1);
operator->SetDirection(0);
operator->CreateDirectional();
iterator(operator->GetRadius(), myImage, myImage->GetRequestedRegion());
iterator.SetToBegin();
while ( ! iterator.IsAtEnd() )
{
std::cout << "Derivative at index " << iterator.GetIndex() << is <<
IP(iterator, operator) << std::endl;
++iterator;
}

Most of the work for the programmer in the code above is in setting up for the iteration. There are three steps. First an inner product function object is created which will be used to effect convolution with the derivative kernel. Setting up the derivative kernel, DerivativeOperator, involves setting the order and direction of the derivative. Finally, we create an iterator over the RequestedRegion of the itk::Image (see Image) using the radius of the derivative kernel as the size.

Itk iterators only loosely follow STL conventions. Notice that instead of asking myImage for myImage.begin() and myImage.end(), iterator.SetToBegin() and iterator.IsAtEnd() are called. Itk iterators are typically more complex objects than traditional, pointer-style STL iterators, and the increased overhead required to conform to the complete STL API is not always justified.

The API for creating and manipulating a NeighborhoodIterator mimics that of the itk::ImageIterators. Like the itk::ImageIterator, a ConstNeighborhoodIterator is defined on a region of interest in an itk::Image. Iteration is constrained within that region of interest.

A NeighborhoodIterator is constructed as a container of pointers (offsets) to a geometric neighborhood of image pixels. As the central pixel position in the mask is moved around the image, the neighboring pixel pointers (offsets) are moved accordingly.

A pixel neighborhood is defined as a central pixel location and an N-dimensional radius extending outward from that location.

Pixels in a neighborhood can be accessed through a NeighborhoodIterator like elements in an array. For example, a 2D neighborhood with radius 2x1 has indices:

0 1 2 3 4
5 6 7 8 9
10 11 12 13 14

Now suppose a NeighborhoodIterator with the above dimensions is constructed and positioned over a neighborhood of values in an Image:

1.2 1.3 1.8 1.4 1.1
1.8 1.1 0.7 1.0 1.0
2.1 1.9 1.7 1.4 2.0

Shown below is some sample pixel access code and the values that it returns.

SizeValueType c = (SizeValueType) (iterator.Size() / 2); // get offset of center pixel
SizeValueType s = iterator.GetStride(1); // y-dimension step size
std::cout << iterator.GetPixel(7) << std::endl;
std::cout << iterator.GetCenterPixel() << std::endl;
std::cout << iterator.GetPixel(c) << std::endl;
std::cout << iterator.GetPixel(c-1) << std::endl;
std::cout << iterator.GetPixel(c-s) << std::endl;
std::cout << iterator.GetPixel(c-s-1) << std::endl;
std::cout << *iterator[c] << std::endl;

Results:

0.7
0.7
0.7
1.1
1.8
1.3
0.7

Use of GetPixel() is preferred over the *iterator[] form, and can be used without loss of efficiency in most cases. Some variations (subclasses) of NeighborhoodIterators may exist which do not support the latter API. Corresponding SetPixel() methods exist to modify pixel values in non-const NeighborhoodIterators.

NeighborhoodIterators are "bidirectional iterators". They move only in two directions through the data set. These directions correspond to the layout of the image data in memory and not to spatial directions of the N-dimensional itk::Image. Iteration always proceeds along the fastest increasing dimension (as defined by the layout of the image data) . For itk::Image this is the first dimension specified (i.e. for 3-dimensional (x,y,z) NeighborhoodIterator proceeds along the x-dimension) (For random access iteration through N-dimensional indices, use RandomAccessNeighborhoodIterator.)

Each subclass of a ConstNeighborhoodIterator may also define its own mechanism for iteration through an image. In general, the Iterator does not directly keep track of its spatial location in the image, but uses a set of internal loop variables and offsets to trigger wraps at itk::Image region boundaries, and to identify the end of the itk::Image region.

Todo:

Better support for regions with negative indices.

Add Begin() and End() methods?

See Also
DerivativeOperator
NeighborhoodInnerProduct
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

{Iterators/NeighborhoodIterator,Iterate over a region of an image with a neighborhood (with write access)} {VectorImages/NeighborhoodIterator,NeighborhoodIterator on a VectorImage}

Definition at line 217 of file itkNeighborhoodIterator.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::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::BoundaryConditionType
inherited

Typedef for boundary condition type.

Definition at line 95 of file itkConstNeighborhoodIterator.h.

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

Definition at line 236 of file itkNeighborhoodIterator.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 64 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 Superclass::ImageBoundaryConditionPointerType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionPointerType

Definition at line 238 of file itkNeighborhoodIterator.h.

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

Definition at line 229 of file itkNeighborhoodIterator.h.

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

Definition at line 231 of file itkNeighborhoodIterator.h.

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

Extract typedefs from superclass.

Definition at line 226 of file itkNeighborhoodIterator.h.

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

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 Superclass::NeighborhoodType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodType

Definition at line 234 of file itkNeighborhoodIterator.h.

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

Type used to refer to the elements in the list of neighbor pixels.

Definition at line 86 of file itkConstNeighborhoodIterator.h.

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

Definition at line 232 of file itkNeighborhoodIterator.h.

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

Definition at line 227 of file itkNeighborhoodIterator.h.

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

Definition at line 233 of file itkNeighborhoodIterator.h.

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

Definition at line 230 of file itkNeighborhoodIterator.h.

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

Standard class typedefs.

Definition at line 222 of file itkNeighborhoodIterator.h.

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

Definition at line 228 of file itkNeighborhoodIterator.h.

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

Definition at line 78 of file itkNeighborhood.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 ConstNeighborhoodIterator< TImage, TBoundaryCondition > itk::NeighborhoodIterator< TImage, TBoundaryCondition >::Superclass

Definition at line 223 of file itkNeighborhoodIterator.h.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 241 of file itkNeighborhoodIterator.h.

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
itk::NeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodIterator ( const NeighborhoodIterator< TImage, TBoundaryCondition > &  n)
inline

Copy constructor

Definition at line 244 of file itkNeighborhoodIterator.h.

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

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

Definition at line 255 of file itkNeighborhoodIterator.h.

Member Function Documentation

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.

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

Definition at line 164 of file itkNeighborhood.h.

template<typename TImage , typename TBoundaryCondition >
ConstNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ComputeInternalIndex ( 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

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

STL-style iterator support.

Definition at line 158 of file itkNeighborhood.h.

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

Definition at line 162 of file itkNeighborhood.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 ( )
inline

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(), 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(), 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 374 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(), 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::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 >>
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 >
ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator++ ( )
inherited

Increments the pointers in the ConstNeighborhoodIterator, wraps across boundaries automatically, accounting for the disparity in the buffer size and the region size of the image.

Definition at line 496 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator++().

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

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 708 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::ConstShapedNeighborhoodIterator< 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 >
ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator-- ( )
inherited

Decrements the pointers in the ConstNeighborhoodIterator, wraps across boundaries automatically, accounting for the disparity in the buffer size and the region size of the image.

Definition at line 531 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator--().

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

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 747 of file itkConstNeighborhoodIterator.hxx.

Referenced by itk::ConstShapedNeighborhoodIterator< 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::NeighborhoodIterator< TImage, TBoundaryCondition >::operator= ( const Self orig)
inline
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::NeighborhoodIterator< 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)
inlinevirtual
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 255 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::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::RadiometricMomentsImageFunction< 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::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::ScatterMatrixImageFunction< 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)
virtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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 
)
virtual
template<typename TImage , typename TBoundaryCondition >
void itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SetPixel ( const unsigned  i,
const PixelType v 
)
virtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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 390 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().

Member Data Documentation

template<typename TImage, typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition< TImage >>
const unsigned int itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::Dimension = TImage::ImageDimension
staticinherited
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 >>
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 Mar 8 2014 17:31:54 for Orfeo Toolbox with doxygen 1.8.3.1