![]() |
Orfeo Toolbox
3.16
|
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pixels across an itk::Image. More...
#include <itkConstNeighborhoodIterator.h>
Inheritance diagram for itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >:
Collaboration diagram for itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >:Public Member Functions | |
| ConstNeighborhoodIterator () | |
| ConstNeighborhoodIterator (const ConstNeighborhoodIterator &) | |
| ConstNeighborhoodIterator (const SizeType &radius, const ImageType *ptr, const RegionType ®ion) | |
| virtual | ~ConstNeighborhoodIterator () |
| 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 |
| 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) |
| void | SetLocation (const IndexType &position) |
| void | SetNeedToUseBoundaryCondition (bool b) |
| 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 |
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
ConstNeighborhoodIterator implements the read-only methods of NeighborhoodIterator. It serves as a base class from which other iterators are derived. See NeighborhoodIterator for more complete information.
Definition at line 52 of file itkConstNeighborhoodIterator.h.
|
inherited |
External support for allocator type.
Definition at line 63 of file itkNeighborhood.h.
| typedef TBoundaryCondition itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::BoundaryConditionType |
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::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ConstIterator |
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 76 of file itkConstNeighborhoodIterator.h.
| typedef ImageBoundaryCondition<ImageType> const* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionConstPointerType |
Definition at line 98 of file itkConstNeighborhoodIterator.h.
| typedef ImageBoundaryCondition<ImageType>* itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionPointerType |
Typedef for generic boundary condition pointer
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 96 of file itkConstNeighborhoodIterator.h.
| typedef TImage itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ImageType |
Typedef support for common objects
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 79 of file itkConstNeighborhoodIterator.h.
| typedef Index<itkGetStaticConstMacro(Dimension)> itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::IndexType |
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 81 of file itkConstNeighborhoodIterator.h.
| typedef IndexType::IndexValueType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::IndexValueType |
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 TImage::InternalPixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::InternalPixelType |
Extract image type information.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 58 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::Iterator itk::ConstNeighborhoodIterator< 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::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, and itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 75 of file itkConstNeighborhoodIterator.h.
| typedef ImageType::NeighborhoodAccessorFunctorType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodAccessorFunctorType |
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 Neighborhood<PixelType, itkGetStaticConstMacro(Dimension)> itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodType |
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 84 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType |
Inherit typedefs from superclass
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 70 of file itkConstNeighborhoodIterator.h.
| typedef OffsetType::OffsetValueType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetValueType |
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 71 of file itkConstNeighborhoodIterator.h.
| typedef TImage::PixelType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::PixelType |
External support for pixel type.
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 59 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::RadiusType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::RadiusType |
Radius typedef support.
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 72 of file itkConstNeighborhoodIterator.h.
| typedef TImage::RegionType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::RegionType |
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 80 of file itkConstNeighborhoodIterator.h.
| typedef ConstNeighborhoodIterator itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::Self |
Standard class typedefs.
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 65 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::SizeType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SizeType |
Size and value typedef support.
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 73 of file itkConstNeighborhoodIterator.h.
| typedef Superclass::SizeValueType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::SizeValueType |
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 Neighborhood<InternalPixelType *, itkGetStaticConstMacro(Dimension)> itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::Superclass |
Reimplemented in itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ShapedNeighborhoodIterator< ImageType >, itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >.
Definition at line 67 of file itkConstNeighborhoodIterator.h.
| itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ConstNeighborhoodIterator | ( | ) |
Default constructor
Definition at line 159 of file itkConstNeighborhoodIterator.txx.
References itk::Size< VDimension >::Fill(), and itk::Index< VIndexDimension >::Fill().
|
inlinevirtual |
Virtual destructor
Definition at line 104 of file itkConstNeighborhoodIterator.h.
| itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ConstNeighborhoodIterator | ( | const ConstNeighborhoodIterator< TImage, TBoundaryCondition > & | ) |
Copy constructor
|
inline |
Constructor which establishes the region size, neighborhood, and image over which to walk.
Definition at line 111 of file itkConstNeighborhoodIterator.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.
| ConstNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::ComputeInternalIndex | ( | unsigned int | n | ) | const |
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.
|
inline |
Returns the N-dimensional starting index of the iterator's position on the image.
Definition at line 243 of file itkConstNeighborhoodIterator.h.
|
inline |
Returns the array of upper loop bounds used during iteration.
Definition at line 134 of file itkConstNeighborhoodIterator.h.
|
inline |
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.
|
inline |
Definition at line 396 of file itkConstNeighborhoodIterator.h.
| ConstNeighborhoodIterator< TImage, TBoundaryCondition >::RegionType itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetBoundingBoxAsImageRegion | ( | ) | const |
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.
|
inline |
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().
|
inline |
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>=().
|
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.
|
inline |
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()().
|
inlinevirtual |
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().
|
inlinevirtual |
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().
|
inlinevirtual |
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().
|
inline |
Definition at line 412 of file itkConstNeighborhoodIterator.h.
|
virtual |
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 |
|
inlinevirtual |
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().
|
inlinevirtual |
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().
|
inlinevirtual |
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().
|
virtual |
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.
|
inlinevirtual |
Returns the pixel value located at the itk::Offset o from the center of the neighborhood.
Definition at line 184 of file itkConstNeighborhoodIterator.h.
|
inlinevirtual |
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().
|
inlinevirtual |
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().
|
inlinevirtual |
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.
|
inline |
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().
|
inline |
Returns the offsets used to wrap across dimensional boundaries.
Definition at line 251 of file itkConstNeighborhoodIterator.h.
|
inline |
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.
|
virtual |
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().
|
virtual |
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().
| bool itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::InBounds | ( | ) | const |
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().
|
virtual |
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().
|
inlinevirtual |
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().
|
inlinevirtual |
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::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(), 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().
|
inline |
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().
|
inline |
Definition at line 400 of file itkConstNeighborhoodIterator.h.
|
inlineinherited |
Not Equal operator.
Definition at line 120 of file itkNeighborhood.h.
|
inline |
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.
| ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator++ | ( | ) |
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++().
| ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator+= | ( | const OffsetType & | idx | ) |
Addition of an itk::Offset. Note that this method does not do any bounds checking. Adding an offset that moves the iterator out of its assigned region will produce undefined results.
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+=().
|
inline |
Distance between two iterators
Definition at line 369 of file itkConstNeighborhoodIterator.h.
| ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator-- | ( | ) |
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--().
| ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator-= | ( | const OffsetType & | idx | ) |
Subtraction of an itk::Offset. Note that this method does not do any bounds checking. Subtracting an offset that moves the iterator out of its assigned region will produce undefined results.
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-=().
|
inline |
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.
|
inline |
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.
| ConstNeighborhoodIterator< TImage, TBoundaryCondition > & itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator= | ( | const Self & | orig | ) |
Assignment operator
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 399 of file itkConstNeighborhoodIterator.txx.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Begin, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_BeginIndex, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Bound, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_BoundaryCondition, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_ConstImage, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_End, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_EndIndex, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InBounds, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InnerBoundsHigh, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InnerBoundsLow, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_InternalBoundaryCondition, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_IsInBounds, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_IsInBoundsValid, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Loop, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_NeedToUseBoundaryCondition, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_NeighborhoodAccessorFunctor, itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_Region, and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::m_WrapOffset.
|
inlineinherited |
Comparison operator.
Definition at line 112 of file itkNeighborhood.h.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inlinevirtual |
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 itk print method
Reimplemented from itk::Neighborhood< TImage::InternalPixelType *,::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >, itk::ConstShapedNeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::NeighborhoodIterator< TImage, TBoundaryCondition >, itk::NeighborhoodIterator< ImageType, ZeroFluxNeumannBoundaryCondition< ImageType > >, itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >, and itk::ShapedNeighborhoodIterator< ImageType >.
Definition at line 518 of file itkConstNeighborhoodIterator.txx.
|
inlinevirtual |
Resets the boundary condition to the internal, default conditions specified by the template parameter.
Definition at line 388 of file itkConstNeighborhoodIterator.h.
|
inlineprotectedvirtual |
Default method for setting the index of the first pixel in the iteration region.
Definition at line 437 of file itkConstNeighborhoodIterator.h.
|
protectedvirtual |
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().
|
inline |
Sets the internal, default boundary condition.
Definition at line 392 of file itkConstNeighborhoodIterator.h.
|
protectedvirtual |
Default method for setting the index of the first pixel in the iteration region.
Definition at line 230 of file itkConstNeighborhoodIterator.txx.
|
inline |
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().
|
inlineprotectedvirtual |
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.
|
inline |
Definition at line 408 of file itkConstNeighborhoodIterator.h.
|
protectedvirtual |
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.
|
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().
|
static |
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.
|
protected |
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=().
|
protected |
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=().
|
protected |
An array of upper looping boundaries used during iteration.
Definition at line 449 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protected |
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=().
|
protected |
The image on which iteration is defined.
Definition at line 455 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protected |
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=().
|
protected |
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=().
|
mutableprotected |
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=().
|
protected |
Upper threshold of in-bounds loop counter values.
Definition at line 499 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protected |
Lower threshold of in-bounds loop counter values.
Definition at line 496 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protected |
Default boundary condition.
Definition at line 502 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
mutableprotected |
Denotes if iterator is entirely within bounds
Definition at line 488 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
mutableprotected |
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=().
|
protected |
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=().
|
protected |
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=().
|
protected |
Functor type used to access neighborhoods of pixel pointers
Definition at line 508 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protected |
The region over which iteration is defined.
Definition at line 468 of file itkConstNeighborhoodIterator.h.
Referenced by itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::operator=().
|
protected |
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.