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

Regular subsample iterator over an image. More...

#include <otbSubsampledImageRegionConstIterator.h>

+ Inheritance diagram for otb::SubsampledImageRegionConstIterator< TImage >:
+ Collaboration diagram for otb::SubsampledImageRegionConstIterator< TImage >:

Public Types

typedef TImage::AccessorFunctorType AccessorFunctorType
 
typedef Superclass::AccessorType AccessorType
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::IndexType IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef unsigned long OffsetType
 
typedef Superclass::PixelContainer PixelContainer
 
typedef
Superclass::PixelContainerPointer 
PixelContainerPointer
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::RegionType RegionType
 
typedef
SubsampledImageRegionConstIterator 
Self
 
typedef Superclass::SizeType SizeType
 
typedef
itk::ImageRegionConstIterator
< TImage > 
Superclass
 

Public Member Functions

 SubsampledImageRegionConstIterator ()
 
 SubsampledImageRegionConstIterator (const ImageType *ptr, const RegionType &region)
 
 SubsampledImageRegionConstIterator (const itk::ImageIterator< TImage > &it)
 
 SubsampledImageRegionConstIterator (const itk::ImageConstIterator< TImage > &it)
 
RegionType GenerateOutputInformation () const
 
PixelType Get (void) const
 
const ImageTypeGetImage () const
 
IndexType GetIndex () const
 
virtual const char * GetNameOfClass () const
 
const OffsetType GetOffset () const
 
const RegionTypeGetRegion () const
 
const IndexTypeGetSubsampleFactor () const
 
void GoToBegin ()
 
void GoToEnd ()
 
bool IsAtBegin (void) const
 
bool IsAtEnd (void) const
 
 itkLegacyMacro (Self Begin(void) const)
 
 itkLegacyMacro (Self End(void) const)
 
bool operator!= (const Self &it) const
 
Selfoperator++ ()
 
Selfoperator-- ()
 
bool operator< (const Self &it) const
 
bool operator<= (const Self &it) const
 
bool operator== (const Self &it) const
 
bool operator> (const Self &it) const
 
bool operator>= (const Self &it) const
 
void SetIndex (const IndexType &ind)
 
void SetIndex (const IndexType &ind)
 
void SetOffset (const OffsetType &offset)
 
virtual void SetRegion (const RegionType &region)
 
void SetSubsampleFactor (IndexValueType factor)
 
void SetSubsampleFactor (const IndexType &factor)
 
const PixelTypeValue (void) const
 

Static Public Member Functions

static unsigned int GetImageIteratorDimension ()
 

Static Public Attributes

static const unsigned int ImageIteratorDimension = Superclass::ImageIteratorDimension
 

Protected Attributes

OffsetValueType m_BeginOffset
 
const InternalPixelTypem_Buffer
 
OffsetValueType m_EndOffset
 
IndexType m_FirstUsableIndex
 
TImage::ConstWeakPointer m_Image
 
IndexType m_LastUsableIndex
 
OffsetValueType m_Offset
 
AccessorType m_PixelAccessor
 
AccessorFunctorType m_PixelAccessorFunctor
 
RegionType m_Region
 
OffsetValueType m_SpanBeginOffset
 
OffsetValueType m_SpanEndOffset
 
unsigned long m_SubSampledBeginOffset
 
long m_SubSampledEndOffset
 
IndexType m_SubsampleFactor
 

Private Member Functions

void Decrement ()
 
void Increment ()
 

Detailed Description

template<class TImage>
class otb::SubsampledImageRegionConstIterator< TImage >

Regular subsample iterator over an image.

SubsampledImageRegionConstIterator This iterator is a itk::ImageRegionConstIterator that perform a subsampled scan over an image. It runs one pixel over X (in row, line, slice... dimensions), if X is the (integer) value of the SubsampleFactor.

Specific value of the subsample factor may be given for each dimension.

See Also
WaveletFilterBank

Definition at line 41 of file otbSubsampledImageRegionConstIterator.h.

Member Typedef Documentation

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

Definition at line 127 of file itkImageConstIterator.h.

Accessor type that convert data between internal and external representations.

Definition at line 93 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef Superclass::ImageType otb::SubsampledImageRegionConstIterator< 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.

Definition at line 72 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef Superclass::IndexType otb::SubsampledImageRegionConstIterator< 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.

