18 #ifndef itkFrequencyHalfHermitianFFTLayoutImageRegionConstIteratorWithIndex_h
19 #define itkFrequencyHalfHermitianFFTLayoutImageRegionConstIteratorWithIndex_h
119 template <
typename TImage>
183 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
223 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
236 for (
unsigned int dim = 0; dim < TImage::ImageDimension; dim++)
238 w2 += w[dim] * w[dim];
252 itkGetConstReferenceMacro(LargestPositiveFrequencyIndex,
IndexType);
255 itkGetConstReferenceMacro(MinIndex,
IndexType);
258 itkGetConstReferenceMacro(MaxIndex,
IndexType);
280 SizeType sizeImage = this->
m_Image->GetLargestPossibleRegion().GetSize();
281 auto size_estimated = 2 * (sizeImage[0] - 1);
285 itkGetMacro(ActualXDimensionIsOdd,
bool);
286 itkBooleanMacro(ActualXDimensionIsOdd);
296 SizeType sizeImage = this->
m_Image->GetLargestPossibleRegion().GetSize();
299 for (
unsigned int dim = 0; dim < ImageType::ImageDimension; dim++)
302 static_cast<FrequencyValueType>(this->
m_MinIndex[dim] + sizeImage[dim] / 2);
318 auto size_estimated = 2 * (sizeImage[0] - 1);