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

Multi-dimensional image iterator which only walks a region. More...

#include <itkReflectiveImageRegionConstIterator.h>

+ Inheritance diagram for itk::ReflectiveImageRegionConstIterator< TImage >:
+ Collaboration diagram for itk::ReflectiveImageRegionConstIterator< TImage >:

Public Types

typedef TImage::AccessorFunctorType AccessorFunctorType
 
typedef TImage::AccessorType AccessorType
 
typedef TImage ImageType
 
typedef TImage::IndexType IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef TImage::OffsetType OffsetType
 
typedef OffsetType::OffsetValueType OffsetValueType
 
typedef TImage::PixelContainer PixelContainer
 
typedef PixelContainer::Pointer PixelContainerPointer
 
typedef TImage::PixelType PixelType
 
typedef TImage::RegionType RegionType
 
typedef
ReflectiveImageRegionConstIterator 
Self
 
typedef TImage::SizeType SizeType
 
typedef TImage::SizeValueType SizeValueType
 
typedef
ImageConstIteratorWithIndex
< TImage > 
Superclass
 

Public Member Functions

 ReflectiveImageRegionConstIterator ()
 
 ReflectiveImageRegionConstIterator (TImage *ptr, const RegionType &region)
 
 ReflectiveImageRegionConstIterator (const Self &it)
 
 ReflectiveImageRegionConstIterator (const ImageConstIteratorWithIndex< TImage > &it)
 
 ~ReflectiveImageRegionConstIterator ()
 
void FillOffsets (const OffsetValueType &value)
 
PixelType Get (void) const
 
OffsetType GetBeginOffset (const OffsetType &)
 
OffsetType GetEndOffset (const OffsetType &)
 
const IndexTypeGetIndex () const
 
const RegionTypeGetRegion () const
 
void GoToBegin (void)
 
void GoToReverseBegin (void)
 
bool IsAtBegin (void) const
 
bool IsAtEnd (void) const
 
bool IsAtReverseEnd (void) const
 
bool IsReflected (unsigned int) const
 
 itkLegacyMacro (Self Begin(void) const)
 
 itkLegacyMacro (Self End(void) const)
 
bool operator!= (const Self &it) const
 
Selfoperator++ ()
 
bool operator< (const Self &it) const
 
bool operator<= (const Self &it) const
 
Selfoperator= (const Self &it)
 
bool operator== (const Self &it) const
 
bool operator> (const Self &it) const
 
bool operator>= (const Self &it) const
 
bool Remaining ()
 
void SetBeginOffset (const OffsetType &offset)
 
void SetEndOffset (const OffsetType &offset)
 
void SetIndex (const IndexType &ind)
 
const PixelTypeValue (void) const
 

Static Public Member Functions

static unsigned int GetImageDimension ()
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 

Protected Attributes

const InternalPixelTypem_Begin
 
IndexType m_BeginIndex
 
const InternalPixelTypem_End
 
IndexType m_EndIndex
 
TImage::ConstWeakPointer m_Image
 
OffsetValueType m_OffsetTable [ImageDimension+1]
 
AccessorType m_PixelAccessor
 
AccessorFunctorType m_PixelAccessorFunctor
 
const InternalPixelTypem_Position
 
IndexType m_PositionIndex
 
RegionType m_Region
 
bool m_Remaining
 

Private Attributes

OffsetType m_BeginOffset
 
OffsetType m_EndOffset
 
bool m_IsFirstPass [TImage::ImageDimension]
 

Detailed Description

template<typename TImage>
class itk::ReflectiveImageRegionConstIterator< TImage >

Multi-dimensional image iterator which only walks a region.

ReflectiveImageRegionConstIterator is a templated class to represent a multi-dimensional iterator. ReflectiveImageRegionConstIterator is templated over the image type. ReflectiveImageRegionConstIterator is constrained to walk only within the specified region.