Definition at line 61 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef IndexType::IndexValueType otb::SubsampledImageRegionConstIterator< TImage >::IndexValueType

Index value used for pixel location

Definition at line 97 of file otbSubsampledImageRegionConstIterator.h.

Internal Pixel Type

Definition at line 86 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef unsigned long otb::SubsampledImageRegionConstIterator< TImage >::OffsetType

Offset typedef support. This explicit redefinition allows to Set/Get the location of the iterator.

Definition at line 77 of file otbSubsampledImageRegionConstIterator.h.

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 82 of file otbSubsampledImageRegionConstIterator.h.

Definition at line 83 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef Superclass::PixelType otb::SubsampledImageRegionConstIterator< TImage >::PixelType

External Pixel Type

Definition at line 89 of file otbSubsampledImageRegionConstIterator.h.

Region typedef support.

Definition at line 68 of file otbSubsampledImageRegionConstIterator.h.

Standard typedef.

Definition at line 46 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef Superclass::SizeType otb::SubsampledImageRegionConstIterator< TImage >::SizeType

Size 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.

Definition at line 65 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
typedef itk::ImageRegionConstIterator<TImage> otb::SubsampledImageRegionConstIterator< TImage >::Superclass

Definition at line 47 of file otbSubsampledImageRegionConstIterator.h.

Constructor & Destructor Documentation

Default constructor. Needed since we provide a cast constructor.

Definition at line 30 of file otbSubsampledImageRegionConstIterator.txx.

template<class TImage >
otb::SubsampledImageRegionConstIterator< TImage >::SubsampledImageRegionConstIterator ( const ImageType ptr,
const RegionType region 
)

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

Definition at line 48 of file otbSubsampledImageRegionConstIterator.txx.

template<class TImage>
otb::SubsampledImageRegionConstIterator< TImage >::SubsampledImageRegionConstIterator ( const itk::ImageIterator< TImage > &  it)

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

Definition at line 66 of file otbSubsampledImageRegionConstIterator.txx.

template<class TImage>
otb::SubsampledImageRegionConstIterator< TImage >::SubsampledImageRegionConstIterator ( const itk::ImageConstIterator< TImage > &  it)

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

Definition at line 84 of file otbSubsampledImageRegionConstIterator.txx.

Member Function Documentation

template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::Decrement ( )
private

Definition at line 315 of file otbSubsampledImageRegionConstIterator.txx.

template<class TImage >
SubsampledImageRegionConstIterator< TImage >::RegionType otb::SubsampledImageRegionConstIterator< TImage >::GenerateOutputInformation ( void  ) const

GenerateOutputInformation. In order to help copy into a new Image, give the new region parameters

Definition at line 217 of file otbSubsampledImageRegionConstIterator.txx.

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

Get the pixel value

Definition at line 321 of file itkImageConstIterator.h.

