18#ifndef itkFrequencyImageRegionConstIteratorWithIndex_h
19#define itkFrequencyImageRegionConstIteratorWithIndex_h
77template <
typename TImage>
133 return this->GetIndex();
143 IndexType freqInd = this->GetFrequencyBin();
145 for (
unsigned int dim = 0; dim < TImage::ImageDimension; ++dim)
147 freq[dim] = this->m_FrequencyOrigin[dim] + this->m_FrequencySpacing[dim] * freqInd[dim];
158 for (
unsigned int dim = 0; dim < TImage::ImageDimension; ++dim)
160 w2 += w[dim] * w[dim];
178 for (
unsigned int dim = 0; dim < ImageType::ImageDimension; ++dim)
180 this->m_FrequencyOrigin[dim] = this->m_Image->GetOrigin()[dim];
181 this->m_FrequencySpacing[dim] = this->m_Image->GetSpacing()[dim];
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
typename ImageType::SpacingType FrequencyType
typename ImageType::SpacingValueType FrequencyValueType
FrequencyType m_FrequencyOrigin
FrequencyType GetFrequency() const
IndexType GetFrequencyBin() const
FrequencyImageRegionConstIteratorWithIndex()
FrequencyType m_FrequencySpacing
FrequencyImageRegionConstIteratorWithIndex(const TImage *ptr, const RegionType ®ion)
FrequencyValueType GetFrequencyModuloSquare() const
FrequencyImageRegionConstIteratorWithIndex(const Superclass &it)
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
typename TImage::AccessorType AccessorType
typename TImage::PixelType PixelType
typename TImage::RegionType RegionType
typename PixelContainer::Pointer PixelContainerPointer
typename TImage::OffsetType OffsetType
typename TImage::IndexType IndexType
typename TImage::InternalPixelType InternalPixelType
typename TImage::PixelContainer PixelContainer
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....