ReflectiveImageRegionConstIterator will perform two passes over the image along each dimension. It is useful for algorithms that require to go back and forth (once) over the data.

By setting the BeginOffset and EndOffset parameters, you can arrange for the starting point, when going forwards, to be different from the ending point, when going backwards. Along dimension d, when going forwards the iterator traverses the interval [BeginIndex[d]+BeginOffset[d], EndIndex[d]). When going back, it traverses the interval (EndIndex[d]-EndOffset[d], BeginIndex[d]]. Setting both offsets to (1, ..., 1) enables the DanielssonDistanceMapImageFilter to process the entire image, without encountering boundary conditions, rather than removing a one-pixel border.

See Also
DanielssonDistanceMapImageFilter

Definition at line 53 of file itkReflectiveImageRegionConstIterator.h.

Member Typedef Documentation

template<typename TImage>
typedef TImage::AccessorFunctorType itk::ImageConstIteratorWithIndex< TImage >::AccessorFunctorType
inherited

Definition at line 133 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
typedef TImage::AccessorType itk::ImageConstIteratorWithIndex< TImage >::AccessorType
inherited

Accessor type that converts data between internal and external representations.

Definition at line 132 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
typedef TImage itk::ReflectiveImageRegionConstIterator< TImage >::ImageType

Image typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Note that we have to rescope Image back to itk::Image to that is it not confused with ImageIterator::Image.

Definition at line 70 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::IndexType itk::ReflectiveImageRegionConstIterator< TImage >::IndexType

Index typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Note that we have to rescope Index back to itk::Index to that is it not confused with ImageIterator::Index.

Definition at line 64 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef IndexType::IndexValueType itk::ImageConstIteratorWithIndex< TImage >::IndexValueType
inherited

Definition at line 106 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
typedef TImage::InternalPixelType itk::ImageConstIteratorWithIndex< TImage >::InternalPixelType
inherited

Internal Pixel Type

Definition at line 125 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
typedef TImage::OffsetType itk::ReflectiveImageRegionConstIterator< TImage >::OffsetType

Type of the Offset taken from the image. These typedefs are duplicated from the superclass for gcc support.

Definition at line 90 of file itkReflectiveImageRegionConstIterator.h.

Definition at line 91 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::PixelContainer itk::ReflectiveImageRegionConstIterator< TImage >::PixelContainer

PixelContainer typedef support. Used to refer to the container for the pixel data. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc.

Definition at line 76 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef PixelContainer::Pointer itk::ReflectiveImageRegionConstIterator< TImage >::PixelContainerPointer

Definition at line 77 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::PixelType itk::ImageConstIteratorWithIndex< TImage >::PixelType
inherited

External Pixel Type

Definition at line 128 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
typedef TImage::RegionType itk::ReflectiveImageRegionConstIterator< TImage >::RegionType

Region typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Note that we have to rescope Region back to itk::ImageRegion so that is it not confused with ImageIterator::Index.

Definition at line 84 of file itkReflectiveImageRegionConstIterator.h.

Standard class typedefs.

Definition at line 57 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::SizeType itk::ReflectiveImageRegionConstIterator< TImage >::SizeType

Definition at line 85 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::SizeValueType itk::ReflectiveImageRegionConstIterator< TImage >::SizeValueType

Definition at line 86 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef ImageConstIteratorWithIndex< TImage > itk::ReflectiveImageRegionConstIterator< TImage >::Superclass

Definition at line 58 of file itkReflectiveImageRegionConstIterator.h.

Constructor & Destructor Documentation

Default constructor. Needed since we provide a cast constructor.

Definition at line 27 of file itkReflectiveImageRegionConstIterator.hxx.

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::~ReflectiveImageRegionConstIterator ( )
inline

Default destructor.

Definition at line 97 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage >
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator ( TImage *  ptr,
const RegionType region 
)

Constructor establishes an iterator to walk a particular image and a particular region of that image.

Definition at line 39 of file itkReflectiveImageRegionConstIterator.hxx.

