![]() |
Orfeo Toolbox
3.16
|
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 Member Functions | |
| NeighborhoodIterator () | |
| NeighborhoodIterator (const NeighborhoodIterator &n) | |
| NeighborhoodIterator (const SizeType &radius, ImageType *ptr, const RegionType ®ion) | |
| Iterator | Begin () |
| ConstIterator | Begin () const |
| OffsetType | ComputeInternalIndex (unsigned int n) const |
| Iterator | End () |
| ConstIterator | End () const |
| IndexType | GetBeginIndex () const |
| IndexType | GetBound () const |
| long | GetBound (unsigned int n) const |
| const BoundaryConditionType * | GetBoundaryCondition () const |
| RegionType | GetBoundingBoxAsImageRegion () const |
| AllocatorType & | GetBufferReference () |
| const AllocatorType & | GetBufferReference () const |
| unsigned int | GetCenterNeighborhoodIndex () const |
| PixelType | GetCenterPixel () const |
| const InternalPixelType * | GetCenterPointer () const |
| InternalPixelType * | GetCenterPointer () |
| TImage::InternalPixelType * | GetCenterValue () const |
| TImage::InternalPixelType *& | GetElement (unsigned int i) |
| const ImageType * | GetImagePointer (void) const |
| virtual IndexType | GetIndex (void) const |
| virtual IndexType | GetIndex (const OffsetType &o) const |
| virtual IndexType | GetIndex (const unsigned i) const |
| bool | GetNeedToUseBoundaryCondition () const |
| virtual NeighborhoodType | GetNeighborhood () const |
| virtual unsigned int | GetNeighborhoodIndex (const OffsetType &) const |
| virtual PixelType | GetNext (const unsigned axis, const unsigned i) const |
| virtual PixelType | GetNext (const unsigned axis) const |
| OffsetType | GetOffset (unsigned int i) const |
| virtual PixelType | GetPixel (const unsigned i) const |
| virtual PixelType | GetPixel (const unsigned 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, const unsigned i) const |
| virtual PixelType | GetPrevious (const unsigned axis) const |
| const SizeType | GetRadius () const |
| unsigned long | GetRadius (const unsigned long n) const |
| RegionType | GetRegion () const |
| unsigned long | GetSize (const unsigned long n) const |
| SizeType | GetSize () const |
| std::slice | GetSlice (unsigned int) const |
| unsigned | GetStride (const unsigned axis) const |
| OffsetType | GetWrapOffset () const |
| OffsetValueType | GetWrapOffset (unsigned int n) const |
| virtual void | GoToBegin () |
| virtual void | GoToEnd () |
| bool | InBounds () const |
| virtual void | Initialize (const SizeType &radius, const ImageType *ptr, const RegionType ®ion) |
| virtual bool | IsAtBegin () const |
| virtual bool | IsAtEnd () const |
| void | NeedToUseBoundaryConditionOff () |
| void | NeedToUseBoundaryConditionOn () |
| bool | operator!= (const Self &other) const |
| bool | operator!= (const Self &it) const |
| Self & | operator++ () |
| Self & | operator+= (const OffsetType &) |
| OffsetType | operator- (const Self &b) |
| Self & | operator-- () |
| Self & | operator-= (const OffsetType &) |
| bool | operator< (const Self &it) const |
| bool | operator<= (const Self &it) const |
| Self & | operator= (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[] (unsigned int i) |
| const TImage::InternalPixelType *& | operator[] (unsigned int 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 unsigned long *rad) |
| void | SetRadius (const unsigned long) |
| unsigned int | Size () const |
Static Public Attributes | |
| static const unsigned int | Dimension = TImage::ImageDimension |
| static const unsigned int | NeighborhoodDimension |
Protected Member Functions | |
| virtual void | Allocate (unsigned int 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 InternalPixelType * | m_Begin |
| IndexType | m_BeginIndex |
| IndexType | m_Bound |
| ImageBoundaryConditionPointerType | m_BoundaryCondition |
| ImageType::ConstWeakPointer | m_ConstImage |
| const InternalPixelType * | m_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 |
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.
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:
Now suppose a NeighborhoodIterator with the above dimensions is constructed and positioned over a neighborhood of values in an Image:
Shown below is some sample pixel access code and the values that it returns.
Results:
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 indicies, 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.
Definition at line 211 of file itkNeighborhoodIterator.h.
|
inherited |
External support for allocator type.
Definition at line 63 of file itkNeighborhood.h.
|
inherited |
Typedef for boundary condition type.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 93 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::ConstIterator itk::NeighborhoodIterator< TImage, TBoundaryCondition >::ConstIterator |
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 231 of file itkNeighborhoodIterator.h.
|
inherited |
Definition at line 98 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::ImageBoundaryConditionPointerType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionPointerType |
Typedef for generic boundary condition pointer
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 233 of file itkNeighborhoodIterator.h.
| typedef Superclass::ImageType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::ImageType |
Typedef support for common objects
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 223 of file itkNeighborhoodIterator.h.
| typedef Superclass::IndexType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::IndexType |
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 225 of file itkNeighborhoodIterator.h.
|
inherited |
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 82 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::InternalPixelType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::InternalPixelType |
Extract typedefs from superclass.
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 220 of file itkNeighborhoodIterator.h.
| typedef Superclass::Iterator itk::NeighborhoodIterator< TImage, TBoundaryCondition >::Iterator |
Iterator typedef support. Note the naming is intentional, i.e., ::iterator and ::const_iterator, because the allocator may be a vnl object or other type, which uses this form.
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Definition at line 230 of file itkNeighborhoodIterator.h.
|
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 90 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::NeighborhoodType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodType |
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 229 of file itkNeighborhoodIterator.h.
| typedef Superclass::OffsetType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType |
Inherit typedefs from superclass
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 226 of file itkNeighborhoodIterator.h.
| typedef OffsetType::OffsetValueType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::OffsetValueType |
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 227 of file itkNeighborhoodIterator.h.
| typedef Superclass::PixelType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::PixelType |
External support for pixel type.
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 221 of file itkNeighborhoodIterator.h.
| typedef Superclass::RadiusType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::RadiusType |
Radius typedef support.
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 228 of file itkNeighborhoodIterator.h.
| typedef Superclass::RegionType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::RegionType |
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 224 of file itkNeighborhoodIterator.h.
| typedef NeighborhoodIterator itk::NeighborhoodIterator< TImage, TBoundaryCondition >::Self |
Standard class typedefs.
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 216 of file itkNeighborhoodIterator.h.
| typedef Superclass::SizeType itk::NeighborhoodIterator< TImage, TBoundaryCondition >::SizeType |
Size and value typedef support.
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 222 of file itkNeighborhoodIterator.h.
|
inherited |
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 74 of file itkConstNeighborhoodIterator.h.
|
inherited |
External slice iterator type typedef support.
Definition at line 88 of file itkNeighborhood.h.
| typedef ConstNeighborhoodIterator<TImage,TBoundaryCondition> itk::NeighborhoodIterator< TImage, TBoundaryCondition >::Superclass |
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 217 of file itkNeighborhoodIterator.h.
|
inline |
Default constructor.
Definition at line 236 of file itkNeighborhoodIterator.h.
|
inline |
Copy constructor
Definition at line 239 of file itkNeighborhoodIterator.h.
|
inline |
Constructor which establishes the region size, neighborhood, and image over which to walk.
Definition at line 250 of file itkNeighborhoodIterator.h.
|
inlineprotectedvirtualinherited |
Allocates the neighborhood's memory buffer.
Definition at line 236 of file itkNeighborhood.h.
|
inlineinherited |
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 154 of file itkNeighborhood.h.
|
inlineinherited |
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 158 of file itkNeighborhood.h.
|
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 129 of file itkConstNeighborhoodIterator.txx.
|
protectedvirtualinherited |
Fills entries into the offset lookup table. Called once on initialization.
|
protectedvirtualinherited |
Computes the entries for the stride table
|
inlineinherited |
STL-style iterator support.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 152 of file itkNeighborhood.h.
|
inlineinherited |
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 156 of file itkNeighborhood.h.
|
inlineinherited |
Returns the N-dimensional starting index of the iterator's position on the image.
Definition at line 243 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Returns the array of upper loop bounds used during iteration.
Definition at line 134 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Returns the loop bound used to define the edge of a single dimension in the itk::Image region.
Definition at line 139 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Definition at line 396 of file itkConstNeighborhoodIterator.h.
|
inherited |
Returns a bounding box for the region spanned by this neighborhood represented by an itk::ImageRegion
Definition at line 147 of file itkConstNeighborhoodIterator.txx.
|
inlineinherited |
Returns a reference to the data buffer structure.
Definition at line 200 of file itkNeighborhood.h.
|
inlineinherited |
Definition at line 202 of file itkNeighborhood.h.
|
inlineinherited |
Definition at line 218 of file itkNeighborhood.h.
|
inlineinherited |
Returns the pixel referenced at the center of the ConstNeighborhoodIterator.
Definition at line 148 of file itkConstNeighborhoodIterator.h.
Referenced by otb::MRFSamplerMAP< TInput1, TInput2 >::Compute(), otb::MRFSamplerRandom< TInput1, TInput2 >::Compute(), otb::MRFSamplerRandomMAP< TInput1, TInput2 >::Compute(), itk::RegionBasedLevelSetFunction< TInput, TFeature, TSharedData >::ComputeHessian(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::NormalVectorDiffusionFunction< TSparseImageType >::ComputeSparseUpdate(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), itk::MinMaxCurvatureFlowFunction< TImage >::ComputeThreshold(), itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::LevelSetFunction< TImageType >::ComputeUpdate(), itk::RegionBasedLevelSetFunction< TInput, TFeature, TSharedData >::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::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), and itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData().
|
inlineinherited |
Returns the pointer to the center pixel of the neighborhood.
Definition at line 143 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::operator!=(), itk::ConstNeighborhoodIterator< TSparseImageType >::operator<(), itk::ConstNeighborhoodIterator< TSparseImageType >::operator<=(), itk::ConstNeighborhoodIterator< TSparseImageType >::operator==(), itk::ConstNeighborhoodIterator< TSparseImageType >::operator>(), and itk::ConstNeighborhoodIterator< TSparseImageType >::operator>=().
|
inline |
Returns the central memory pointer of the neighborhood.
Definition at line 258 of file itkNeighborhoodIterator.h.
Referenced by itk::watershed::Segmenter< TInputImage >::GradientDescent().
|
inlineinherited |
Returns the element at the center of the neighborhood.
Definition at line 174 of file itkNeighborhood.h.
|
inlineinherited |
Definition at line 170 of file itkNeighborhood.h.
|
inlineinherited |
Returns a smartpointer to the image on which this iterator operates.
Definition at line 152 of file itkConstNeighborhoodIterator.h.
Referenced by itk::PeriodicBoundaryCondition< TImage >::operator()().
|
inlinevirtualinherited |
Returns the N-dimensional index of the iterator's position in the image.
Definition at line 157 of file itkConstNeighborhoodIterator.h.
Referenced by itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AdvectionField(), itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointDescriptor(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointOrientations(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), otb::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::RegionBasedLevelSetFunction< TInput, TFeature, TSharedData >::ComputeUpdate(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >::ConstructActiveLayer(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::DetectKeyPoint(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::FollowEdge(), otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), itk::ValuedRegionalExtremaImageFilter< TInputImage, TOutputImage, TFunction1, TFunction2 >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PropagationSpeed(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), and itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdatePixel().
|
inlinevirtualinherited |
Returns the image index for neighbor pixel at offset o from the center of the neighborhood.
Definition at line 229 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetIndex().
|
inlinevirtualinherited |
Returns the image index for neighbor pixel at index i in the neighborhood.
Definition at line 234 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetIndex().
|
inlineinherited |
Definition at line 412 of file itkConstNeighborhoodIterator.h.
|
virtualinherited |
Virtual function that "dereferences" a ConstNeighborhoodIterator, returning a Neighborhood of pixel values.
Definition at line 248 of file itkConstNeighborhoodIterator.txx.
References itk::Neighborhood< TPixel, VDimension, TAllocator >::Begin(), and itk::Neighborhood< TPixel, VDimension, TAllocator >::SetRadius().
Referenced by otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::EvaluateAtIndex(), itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData(), and otb::UnaryFunctorNeighborhoodWithOffsetImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData().
|
virtualinherited |
|
inlinevirtualinherited |
Returns 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 202 of file itkConstNeighborhoodIterator.h.
Referenced by itk::NormalVectorDiffusionFunction< TSparseImageType >::ComputeSparseUpdate(), itk::DeformationFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood(), itk::WarpHarmonicEnergyCalculator< TInputImage >::EvaluateAtNeighborhood(), itk::DisplacementFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood3D(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::NonPCEvaluateAtNeighborhood(), itk::NormalVectorDiffusionFunction< TSparseImageType >::PrecomputeSparseUpdate(), and itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull().
|
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 209 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Returns the itk::Offset from the center of the Neighborhood to the requested neighbor index.
Definition at line 213 of file itkNeighborhood.h.
Referenced by otb::RealMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), and itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND().
|
inlinevirtualinherited |
Returns the pixel value located at a linear array location i.
Definition at line 165 of file itkConstNeighborhoodIterator.h.
Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ComputeCannyEdge(), itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ComputeCurvatureFromSparseImageNeighborhood(), itk::RegionBasedLevelSetFunction< TInput, TFeature, TSharedData >::ComputeHessian(), 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::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::MRFImageFilter< TInputImage, TClassifiedImage >::DoNeighborhoodOperation(), itk::BasicErodeImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::BasicDilateImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::GrayscaleFunctionDilateImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::GrayscaleFunctionErodeImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), 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::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::LocalHistogramImageFunction< 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(), itk::VectorMeanImageFunction< 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::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), 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::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::operator()(), itk::VectorNeighborhoodInnerProduct< TImage >::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(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataBand(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().
|
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 53 of file itkConstNeighborhoodIterator.txx.
|
inlinevirtualinherited |
Returns the pixel value located at the itk::Offset o from the center of the neighborhood.
Definition at line 184 of file itkConstNeighborhoodIterator.h.
|
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 195 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::GetPixel().
|
inlinevirtualinherited |
Returns 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 216 of file itkConstNeighborhoodIterator.h.
Referenced by itk::DeformationFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood(), itk::WarpHarmonicEnergyCalculator< TInputImage >::EvaluateAtNeighborhood(), itk::DisplacementFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::EvaluateAtNeighborhood3D(), itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >::NonPCEvaluateAtNeighborhood(), itk::NormalVectorDiffusionFunction< TSparseImageType >::PrecomputeSparseUpdate(), and itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull().
|
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 223 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Returns the radius of the neighborhood.
Definition at line 128 of file itkNeighborhood.h.
|
inlineinherited |
Returns the radius of the neighborhood along a specified dimension.
Definition at line 133 of file itkNeighborhood.h.
|
inlineinherited |
Returns the region of iteration.
Definition at line 238 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Returns the size (total length) of the neighborhood along a specified dimension.
Definition at line 138 of file itkNeighborhood.h.
|
inlineinherited |
Returns the size (total length of sides) of the neighborhood.
Definition at line 142 of file itkNeighborhood.h.
|
inherited |
|
inlineinherited |
Returns the stride length for the specified dimension. Stride length is the number of pixels between adjacent pixels along the given dimension.
Definition at line 148 of file itkNeighborhood.h.
Referenced by itk::watershed::Segmenter< TInputImage >::GenerateConnectivity(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InitializeActiveLayerValues(), and itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull().
|
inlineinherited |
Returns the offsets used to wrap across dimensional boundaries.
Definition at line 251 of file itkConstNeighborhoodIterator.h.
|
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 259 of file itkConstNeighborhoodIterator.h.
|
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 332 of file itkConstNeighborhoodIterator.txx.
Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::WarpHarmonicEnergyCalculator< TInputImage >::Compute(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), otb::ImageToCarvingPathFilter< TInputImage, TOutputPath >::GenerateData(), itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::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(), itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >::operator=(), itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >::SetNormalBand(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivative(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivativePos(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::RadiometricMomentsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodVectorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodWithOffsetImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::MorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::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(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().
|
virtualinherited |
Virtual method for sending the iterator to one past the last pixel in its region.
Definition at line 340 of file itkConstNeighborhoodIterator.txx.
Referenced by itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), and itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND().
|
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 25 of file itkConstNeighborhoodIterator.txx.
Referenced by otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::DetectKeyPoint(), and otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData().
|
virtualinherited |
Initializes the iterator to walk a particular image and a particular region of that image.
Definition at line 347 of file itkConstNeighborhoodIterator.txx.
References itk::Index< VIndexDimension >::GetIndex(), and itk::Size< VDimension >::GetSize().
Referenced by otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), and otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement().
|
inlinevirtualinherited |
Virtual method for determining whether the iterator is at the beginning of its iteration region.
Definition at line 278 of file itkConstNeighborhoodIterator.h.
Referenced by itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND().
|
inlinevirtualinherited |
Virtual method for determining whether the iterator has reached the end of its iteration region.
Definition at line 283 of file itkConstNeighborhoodIterator.h.
Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::MRFImageFilter< TInputImage, TClassifiedImage >::ApplyICMLabeller(), itk::WarpHarmonicEnergyCalculator< TInputImage >::Compute(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage(), otb::LocalRxDetectorNonThreadFilter< TInputImage, TOutputImage >::GenerateData(), itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >::MinimizeOnce(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivative(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::ThreadedCompute2ndDerivativePos(), otb::BinaryImageToDensityImageFilter< TInputImage, TOutputImage, TCountFunction >::ThreadedGenerateData(), otb::RadiometricMomentsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LocalRxDetectorFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::MorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::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(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().
|
inlineinherited |
Definition at line 404 of file itkConstNeighborhoodIterator.h.
Referenced by itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >::CalculateChange(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ProcessStatusList(), itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >::ProcessStatusList(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PropagateLayerValues(), itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >::PropagateLayerValues(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedCalculateChange(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::UpdateActiveLayerValues(), and itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >::UpdateActiveLayerValues().
|
inlineinherited |
Definition at line 400 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Not Equal operator.
Definition at line 120 of file itkNeighborhood.h.
|
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 320 of file itkConstNeighborhoodIterator.h.
|
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.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 443 of file itkConstNeighborhoodIterator.txx.
Referenced by itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator++().
|
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.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 625 of file itkConstNeighborhoodIterator.txx.
Referenced by itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator+=().
|
inlineinherited |
Distance between two iterators
Definition at line 369 of file itkConstNeighborhoodIterator.h.
|
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.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 479 of file itkConstNeighborhoodIterator.txx.
Referenced by itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator--().
|
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.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 665 of file itkConstNeighborhoodIterator.txx.
Referenced by itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >::operator-=().
|
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 326 of file itkConstNeighborhoodIterator.h.
|
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 332 of file itkConstNeighborhoodIterator.h.
|
inline |
Assignment operator
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 242 of file itkNeighborhoodIterator.h.
|
inlineinherited |
Comparison operator.
Definition at line 112 of file itkNeighborhood.h.
|
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 314 of file itkConstNeighborhoodIterator.h.
|
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 338 of file itkConstNeighborhoodIterator.h.
|
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 344 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Pass-through data access methods to the buffer.
Definition at line 166 of file itkNeighborhood.h.
|
inlineinherited |
Definition at line 168 of file itkNeighborhood.h.
|
inlineinherited |
Get pixel value by offset
Definition at line 206 of file itkNeighborhood.h.
|
inlineinherited |
Definition at line 208 of file itkNeighborhood.h.
|
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 382 of file itkConstNeighborhoodIterator.h.
Referenced by itk::BinaryMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::AnalyzeKernel(), itk::WarpHarmonicEnergyCalculator< TInputImage >::Compute(), 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::ValuedRegionalExtremaImageFilter< TInputImage, TOutputImage, TFunction1, TFunction2 >::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(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::LeeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::ThreadedGenerateData(), otb::FrostImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodVectorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorNeighborhoodWithOffsetImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData(), itk::MorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::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().
|
inlineinherited |
Standard itk object method.
Definition at line 196 of file itkNeighborhood.h.
|
virtual |
Standard print method
Reimplemented from itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 140 of file itkNeighborhoodIterator.txx.
|
inlinevirtualinherited |
Resets the boundary condition to the internal, default conditions specified by the template parameter.
Definition at line 388 of file itkConstNeighborhoodIterator.h.
|
inlineprotectedvirtualinherited |
Default method for setting the index of the first pixel in the iteration region.
Definition at line 437 of file itkConstNeighborhoodIterator.h.
|
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 554 of file itkConstNeighborhoodIterator.txx.
References itk::Index< VIndexDimension >::GetIndex(), and itk::Size< VDimension >::GetSize().
|
inlineinherited |
Sets the internal, default boundary condition.
Definition at line 392 of file itkConstNeighborhoodIterator.h.
|
inlinevirtual |
Returns the central pixel of the neighborhood.
Definition at line 262 of file itkNeighborhoodIterator.h.
Referenced by itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer(), itk::MRFImageFilter< TInputImage, TClassifiedImage >::DoNeighborhoodOperation(), itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >::MinimizeOnce(), and itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PropagateLayerValues().
|
protectedvirtualinherited |
Default method for setting the index of the first pixel in the iteration region.
Definition at line 230 of file itkConstNeighborhoodIterator.txx.
|
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 351 of file itkConstNeighborhoodIterator.h.
Referenced by otb::LineSegmentDetector< TInputImage, TPrecision >::ComputeRegionOrientation(), itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), otb::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructLayer(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructLayer(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), 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::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::RadiometricMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::ScatterMatrixImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VectorMeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodOperatorImageFunction< TInputImage, TOutput >::EvaluateAtIndex(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::HistogramOfOrientedGradientCovariantImageFunction< TInputImage, TOutputPrecision, TCoordRep >::EvaluateAtIndex(), otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Fe(), otb::VectorizationPathListFilter< TInputModulus, TInputDirection, TOutputPath >::GenerateData(), otb::ImageToSURFKeyPointSetFilter< TInputImage, TOutputPointSet >::GenerateData(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GenerateData(), itk::watershed::Segmenter< TInputImage >::GradientDescent(), 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().
|
inlineprotectedvirtualinherited |
Default method for setting the coordinate location of the iterator. Loop indicies correspond to the actual Image region index.
Definition at line 421 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Definition at line 408 of file itkConstNeighborhoodIterator.h.
|
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 150 of file itkNeighborhoodIterator.txx.
References itk::Neighborhood< TPixel, VDimension, TAllocator >::Begin().
|
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 287 of file itkNeighborhoodIterator.h.
Referenced by itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull().
|
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 296 of file itkNeighborhoodIterator.h.
|
virtual |
Special SetPixel method which quietly ignores out-of-bounds attempts. Sets status TRUE if pixel has been set, FALSE otherwise.
Definition at line 87 of file itkNeighborhoodIterator.txx.
Referenced by itk::MRFImageFilter< TInputImage, TClassifiedImage >::DoNeighborhoodOperation(), itk::DilateObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), and itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::UpdatePixel().
|
virtual |
Set the pixel at the ith location.
Definition at line 24 of file itkNeighborhoodIterator.txx.
References itk::ExceptionObject::SetDescription(), and itk::ExceptionObject::SetLocation().
|
inlinevirtual |
Set the pixel at offset o from the neighborhood center
Definition at line 280 of file itkNeighborhoodIterator.h.
Referenced by itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >::SetPixel().
|
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.
Definition at line 581 of file itkConstNeighborhoodIterator.txx.
|
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 303 of file itkNeighborhoodIterator.h.
|
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 312 of file itkNeighborhoodIterator.h.
|
inherited |
Sets the radius for the neighborhood, calculates size from the radius, and allocates storage.
|
inlineinherited |
Sets the radius for the neighborhood. Overloaded to support an unsigned long array.
Definition at line 183 of file itkNeighborhood.h.
|
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).
|
inlineprotectedinherited |
Sets the length along each dimension.
Definition at line 227 of file itkNeighborhood.h.
Referenced by otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ThreadedGenerateData().
|
inlineinherited |
More STL-style support.
Definition at line 162 of file itkNeighborhood.h.
Referenced by itk::watershed::Segmenter< TInputImage >::AnalyzeBoundaryFlow(), itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate(), otb::RealMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::SumOfSquaresImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::MeanImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::CovarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::ScatterMatrixImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), itk::VectorMeanImageFunction< 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::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateDataND(), itk::watershed::Segmenter< TInputImage >::LabelMinima(), 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::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryMedianImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ThreadedGenerateData(), itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateDataFull(), and itk::watershed::Segmenter< TInputImage >::UpdateSegmentTable().
|
staticinherited |
Save the image dimension.
Reimplemented in itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 62 of file itkConstNeighborhoodIterator.h.
|
protectedinherited |
A pointer to the first pixel in the iteration region.
Definition at line 452 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
The starting index for iteration within the itk::Image region on which this ConstNeighborhoodIterator is defined.
Definition at line 446 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
An array of upper looping boundaries used during iteration.
Definition at line 449 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
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 481 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
The image on which iteration is defined.
Definition at line 455 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
A pointer to one past the last pixel in the iteration region.
Definition at line 458 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
The end index for iteration within the itk::Image region on which this ConstNeighborhoodIterator is defined.
Definition at line 462 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
mutableprotectedinherited |
Denotes which of the iterators dimensional sides spill outside region of interest boundaries.
Definition at line 485 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
Upper threshold of in-bounds loop counter values.
Definition at line 499 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
Lower threshold of in-bounds loop counter values.
Definition at line 496 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
Default boundary condition.
Definition at line 502 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
mutableprotectedinherited |
Denotes if iterator is entirely within bounds
Definition at line 488 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
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 493 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
Array of loop counters used during iteration.
Definition at line 465 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TSparseImageType >::operator-(), and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
Does the specified region need to worry about boundary conditions?
Definition at line 505 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
Functor type used to access neighborhoods of pixel pointers
Definition at line 508 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protectedinherited |
The region over which iteration is defined.
Definition at line 468 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
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 475 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
staticinherited |
External support for dimensionality.
Definition at line 66 of file itkNeighborhood.h.