|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkFrequencyImageRegionConstIteratorWithIndex_h
19 #define itkFrequencyImageRegionConstIteratorWithIndex_h
77 template <
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];
166 itkGetConstReferenceMacro(FrequencyOrigin, FrequencyType);
170 itkGetConstReferenceMacro(FrequencySpacing, FrequencyType);
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 an image region and is specialized ...
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
FrequencyType m_FrequencyOrigin
typename PixelContainer::Pointer PixelContainerPointer
IndexType GetFrequencyBin() const
ImageBaseType::SizeType SizeType
typename TImage::PixelType PixelType
typename TImage::IndexType IndexType
typename TImage::InternalPixelType InternalPixelType
FrequencyType GetFrequency() const
ImageBaseType::IndexType IndexType
FrequencyImageRegionConstIteratorWithIndex(const Superclass &it)
typename ImageType::SpacingType FrequencyType
ImageBaseType::RegionType RegionType
typename ImageType::SpacingValueType FrequencyValueType
FrequencyValueType GetFrequencyModuloSquare() const
typename TImage::AccessorType AccessorType
FrequencyType m_FrequencySpacing
FrequencyImageRegionConstIteratorWithIndex()
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename TImage::RegionType RegionType
FrequencyImageRegionConstIteratorWithIndex(const TImage *ptr, const RegionType ®ion)
typename TImage::PixelContainer PixelContainer
typename TImage::OffsetType OffsetType