|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkFrequencyShiftedFFTLayoutImageRegionConstIteratorWithIndex_h
19 #define itkFrequencyShiftedFFTLayoutImageRegionConstIteratorWithIndex_h
114 template <
typename TImage>
175 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
199 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
212 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
214 w2 += w[dim] * w[dim];
225 itkGetConstReferenceMacro(ZeroFrequencyIndex,
IndexType);
245 itkGetMacro(ActualXDimensionIsOdd,
bool);
246 itkBooleanMacro(ActualXDimensionIsOdd);
256 SizeType sizeImage = this->
m_Image->GetLargestPossibleRegion().GetSize();
257 for (
unsigned int dim = 0; dim < ImageType::ImageDimension; dim++)
260 static_cast<FrequencyValueType>(minIndex[dim] + std::floor(sizeImage[dim] / 2.0));
typename Superclass::PixelType PixelType
void SetActualXDimensionIsOdd(bool value)
typename TImage::SizeType SizeType
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
FrequencyShiftedFFTLayoutImageRegionConstIteratorWithIndex(const Superclass &it)
TImage::ConstWeakPointer m_Image
typename Superclass::PixelContainerPointer PixelContainerPointer
typename PixelContainer::Pointer PixelContainerPointer
typename Superclass::ImageType ImageType
typename TImage::PixelType PixelType
FrequencyShiftedFFTLayoutImageRegionConstIteratorWithIndex()
typename Superclass::OffsetType OffsetType
IndexType m_ZeroFrequencyIndex
typename TImage::IndexType IndexType
typename TImage::InternalPixelType InternalPixelType
FrequencyType m_FrequencyOrigin
typename Superclass::RegionType RegionType
typename ImageType::SpacingType FrequencyType
typename TImage::AccessorType AccessorType
typename Superclass::IndexType IndexType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
typename Superclass::IndexType IndexType
FrequencyValueType GetFrequencyModuloSquare() const
typename ImageType::SpacingValueType FrequencyValueType
typename Superclass::AccessorType AccessorType
typename Superclass::InternalPixelType InternalPixelType
FrequencyShiftedFFTLayoutImageRegionConstIteratorWithIndex(const TImage *ptr, const RegionType ®ion)
typename Superclass::SizeType SizeType
IndexType GetFrequencyBin() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
bool m_ActualXDimensionIsOdd
typename TImage::RegionType RegionType
IndexType m_PositionIndex
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
typename Superclass::PixelContainer PixelContainer
FrequencyType m_FrequencySpacing
typename TImage::PixelContainer PixelContainer
FrequencyType GetFrequency() const
typename TImage::OffsetType OffsetType