18 #ifndef itkFrequencyFFTLayoutImageRegionConstIteratorWithIndex_h
19 #define itkFrequencyFFTLayoutImageRegionConstIteratorWithIndex_h
113 template<
typename TImage >
174 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
213 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
226 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
228 w2 += w[dim] * w[dim];
242 itkGetConstReferenceMacro(LargestPositiveFrequencyIndex,
IndexType);
245 itkGetConstReferenceMacro(MinIndex,
IndexType);
248 itkGetConstReferenceMacro(MaxIndex,
IndexType);
267 itkGetMacro(ActualXDimensionIsOdd,
bool);
268 itkBooleanMacro(ActualXDimensionIsOdd);
278 this->
m_Image->GetLargestPossibleRegion().GetSize();
280 this->
m_Image->GetLargestPossibleRegion().GetIndex();
282 this->
m_Image->GetLargestPossibleRegion().GetUpperIndex();
283 for (
unsigned int dim = 0; dim < ImageType::ImageDimension; dim++)
286 this->
m_MinIndex[dim] + std::floor( sizeImage[dim] / 2.0 ));
typename TImage::SizeType SizeType
typename Superclass::SizeType SizeType
typename PixelContainer::Pointer PixelContainerPointer
typename ImageType::SpacingValueType FrequencyValueType
typename ImageType::SpacingType FrequencyType
typename Superclass::RegionType RegionType
FrequencyValueType GetFrequencyModuloSquare() const
typename Superclass::PixelType PixelType
typename TImage::InternalPixelType InternalPixelType
typename TImage::PixelType PixelType
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
TImage::ConstWeakPointer m_Image
typename Superclass::ImageType ImageType
IndexType m_LargestPositiveFrequencyIndex
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
FrequencyFFTLayoutImageRegionConstIteratorWithIndex(const TImage *ptr, const RegionType ®ion)
FrequencyType GetFrequency() const
IndexType m_PositionIndex
FrequencyType m_FrequencyOrigin
typename TImage::IndexType IndexType
typename Superclass::PixelContainerPointer PixelContainerPointer
void SetActualXDimensionIsOdd(bool value)
FrequencyFFTLayoutImageRegionConstIteratorWithIndex(const Superclass &it)
typename TImage::RegionType RegionType
typename Superclass::PixelContainer PixelContainer
typename Superclass::AccessorType AccessorType
typename TImage::AccessorType AccessorType
FrequencyFFTLayoutImageRegionConstIteratorWithIndex()
typename Superclass::IndexType IndexType
IndexType GetFrequencyBin() const
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
typename TImage::PixelContainer PixelContainer
FrequencyType m_FrequencySpacing
typename TImage::OffsetType OffsetType
typename Superclass::InternalPixelType InternalPixelType
typename Superclass::IndexType IndexType
typename Superclass::OffsetType OffsetType
bool m_ActualXDimensionIsOdd