ITK
5.2.0
Insight Toolkit
|
#include <itkShapedNeighborhoodIterator.h>
Classes | |
struct | Iterator |
Public Types | |
using | BoundaryConditionType = typename Superclass::BoundaryConditionType |
using | ConstIterator = typename Superclass::ConstIterator |
using | ImageBoundaryConditionPointerType = typename Superclass::ImageBoundaryConditionPointerType |
using | ImageType = typename Superclass::ImageType |
using | IndexListType = typename Superclass::IndexListType |
using | IndexType = typename Superclass::IndexType |
using | IndexValueType = typename Superclass::IndexValueType |
using | InternalPixelType = typename TImage::InternalPixelType |
using | NeighborhoodType = typename Superclass::NeighborhoodType |
using | OffsetType = typename Superclass::OffsetType |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | PixelType = typename TImage::PixelType |
using | RadiusType = typename Superclass::RadiusType |
using | RegionType = typename Superclass::RegionType |
using | Self = ShapedNeighborhoodIterator |
using | SizeType = typename Superclass::SizeType |
using | SizeValueType = typename Superclass::SizeValueType |
using | Superclass = ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > |
Public Types inherited from itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > | |
using | BoundaryConditionType = TBoundaryCondition |
using | ImageBoundaryConditionPointerType = ImageBoundaryCondition< ImageType > * |
using | ImageType = TImage |
using | IndexListConstIterator = typename IndexListType::const_iterator |
using | IndexListIterator = typename IndexListType::iterator |
using | IndexListType = std::list< NeighborIndexType > |
using | IndexType = Index< Self::Dimension > |
using | IndexValueType = typename IndexType::IndexValueType |
using | InternalPixelType = typename TImage::InternalPixelType |
using | NeighborhoodType = Neighborhood< PixelType, Self::Dimension > |
using | NeighborIndexType = typename NeighborhoodType::NeighborIndexType |
using | OffsetType = typename Superclass::OffsetType |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | PixelType = typename TImage::PixelType |
using | RadiusType = typename Superclass::RadiusType |
using | RegionType = typename TImage::RegionType |
using | Self = ConstShapedNeighborhoodIterator |
using | SizeType = typename Superclass::SizeType |
using | SizeValueType = typename SizeType::SizeValueType |
using | Superclass = NeighborhoodIterator< TImage, TBoundaryCondition > |
Static Public Attributes | |
static constexpr unsigned int | Dimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > | |
static constexpr unsigned int | Dimension = TImage::ImageDimension |
using | NeighborIndexType = typename Superclass::NeighborIndexType |
friend | Superclass |
Self & | operator= (const Self &orig) |
void | PrintSelf (std::ostream &, Indent) const override |
Iterator | Begin () |
Iterator | End () |
Iterator | Begin () |
ConstIterator | Begin () const |
Iterator | End () |
ConstIterator | End () const |
Additional Inherited Members | |
Protected Member Functions inherited from itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > | |
ITK_ITERATOR_VIRTUAL void | ActivateIndex (NeighborIndexType) ITK_ITERATOR_FINAL |
ITK_ITERATOR_VIRTUAL void | DeactivateIndex (NeighborIndexType) ITK_ITERATOR_FINAL |
Protected Attributes inherited from itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > | |
bool | m_CenterIsActive { false } |
IndexListType | m_ActiveIndexList |
A neighborhood iterator which can take on an arbitrary shape.
where radius, image, and region are as described in NeighborhoodIterator.
Once a neighborhood location has been activated, iteration (operator++, operator--, operator+=, operator-=) will update the value at the active location. Note that values at inactive locations will NOT be valid if queried.
A second way to access active shaped neighborhood values is through a ShapedNeighborhoodIterator::Iterator or ConstShapedNeighborhoodIterator::ConstIterator. The following example demonstrates the use of these iterators.
You can also iterate backward through the neighborhood active list.
The Get() Set() syntax was chosen versus defining operator* for these iterators because lvalue vs. rvalue context information is needed to determine whether bounds checking must take place.
Definition at line 150 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::BoundaryConditionType = typename Superclass::BoundaryConditionType |
Definition at line 173 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ConstIterator = typename Superclass::ConstIterator |
Definition at line 171 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ImageBoundaryConditionPointerType = typename Superclass::ImageBoundaryConditionPointerType |
Definition at line 174 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::ImageType = typename Superclass::ImageType |
Definition at line 177 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexListType = typename Superclass::IndexListType |
Definition at line 172 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexType = typename Superclass::IndexType |
Definition at line 176 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::IndexValueType = typename Superclass::IndexValueType |
Definition at line 179 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::InternalPixelType = typename TImage::InternalPixelType |
Extract image type information.
Definition at line 155 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::NeighborhoodType = typename Superclass::NeighborhoodType |
Definition at line 175 of file itkShapedNeighborhoodIterator.h.
|
protected |
Assignment operator
Definition at line 266 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetType = typename Superclass::OffsetType |
Inherit type alias from superclass
Definition at line 166 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::OffsetValueType = typename OffsetType::OffsetValueType |
Definition at line 167 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::PixelType = typename TImage::PixelType |
Definition at line 156 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::RadiusType = typename Superclass::RadiusType |
Definition at line 168 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::RegionType = typename Superclass::RegionType |
Definition at line 178 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::Self = ShapedNeighborhoodIterator |
Standard class type aliases.
Definition at line 162 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::SizeType = typename Superclass::SizeType |
Definition at line 169 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::SizeValueType = typename Superclass::SizeValueType |
Definition at line 170 of file itkShapedNeighborhoodIterator.h.
using itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::Superclass = ConstShapedNeighborhoodIterator<TImage, TBoundaryCondition> |
Definition at line 163 of file itkShapedNeighborhoodIterator.h.
|
default |
Default constructor
|
overridedefault |
Virtual destructor
|
delete |
Copy constructor
|
inline |
Constructor which establishes the region size, neighborhood, and image over which to walk.
Definition at line 223 of file itkShapedNeighborhoodIterator.h.
|
inline |
Returns a const iterator for the neighborhood which points to the first pixel in the neighborhood.
Definition at line 249 of file itkShapedNeighborhoodIterator.h.
|
inline |
Assignment operator
Definition at line 187 of file itkNeighborhood.h.
|
inline |
Assignment operator
Definition at line 197 of file itkNeighborhood.h.
|
inline |
Assignment operator
Definition at line 254 of file itkShapedNeighborhoodIterator.h.
|
inline |
STL-style iterator support.
Definition at line 182 of file itkNeighborhood.h.
|
inline |
Assignment operator
Definition at line 192 of file itkNeighborhood.h.
|
inline |
Assignment operator
Definition at line 235 of file itkShapedNeighborhoodIterator.h.
|
overridevirtual |
Standard itk print method
Reimplemented from itk::ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition >.
|
staticconstexpr |
Save the image dimension.
Definition at line 159 of file itkShapedNeighborhoodIterator.h.
|
protected |
Assignment operator
Definition at line 264 of file itkShapedNeighborhoodIterator.h.