template<typename TImage >
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator ( const Self it)

Copy Constructor. The copy constructor is provided to make sure the handle to the image is properly reference counted.

Definition at line 53 of file itkReflectiveImageRegionConstIterator.hxx.

template<typename TImage >
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator ( const ImageConstIteratorWithIndex< TImage > &  it)

Constructor that can be used to cast from an ImageIterator to an ReflectiveImageRegionConstIterator. Many routines return an ImageIterator but for a particular task, you may want an ReflectiveImageRegionConstIterator. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from * an ImageIterator to a ReflectiveImageRegionConstIterator.

Definition at line 61 of file itkReflectiveImageRegionConstIterator.hxx.

References itk::ImageConstIteratorWithIndex< TImage >::operator=().

Member Function Documentation

template<typename TImage >
void itk::ReflectiveImageRegionConstIterator< TImage >::FillOffsets ( const OffsetValueType value)

Fill both offsets with a single value.

Definition at line 125 of file itkReflectiveImageRegionConstIterator.hxx.

template<typename TImage>
PixelType itk::ImageConstIteratorWithIndex< TImage >::Get ( void  ) const
inlineinherited

Get the pixel value

Definition at line 246 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::InterpolateImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::MinimumMaximumImageCalculator< TInputImage >::Compute(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Compute(), itk::LevelSetDomainMapImageFilter< TInputImage, TOutputImage >::ComputeConsistentRegion(), itk::MinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), itk::MinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::ComputeVoronoiMap(), otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CopyCoefficientsToScratch(), itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CopyCoefficientsToScratch(), itk::BSplineResampleImageFilterBase< TInputImage, TOutputImage >::CopyInputLineToScratch(), itk::BSplineResampleImageFilterBase< TInputImage, TOutputImage >::CopyLineToScratch(), itk::BSplineResampleImageFilterBase< TInputImage, TOutputImage >::CopyOutputLineToScratch(), itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::EvaluateAtContinuousIndex(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(), otb::VectorImageToImageListFilter< TVectorImageType, TImageList >::GenerateData(), otb::AddCarvingPathFilter< TInputImage, TInputPath, TOutputImage >::GenerateData(), itk::EigenAnalysis2DImageFilter< TInputImage, TEigenValueImage, TEigenVectorImage >::GenerateData(), itk::LevelSetDomainMapImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::GrayscaleGrindPeakImageFilter< TInputImage, TOutputImage >::GenerateData(), otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >::GenerateData(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::GenerateData(), itk::N4BiasFieldCorrectionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::GenerateInputRequestedRegion(), itk::TileImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation(), itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetCircles(), itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits >::Initialize(), itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits >::Initialize(), itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Initialize(), otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap(), otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::PrepareData(), itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetInput(), itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >::SetKernel(), itk::TimeVaryingBSplineVelocityFieldImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::StartOptimization(), itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::TakeAPrior(), itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::TakeAPrior(), otb::PersistentVectorImageToMatrixFilter< TInputImage >::ThreadedGenerateData(), otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::LabelImageToLabelMapWithAdjacencyFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::ComposeDisplacementFieldsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::DisparityMapTo3DFilter< TDisparityImage, TOutputImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), otb::PersistentHistogramVectorImageFilter< TInputImage >::ThreadedGenerateData(), otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >::ThreadedGenerateData(), otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::ThreadedGenerateData(), and itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::ThreadedGenerateData().

template<typename TImage>
OffsetType itk::ReflectiveImageRegionConstIterator< TImage >::GetBeginOffset ( const OffsetType )
inline

Get the begin offset. Forward iteration starts at this offset from the current region.

Definition at line 152 of file itkReflectiveImageRegionConstIterator.h.

References itk::ReflectiveImageRegionConstIterator< TImage >::m_BeginOffset.

template<typename TImage>
OffsetType itk::ReflectiveImageRegionConstIterator< TImage >::GetEndOffset ( const OffsetType )
inline

Get the end offset. Reverse iteration starts at this offset from the current region.

Definition at line 157 of file itkReflectiveImageRegionConstIterator.h.

References itk::ReflectiveImageRegionConstIterator< TImage >::m_EndOffset.

template<typename TImage>
static unsigned int itk::ImageConstIteratorWithIndex< TImage >::GetImageDimension ( )
inlinestaticinherited

Get the dimension (size) of the index.

Definition at line 160 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::ThreadedGenerateData().

template<typename TImage>
const IndexType& itk::ImageConstIteratorWithIndex< TImage >::GetIndex ( void  ) const
inlineinherited

Get the index. This provides a read only reference to the index.

See Also
SetIndex

Definition at line 225 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::BSplineInterpolationWeightFunction(), itk::BSplineControlPointImageFilter< TInputImage, TOutputImage >::CollapsePhiLattice(), itk::BSplineScatteredDataPointSetToImageFilter< TInputPointSet, TOutputImage >::CollapsePhiLattice(), itk::MinimumMaximumImageCalculator< TInputImage >::Compute(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Compute(), itk::LevelSetDomainMapImageFilter< TInputImage, TOutputImage >::ComputeConsistentRegion(), itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToParameters(), itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToParameters(), itk::MinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), itk::MinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::ComputeVoronoiMap(), itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::EvaluateAtContinuousIndex(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(), itk::GaussianBlurImageFunction< TInputImage, TOutput >::EvaluateAtIndex(), itk::GaussianExponentialDiffeomorphicTransform< TScalar, NDimensions >::GaussianSmoothConstantVelocityField(), itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::GaussianSmoothDisplacementField(), itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GaussianSmoothDisplacementField(), itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GaussianSmoothTimeVaryingVelocityField(), otb::NNearestPointsLinearInterpolateDisplacementFieldGenerator< TPointSet, TDisplacementField >::GenerateData(), otb::NNearestTransformsLinearInterpolateDisplacementFieldGenerator< TPointSet, TDisplacementField >::GenerateData(), itk::VnlRealToHalfHermitianForwardFFTImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::VnlForwardFFTImageFilter< TInputImage, TOutputImage >::GenerateData(), otb::ScalarBufferToImageFileWriter< TBufferType, TOutputPixelType >::GenerateData(), itk::VnlHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::GenerateData(), otb::BSplinesInterpolateTransformDisplacementFieldGenerator< TPointSet, TDisplacementField >::GenerateData(), itk::LevelSetDomainMapImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), otb::OverlapSaveConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition >::GenerateData(), itk::DisplacementFieldToBSplineImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::GenerateData(), itk::N4BiasFieldCorrectionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::GenerateInputRequestedRegion(), itk::LevelSetEvolutionBase< TEquationContainer, TLevelSet >::InitializeIteration(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializePatchWeightsSmoothDisc(), otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap(), otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap(), itk::LevelSetDomainPartitionImageWithKdTree< TImage >::PopulateDomainWithKdTree(), itk::LevelSetDomainPartitionImage< TImage >::PopulateListDomain(), itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >::SetKernel(), itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage >::SetMetricSamplePoints(), itk::TimeVaryingBSplineVelocityFieldImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::StartOptimization(), itk::JointHistogramMutualInformationComputeJointPDFThreader< ThreadedImageRegionPartitioner< TJointHistogramMetric::VirtualImageDimension >, TJointHistogramMetric >::ThreadedExecution(), itk::LevelSetEvolutionComputeIterationThreader< LevelSetDenseImage< TImage >, ThreadedImageRegionPartitioner< TImage::ImageDimension >, TLevelSetEvolution >::ThreadedExecution(), itk::LevelSetEvolutionComputeIterationThreader< LevelSetDenseImage< TImage >, ThreadedIteratorRangePartitioner< typename TLevelSetEvolution::DomainMapImageFilterType::DomainMapType::const_iterator >, TLevelSetEvolution >::ThreadedExecution(), itk::PhysicalPointImageSource< TOutputImage >::ThreadedGenerateData(), otb::VectorImageTo3DScalarImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::ThreadedGenerateData(), itk::HalfToFullHermitianImageFilter< TInputImage >::ThreadedGenerateData(), otb::ScalarImageToPanTexTextureFilter< TInpuImage, TOutputImage >::ThreadedGenerateData(), otb::PersistentVectorImageToMatrixFilter< TInputImage >::ThreadedGenerateData(), otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::GridImageSource< TOutputImage >::ThreadedGenerateData(), otb::LabelImageToLabelMapWithAdjacencyFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::PadImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ScalarImageToAdvancedTexturesFilter< TInpuImage, TOutputImage >::ThreadedGenerateData(), itk::ComposeDisplacementFieldsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::DisparityMapTo3DFilter< TDisparityImage, TOutputImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::ThreadedGenerateData(), otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::ThreadedGenerateData(), otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::ThreadedGenerateData(), otb::PersistentHistogramVectorImageFilter< TInputImage >::ThreadedGenerateData(), otb::DEMToImageGenerator< TDEMImage >::ThreadedGenerateData(), otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BSplineControlPointImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::ThreadedGenerateData(), itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::ThreadedGenerateData(), and itk::BSplineScatteredDataPointSetToImageFilter< TInputPointSet, TOutputImage >::ThreadedGenerateDataForReconstruction().

template<typename TImage>
const RegionType& itk::ImageConstIteratorWithIndex< TImage >::GetRegion ( ) const
inlineinherited

Get the region that this iterator walks. ImageIterators know the beginning and the end of the region of the image to iterate over.

Definition at line 232 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >::operator=().

template<typename TImage >
void itk::ReflectiveImageRegionConstIterator< TImage >::GoToBegin ( void  )

Move an iterator to the beginning of the region.

Definition at line 94 of file itkReflectiveImageRegionConstIterator.hxx.

Referenced by itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::GenerateData().

template<typename TImage >
void itk::ImageConstIteratorWithIndex< TImage >::GoToReverseBegin ( void  )
inherited

Move an iterator to the End of the region.

Definition at line 182 of file itkImageConstIteratorWithIndex.hxx.

template<typename TImage>
bool itk::ReflectiveImageRegionConstIterator< TImage >::IsAtBegin ( void  ) const
inline

Is the iterator at the beginning of the region?

Definition at line 135 of file itkReflectiveImageRegionConstIterator.h.

References itk::ImageConstIteratorWithIndex< TImage >::m_Remaining.

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::IsAtEnd ( void  ) const
inlineinherited

Is the iterator at the end of the region?

Definition at line 280 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::InterpolateImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::MinimumMaximumImageCalculator< TInputImage >::Compute(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Compute(), itk::LevelSetDomainMapImageFilter< TInputImage, TOutputImage >::ComputeConsistentRegion(), itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToParameters(), itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToParameters(), itk::MinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), itk::MinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::ComputeVoronoiMap(), itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::DrawDiagram(), itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::EvaluateAtContinuousIndex(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(), itk::GaussianBlurImageFunction< TInputImage, TOutput >::EvaluateAtIndex(), itk::BSplineResampleImageFilterBase< TInputImage, TOutputImage >::ExpandNDImage(), otb::ScalarBufferToImageFileWriter< TBufferType, TOutputPixelType >::GenerateData(), itk::PathToImageFilter< TInputPath, TOutputImage >::GenerateData(), itk::EigenAnalysis2DImageFilter< TInputImage, TEigenValueImage, TEigenVectorImage >::GenerateData(), itk::LevelSetDomainMapImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::GenerateData(), otb::VCAImageFilter< TVectorImage >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::GrayscaleGrindPeakImageFilter< TInputImage, TOutputImage >::GenerateData(), otb::OverlapSaveConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition >::GenerateData(), otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >::GenerateData(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::GenerateData(), itk::N4BiasFieldCorrectionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::GenerateInputRequestedRegion(), itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetCircles(), itk::LevelSetEvolutionBase< TEquationContainer, TLevelSet >::InitializeIteration(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializePatchWeightsSmoothDisc(), otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap(), otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap(), itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >::MakeSegmentBoundary(), itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::MakeSegmentBoundary(), itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >::MakeSegmentObject(), itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::MakeSegmentObject(), itk::LevelSetDomainPartitionImageWithKdTree< TImage >::PopulateDomainWithKdTree(), itk::LevelSetDomainPartitionImage< TImage >::PopulateListDomain(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::PrepareData(), itk::BSplineResampleImageFilterBase< TInputImage, TOutputImage >::ReduceNDImage(), itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetInput(), itk::MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel >::SetKernel(), itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage >::SetMetricSamplePoints(), itk::LevelSetEvolutionComputeIterationThreader< LevelSetDenseImage< TImage >, ThreadedImageRegionPartitioner< TImage::ImageDimension >, TLevelSetEvolution >::ThreadedExecution(), itk::LevelSetEvolutionComputeIterationThreader< LevelSetDenseImage< TImage >, ThreadedIteratorRangePartitioner< typename TLevelSetEvolution::DomainMapImageFilterType::DomainMapType::const_iterator >, TLevelSetEvolution >::ThreadedExecution(), itk::PhysicalPointImageSource< TOutputImage >::ThreadedGenerateData(), otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::ThreadedGenerateData(), itk::CyclicShiftImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::HalfToFullHermitianImageFilter< TInputImage >::ThreadedGenerateData(), otb::ScalarImageToPanTexTextureFilter< TInpuImage, TOutputImage >::ThreadedGenerateData(), otb::PersistentVectorImageToMatrixFilter< TInputImage >::ThreadedGenerateData(), otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::GridImageSource< TOutputImage >::ThreadedGenerateData(), otb::LabelImageToLabelMapWithAdjacencyFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::PadImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ScalarImageToAdvancedTexturesFilter< TInpuImage, TOutputImage >::ThreadedGenerateData(), itk::ComposeDisplacementFieldsImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::DisparityMapTo3DFilter< TDisparityImage, TOutputImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::ThreadedGenerateData(), otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::ThreadedGenerateData(), otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::ThreadedGenerateData(), otb::PersistentHistogramVectorImageFilter< TInputImage >::ThreadedGenerateData(), otb::DEMToImageGenerator< TDEMImage >::ThreadedGenerateData(), otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >::ThreadedGenerateData(), otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BSplineControlPointImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::ThreadedGenerateData(), itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::ThreadedGenerateData(), and itk::BSplineScatteredDataPointSetToImageFilter< TInputPointSet, TOutputImage >::ThreadedGenerateDataForReconstruction().

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::IsAtReverseEnd ( void  ) const
inlineinherited

Is the iterator at the beginning of the region?

Definition at line 274 of file itkImageConstIteratorWithIndex.h.

template<typename TImage >
bool itk::ReflectiveImageRegionConstIterator< TImage >::IsReflected ( unsigned int  dim) const
template<typename TImage>
itk::ImageConstIteratorWithIndex< TImage >::itkLegacyMacro ( Self Begin(void)  const)
inherited

Move an iterator to the beginning of the region.

Deprecated:
Use GoToBegin() instead
template<typename TImage>
itk::ImageConstIteratorWithIndex< TImage >::itkLegacyMacro ( Self End(void)  const)
inherited

Move an iterator to the End of the region.

Deprecated:
Use GoToReverseBegin() instead
template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::operator!= ( const Self it) const
inlineinherited

Comparison operator. Two iterators are the same if they "point to" the same memory location

Definition at line 168 of file itkImageConstIteratorWithIndex.h.

template<typename TImage >
ReflectiveImageRegionConstIterator< TImage > & itk::ReflectiveImageRegionConstIterator< TImage >::operator++ ( )

Increment (prefix) the fastest moving dimension of the iterator's index. This operator will constrain the iterator within the region (i.e. the iterator will automatically wrap from the end of the row of the region to the beginning of the next row of the region) up until the iterator tries to moves past the last pixel of the region. Here, the iterator will be set to be one pixel past the end of the region.

See Also
operator++(int)

Definition at line 140 of file itkReflectiveImageRegionConstIterator.hxx.

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::operator< ( const Self it) const
inlineinherited

Comparison operator. An iterator is "less than" another if it "points to" a lower memory location.

Definition at line 196 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::operator<= ( const Self it) const
inlineinherited

Comparison operator. An iterator is "less than" another if it "points to" a lower memory location.

Definition at line 186 of file itkImageConstIteratorWithIndex.h.

template<typename TImage >
ReflectiveImageRegionConstIterator< TImage > & itk::ReflectiveImageRegionConstIterator< TImage >::operator= ( const Self it)

operator= is provided to make sure the handle to the image is properly reference counted.

Definition at line 76 of file itkReflectiveImageRegionConstIterator.hxx.

References itk::ImageConstIteratorWithIndex< TImage >::operator=().

Referenced by itk::ReflectiveImageRegionIterator< TImage >::operator=().

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::operator== ( const Self it) const
inlineinherited

Comparison operator. Two iterators are the same if they "point to" the same memory location

Definition at line 177 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::operator> ( const Self it) const
inlineinherited

Comparison operator. An iterator is "greater than" another if it "points to" a higher location.

Definition at line 216 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::operator>= ( const Self it) const
inlineinherited

Comparison operator. An iterator is "greater than" another if it "points to" a higher location.

Definition at line 206 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::Remaining ( )
inlineinherited

Are there data remaining in the region ?

Definition at line 286 of file itkImageConstIteratorWithIndex.h.

template<typename TImage>
void itk::ReflectiveImageRegionConstIterator< TImage >::SetBeginOffset ( const OffsetType offset)
inline

Set the begin offset. Forward iteration starts at this offset from the current region.

Definition at line 142 of file itkReflectiveImageRegionConstIterator.h.

References itk::ReflectiveImageRegionConstIterator< TImage >::m_BeginOffset.

Referenced by itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::GenerateData().

template<typename TImage>
void itk::ReflectiveImageRegionConstIterator< TImage >::SetEndOffset ( const OffsetType offset)
inline

Set the end offset. Reverse iteration starts at this offset from the current region.

Definition at line 147 of file itkReflectiveImageRegionConstIterator.h.

References itk::ReflectiveImageRegionConstIterator< TImage >::m_EndOffset.

Referenced by itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::GenerateData().

template<typename TImage>
void itk::ImageConstIteratorWithIndex< TImage >::SetIndex ( const IndexType ind)
inlineinherited
template<typename TImage>
const PixelType& itk::ImageConstIteratorWithIndex< TImage >::Value ( void  ) const
inlineinherited

Return a const reference to the pixel This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors.

Definition at line 254 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::ImageMomentsCalculator< TImage >::Compute().

Member Data Documentation

template<typename TImage>
const unsigned int itk::ImageConstIteratorWithIndex< TImage >::ImageDimension = TImage::ImageDimension
staticinherited

Dimension of the image that the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks.

Definition at line 102 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::ImageConstIteratorWithIndex< TImageType >::GetImageDimension().

template<typename TImage>
const InternalPixelType* itk::ImageConstIteratorWithIndex< TImage >::m_Begin
protectedinherited
template<typename TImage>
IndexType itk::ImageConstIteratorWithIndex< TImage >::m_BeginIndex
protectedinherited
template<typename TImage>
OffsetType itk::ReflectiveImageRegionConstIterator< TImage >::m_BeginOffset
private
template<typename TImage>
const InternalPixelType* itk::ImageConstIteratorWithIndex< TImage >::m_End
protectedinherited
template<typename TImage>
IndexType itk::ImageConstIteratorWithIndex< TImage >::m_EndIndex
protectedinherited
template<typename TImage>
OffsetType itk::ReflectiveImageRegionConstIterator< TImage >::m_EndOffset
private
template<typename TImage>
TImage::ConstWeakPointer itk::ImageConstIteratorWithIndex< TImage >::m_Image
protectedinherited
template<typename TImage>
bool itk::ReflectiveImageRegionConstIterator< TImage >::m_IsFirstPass[TImage::ImageDimension]
private

Definition at line 164 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
OffsetValueType itk::ImageConstIteratorWithIndex< TImage >::m_OffsetTable[ImageDimension+1]
protectedinherited
template<typename TImage>
AccessorType itk::ImageConstIteratorWithIndex< TImage >::m_PixelAccessor
protectedinherited
template<typename TImage>
AccessorFunctorType itk::ImageConstIteratorWithIndex< TImage >::m_PixelAccessorFunctor
protectedinherited
template<typename TImage>
const InternalPixelType* itk::ImageConstIteratorWithIndex< TImage >::m_Position
protectedinherited

Definition at line 304 of file itkImageConstIteratorWithIndex.h.

Referenced by itk::ImageConstIteratorWithIndex< TImageType >::Get(), itk::ImageConstIteratorWithIndex< TImage >::ImageConstIteratorWithIndex(), itk::ImageConstIteratorWithIndex< TImageType >::operator!=(), itk::ImageLinearConstIteratorWithIndex< TImageType >::operator++(), itk::ImageLinearConstIteratorWithIndex< TImageType >::operator--(), itk::ImageConstIteratorWithIndex< TImageType >::operator<(), itk::ImageConstIteratorWithIndex< TImageType >::operator<=(), itk::ImageConstIteratorWithIndex< TImage >::operator=(), itk::ImageConstIteratorWithIndex< TImageType >::operator==(), itk::ImageConstIteratorWithIndex< TImageType >::operator>(), itk::ImageConstIteratorWithIndex< TImageType >::operator>=(), itk::ReflectiveImageRegionIterator< TImage >::Set(), itk::ImageLinearIteratorWithIndex< TImageType >::Set(), itk::ImageRandomIteratorWithIndex< TImage >::Set(), itk::ImageRegionExclusionIteratorWithIndex< TImage >::Set(), itk::ImageSliceIteratorWithIndex< TImage >::Set(), itk::ImageRegionIteratorWithIndex< InputImageType >::Set(), itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >::Set(), itk::ImageIteratorWithIndex< TImage >::Set(), itk::ImageConstIteratorWithIndex< TImageType >::SetIndex(), itk::ReflectiveImageRegionIterator< TImage >::Value(), itk::ImageRegionExclusionIteratorWithIndex< TImage >::Value(), itk::ImageRandomIteratorWithIndex< TImage >::Value(), itk::ImageLinearIteratorWithIndex< TImageType >::Value(), itk::ImageSliceIteratorWithIndex< TImage >::Value(), itk::ImageRegionIteratorWithIndex< InputImageType >::Value(), itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >::Value(), itk::ImageIteratorWithIndex< TImage >::Value(), and itk::ImageConstIteratorWithIndex< TImageType >::Value().

template<typename TImage>
IndexType itk::ImageConstIteratorWithIndex< TImage >::m_PositionIndex
protectedinherited
template<typename TImage>
RegionType itk::ImageConstIteratorWithIndex< TImage >::m_Region
protectedinherited
template<typename TImage>
bool itk::ImageConstIteratorWithIndex< TImage >::m_Remaining
protectedinherited

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

Generated at Sat Mar 8 2014 17:37:37 for Orfeo Toolbox with doxygen 1.8.3.1