Referenced by itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::AdaptTransformParameters(), itk::BSplineScatteredDataPointSetToImageFilter< TInputPointSet, TOutputImage >::AfterThreadedGenerateData(), itk::FlatStructuringElement< VDimension >::Annulus(), itk::FlatStructuringElement< VDimension >::Ball(), itk::ScalarToRGBColormapImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::BilateralImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::CalculateAdvectionImage(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::CalculateAdvectionImage(), itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::CalculateBasisMatrix(), itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::CalculateInnerProduct(), otb::MeanShiftSmoothingImageFilter< TInputImage, TOutputImage, TKernel, TOutputIterationImage >::CalculateMeanShiftVector(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::CalculateSpeedImage(), itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::CalculateSpeedImage(), itk::BayesianClassifierImageFilter< TInputVectorImage, TLabelsType, TPosteriorsPrecisionType, TPriorsPrecisionType >::ClassifyBasedOnPosteriors(), itk::watershed::Segmenter< TInputImage >::CollectBoundaryInformation(), itk::BayesianClassifierImageFilter< TInputVectorImage, TLabelsType, TPosteriorsPrecisionType, TPriorsPrecisionType >::ComputeBayesRule(), itk::FlatStructuringElement< VDimension >::ComputeBufferFromLines(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::ComputeMaximumInputValue(), itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::CorrectImage(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement(), itk::ImageAlgorithm::DispatchedCopy(), itk::ImageGaussianModelEstimator< TInputImage, TMembershipFunction, TTrainingImage >::EstimateGaussianModelParameters(), itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::EstimatePCAShapeModelParameters(), itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::ExpImage(), itk::LevelSetEquationAdvectionTerm< TInput, TLevelSetContainer >::GenerateAdvectionImage(), otb::BSplinesInterpolateDisplacementFieldGenerator< TPointSet, TDisplacementField >::GenerateData(), itk::TobogganImageFilter< TInputImage >::GenerateData(), itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::LaplacianSharpeningImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::BinaryDilateImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), itk::BinaryErodeImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData(), otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GenerateData(), itk::ApproximateSignedDistanceMapImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::Hessian3DToVesselnessMeasureImageFilter< TPixel >::GenerateData(), itk::IsolatedWatershedImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::ExponentialDisplacementFieldImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::ExponentialDeformationFieldImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::MaskFeaturePointSelectionFilter< TImage, TMask, TFeatures >::GenerateData(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData(), itk::FastChamferDistanceImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::ConnectedComponentFunctorImageFilter< TInputImage, TOutputImage, TFunctor, TMaskImage >::GenerateData(), itk::RGBGibbsPriorFilter< TInputImage, TClassifiedImage >::GenerateData(), otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >::GenerateData(), itk::BayesianClassifierInitializationImageFilter< TInputImage, TProbabilityPrecisionType >::GenerateData(), itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::RelabelComponentImageFilter< TInputImage, TOutputImage >::GenerateData(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::GenerateData(), itk::MRFImageFilter< TInputImage, TClassifiedImage >::GenerateData(), itk::N4BiasFieldCorrectionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData(), itk::MRASlabIdentifier< TInputImage >::GenerateSlabRegions(), itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::GetMeasurementVector(), itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >::GetValue(), itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::GPUGenerateData(), itk::watershed::Segmenter< TInputImage >::GradientDescent(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InitializeBackgroundPixels(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InitializeBackgroundPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::InitializeConfusionMatrixArrayFromVoting(), itk::BayesianClassifierInitializationImageFilter< TInputImage, TProbabilityPrecisionType >::InitializeMembershipFunctions(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::InitializePriorProbabilities(), itk::GradientVectorFlowImageFilter< TInputImage, TOutputImage, TInternalPixel >::InitInterImage(), itk::ParametricBlindLeastSquaresDeconvolutionImageFilter< TInputImage, TKernelSource, TOutputImage >::Iteration(), itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::Log1PImage(), itk::watershed::Segmenter< TInputImage >::MinMax(), itk::BayesianClassifierImageFilter< TInputVectorImage, TLabelsType, TPosteriorsPrecisionType, TPriorsPrecisionType >::NormalizeAndSmoothPosteriors(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::PrepareData(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::PrepareData(), itk::watershed::Segmenter< TInputImage >::RelabelImage(), itk::N4BiasFieldCorrectionImageFilter< TInputImage, TMaskImage, TOutputImage >::SharpenImage(), itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >::ThreadedComputeHistogram(), itk::Statistics::ImageToHistogramFilter< TImage >::ThreadedComputeHistogram(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeImageUpdate(), itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >::ThreadedComputeMinimumAndMaximum(), itk::Statistics::ImageToHistogramFilter< TImage >::ThreadedComputeMinimumAndMaximum(), itk::LevelSetEvolutionUpdateLevelSetsThreader< LevelSetDenseImage< TImage >, ThreadedImageRegionPartitioner< TImage::ImageDimension >, TLevelSetEvolution >::ThreadedExecution(), otb::ThresholdImageToPointSetFilter< TInputImage, TOutputPointSet >::ThreadedGenerateData(), otb::TileImageFilter< TImage >::ThreadedGenerateData(), otb::AngularProjectionBinaryImageFilter< TInputImage, TOutputImage, TPrecision >::ThreadedGenerateData(), otb::EstimateInnerProductPCAImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VectorImageToIntensityImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::DecimateImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BoxAndWhiskerImageFilter< TInputImage >::ThreadedGenerateData(), otb::FastICAInternalOptimizerVectorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::NormalizeInnerProductPCAImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PersistentInnerProductVectorImageFilter< TInputImage >::ThreadedGenerateData(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::MaskMuParserFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::ThreadedGenerateData(), otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::ThreadedGenerateData(), itk::FlipImageFilter< TImage >::ThreadedGenerateData(), itk::MinimumMaximumImageFilter< TInputImage >::ThreadedGenerateData(), itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PersistentMinMaxImageFilter< TInputImage >::ThreadedGenerateData(), itk::SimilarityIndexImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::PersistentCompareImageFilter< TInputImage >::ThreadedGenerateData(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), itk::InvertDisplacementFieldImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::LabelMapOverlayImageFilter< TLabelMap, TFeatureImage, TOutputImage >::ThreadedGenerateData(), otb::DisparityMapTo3DFilter< TDisparityImage, TOutputImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), itk::TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunction >::ThreadedGenerateData(), itk::DirectedHausdorffDistanceImageFilter< TInputImage1, TInputImage2 >::ThreadedGenerateData(), otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::ThreadedGenerateData(), otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData(), itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), itk::StatisticsImageFilter< TInputImage >::ThreadedGenerateData(), itk::ScalarToRGBColormapImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::PersistentStatisticsImageFilter< TInputImage >::ThreadedGenerateData(), otb::PersistentMatrixTransposeMatrixImageFilter< TInputImage, TInputImage2 >::ThreadedGenerateData(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData(), otb::MultiChannelsPolarimetricSynthesisFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::GrayscaleGeodesicDilateImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), itk::GrayscaleGeodesicErodeImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), itk::LabelMapContourOverlayImageFilter< TLabelMap, TFeatureImage, TOutputImage >::ThreadedGenerateData(), otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::ThreadedGenerateData(), itk::LabelOverlapMeasuresImageFilter< TLabelImage >::ThreadedGenerateData(), itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ThreadedGenerateData(), otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::ThreadedGenerateData(), otb::WarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::ThreadedGenerateData(), itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDisplacementField >::ThreadedGenerateData(), itk::WarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::ThreadedGenerateData(), itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::ThreadedGenerateData(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ThreadedGenerateData(), otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::INVERSE >::ThreadedGenerateData(), otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::FORWARD >::ThreadedGenerateDataAtDimensionN(), otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::INVERSE >::ThreadedGenerateDataAtDimensionN(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedInitializeData(), itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedPostProcessOutput(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedRiemannianMinMax(), itk::watershed::Segmenter< TInputImage >::Threshold(), itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::TransformOutputPixel(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement(), itk::GradientVectorFlowImageFilter< TInputImage, TOutputImage, TInternalPixel >::UpdatePixels(), and itk::ImageSeriesWriter< TInputImage, TOutputImage >::WriteFiles().

template<typename TImage>
const ImageType* itk::ImageConstIterator< TImage >::GetImage ( ) const
inlineinherited
template<typename TImage>
static unsigned int itk::ImageConstIterator< TImage >::GetImageIteratorDimension ( )
inlinestaticinherited

Get the dimension (size) of the index.

Definition at line 238 of file itkImageConstIterator.h.

template<class TImage>
IndexType otb::SubsampledImageRegionConstIterator< TImage >::GetIndex ( ) const
inline
template<class TImage>
virtual const char* otb::SubsampledImageRegionConstIterator< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageRegionConstIterator< TImage >.

Reimplemented in otb::SubsampledImageRegionIterator< TImage >.

template<class TImage>
const OffsetType otb::SubsampledImageRegionConstIterator< TImage >::GetOffset ( ) const
inline
template<typename TImage>
const RegionType& itk::ImageConstIterator< TImage >::GetRegion ( ) const
inlineinherited

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

Definition at line 313 of file itkImageConstIterator.h.

Referenced by itk::ImageReverseConstIterator< TImage >::ImageReverseConstIterator(), and itk::ImageReverseConstIterator< TImage >::operator=().

template<class TImage>
const IndexType& otb::SubsampledImageRegionConstIterator< TImage >::GetSubsampleFactor ( ) const
inline

Definition at line 128 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::GoToBegin ( void  )

Move an iterator to the beginning of the region. "Begin" is defined as the first pixel in the region.

Definition at line 143 of file otbSubsampledImageRegionConstIterator.txx.

Referenced by otb::DecimateImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), and otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::ThreadedGenerateData().

template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::GoToEnd ( )

Move an iterator to the end of the region. "End" is defined as one pixel past the last pixel of the region.

Definition at line 158 of file otbSubsampledImageRegionConstIterator.txx.

template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::Increment ( )
private

Definition at line 271 of file otbSubsampledImageRegionConstIterator.txx.

template<class TImage>
bool otb::SubsampledImageRegionConstIterator< TImage >::IsAtBegin ( void  ) const
inline

Is the iterator at the beginning of the region? "Begin" is defined here as before the first pixel of the region. On the contrary to Superclasses, now you cannot get *it even if IsAtBegin() is true!!!

Definition at line 147 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
bool otb::SubsampledImageRegionConstIterator< TImage >::IsAtEnd ( void  ) const
inline

Is the iterator at the end of the region? "End" is defined as past the last candidate pixel of the region (under the subsample point of view).

For instance, if in 1D, the Size is 10 with a subsample factor of 4, the last candidate offset would be 8.

Definition at line 159 of file otbSubsampledImageRegionConstIterator.h.

Referenced by otb::DecimateImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), and otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::ThreadedGenerateData().

template<typename TImage>
itk::ImageRegionConstIterator< TImage >::itkLegacyMacro ( Self Begin(void)  const)
inherited

Return an iterator for the beginning of the region. "Begin" is defined as the first pixel in the region.

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

Return an iterator for the end of the region. "End" is defined as one pixel past the last pixel of the region.

Deprecated:
Use GoToEnd() instead
template<typename TImage>
bool itk::ImageConstIterator< 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 244 of file itkImageConstIterator.h.

template<class TImage>
Self& otb::SubsampledImageRegionConstIterator< TImage >::operator++ ( )
inline

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 182 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
Self& otb::SubsampledImageRegionConstIterator< TImage >::operator-- ( )
inline

Decrement (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 beginning of the row of the region to the end of the next row of the region) up until the iterator tries to moves past the first pixel of the region. Here, the iterator will be set to be one pixel past the beginning of the region.

See Also
operator–(int)

Definition at line 205 of file otbSubsampledImageRegionConstIterator.h.

template<typename TImage>
bool itk::ImageConstIterator< 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 272 of file itkImageConstIterator.h.

template<typename TImage>
bool itk::ImageConstIterator< 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 262 of file itkImageConstIterator.h.

template<typename TImage>
bool itk::ImageConstIterator< 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 253 of file itkImageConstIterator.h.

template<typename TImage>
bool itk::ImageConstIterator< 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 292 of file itkImageConstIterator.h.

template<typename TImage>
bool itk::ImageConstIterator< 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 282 of file itkImageConstIterator.h.

template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::SetIndex ( const IndexType ind)

Set the index. It is moved to the next available (usable) index.

See Also
GetIndex

Definition at line 168 of file otbSubsampledImageRegionConstIterator.txx.

Referenced by otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::ThreadedGenerateData().

template<typename TImage>
void itk::ImageRegionConstIterator< TImage >::SetIndex ( const IndexType ind)
inlinevirtualinherited
template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::SetOffset ( const OffsetType offset)

This iterator give the possibility to Set/Get the current location if scanning. No Bound checking is performed when setting the position.

Definition at line 201 of file otbSubsampledImageRegionConstIterator.txx.

Referenced by otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::ThreadedGenerateData().

template<typename TImage>
virtual void itk::ImageConstIterator< TImage >::SetRegion ( const RegionType region)
inlinevirtualinherited

Set the region of the image to iterate over.

Definition at line 200 of file itkImageConstIterator.h.

Referenced by itk::ImageConstIterator< ImageType >::ImageConstIterator().

template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::SetSubsampleFactor ( typename IndexType::IndexValueType  factor)
template<class TImage >
void otb::SubsampledImageRegionConstIterator< TImage >::SetSubsampleFactor ( const IndexType factor)

Set / Get the subsample factor

Definition at line 114 of file otbSubsampledImageRegionConstIterator.txx.

template<typename TImage>
const PixelType& itk::ImageConstIterator< TImage >::Value ( void  ) const
inlineinherited

Member Data Documentation

template<class TImage>
const unsigned int otb::SubsampledImageRegionConstIterator< TImage >::ImageIteratorDimension = Superclass::ImageIteratorDimension
static

Dimension of the image 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 57 of file otbSubsampledImageRegionConstIterator.h.

template<typename TImage>
OffsetValueType itk::ImageConstIterator< TImage >::m_BeginOffset
protectedinherited
template<typename TImage>
const InternalPixelType* itk::ImageConstIterator< TImage >::m_Buffer
protectedinherited
template<typename TImage>
OffsetValueType itk::ImageConstIterator< TImage >::m_EndOffset
protectedinherited
template<class TImage>
IndexType otb::SubsampledImageRegionConstIterator< TImage >::m_FirstUsableIndex
protected

Definition at line 240 of file otbSubsampledImageRegionConstIterator.h.

template<typename TImage>
TImage::ConstWeakPointer itk::ImageConstIterator< TImage >::m_Image
protectedinherited
template<class TImage>
IndexType otb::SubsampledImageRegionConstIterator< TImage >::m_LastUsableIndex
protected

Definition at line 241 of file otbSubsampledImageRegionConstIterator.h.

template<typename TImage>
OffsetValueType itk::ImageConstIterator< TImage >::m_Offset
protectedinherited

Definition at line 375 of file itkImageConstIterator.h.

Referenced by itk::ImageConstIterator< ImageType >::Get(), itk::ImageConstIterator< ImageType >::GetIndex(), otb::Meanshift::FastImageRegionConstIterator< TImage >::GetPixelPointer(), itk::ImageConstIterator< ImageType >::GoToBegin(), itk::ImageConstIterator< ImageType >::GoToEnd(), itk::ImageConstIterator< ImageType >::ImageConstIterator(), itk::ImageRegionConstIterator< ImageType >::ImageRegionConstIterator(), itk::ImageScanlineConstIterator< TImage >::ImageScanlineConstIterator(), itk::ImageConstIterator< ImageType >::IsAtBegin(), itk::ImageConstIterator< ImageType >::IsAtEnd(), itk::ImageScanlineConstIterator< TImage >::IsAtEndOfLine(), itk::ImageConstIterator< ImageType >::operator!=(), itk::ImageScanlineConstIterator< TImage >::operator++(), itk::ImageRegionConstIterator< ImageType >::operator++(), itk::ImageScanlineConstIterator< TImage >::operator--(), itk::ImageRegionConstIterator< ImageType >::operator--(), itk::ImageConstIterator< ImageType >::operator<(), itk::ImageConstIterator< ImageType >::operator<=(), itk::ImageConstIterator< ImageType >::operator=(), itk::ImageConstIterator< ImageType >::operator==(), itk::ImageConstIterator< ImageType >::operator>(), itk::ImageConstIterator< ImageType >::operator>=(), itk::ImageScanlineIterator< TImage >::Set(), itk::ImageIterator< TImage >::Set(), itk::ImageRegionIterator< TImage >::Set(), itk::ImageScanlineConstIterator< TImage >::SetIndex(), itk::ImageRegionConstIterator< ImageType >::SetIndex(), itk::ImageConstIterator< ImageType >::SetIndex(), itk::ImageConstIterator< ImageType >::SetRegion(), itk::ImageScanlineIterator< TImage >::Value(), itk::ImageRegionIterator< TImage >::Value(), itk::ImageIterator< TImage >::Value(), and itk::ImageConstIterator< ImageType >::Value().

template<typename TImage>
AccessorType itk::ImageConstIterator< TImage >::m_PixelAccessor
protectedinherited
template<typename TImage>
AccessorFunctorType itk::ImageConstIterator< TImage >::m_PixelAccessorFunctor
protectedinherited
template<typename TImage>
RegionType itk::ImageConstIterator< TImage >::m_Region
protectedinherited
template<typename TImage>
OffsetValueType itk::ImageRegionConstIterator< TImage >::m_SpanBeginOffset
protectedinherited
template<typename TImage>
OffsetValueType itk::ImageRegionConstIterator< TImage >::m_SpanEndOffset
protectedinherited
template<class TImage>
unsigned long otb::SubsampledImageRegionConstIterator< TImage >::m_SubSampledBeginOffset
protected

Definition at line 237 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
long otb::SubsampledImageRegionConstIterator< TImage >::m_SubSampledEndOffset
protected

Definition at line 239 of file otbSubsampledImageRegionConstIterator.h.

template<class TImage>
IndexType otb::SubsampledImageRegionConstIterator< TImage >::m_SubsampleFactor
protected

Definition at line 236 of file otbSubsampledImageRegionConstIterator.h.


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

Generated at Sat Mar 8 2014 19:01:23 for Orfeo Toolbox with doxygen 1.8.3.1