18#ifndef itkFrequencyFFTLayoutImageRegionIteratorWithIndex_h
19#define itkFrequencyFFTLayoutImageRegionIteratorWithIndex_h
114template <
typename TImage>
161 typename TOtherImage,
162 std::enable_if_t<detail::IsImageIteratorConvertible_v<TOtherImage, TImage> && !std::is_const_v<TImage>,
int> = 0>
171 typename TOtherImage,
172 std::enable_if_t<detail::IsImageIteratorConvertible_v<TOtherImage, TImage> && std::is_const_v<TImage>,
int> = 0>
180 template <
typename TOtherImage, std::enable_if_t<detail::IsImageIteratorConvertible_v<TOtherImage, TImage>,
int> = 0>
196 [[nodiscard]] IndexType
200 for (
unsigned int dim = 0; dim < TImage::ImageDimension; ++dim)
233 [[nodiscard]] FrequencyType
239 for (
unsigned int dim = 0; dim < TImage::ImageDimension; ++dim)
246 [[nodiscard]] FrequencyValueType
252 for (
unsigned int dim = 0; dim < TImage::ImageDimension; ++dim)
254 w2 += w[dim] * w[dim];
268 itkGetConstReferenceMacro(LargestPositiveFrequencyIndex,
IndexType);
295 itkGetMacro(ActualXDimensionIsOdd,
bool);
296 itkBooleanMacro(ActualXDimensionIsOdd);
309 SizeType sizeImage = this->
m_Image->GetLargestPossibleRegion().GetSize();
312 for (
unsigned int dim = 0; dim < ImageType::ImageDimension; ++dim)
334template <
typename TImage>
338template <
typename TImage>
352template <
typename TImage>
372template <
typename TImage>
376template <
typename TImage>
380template <
typename TImage>
Read-only FrequencyFFTLayoutImageRegionIteratorWithIndex: FrequencyFFTLayoutImageRegionConstIteratorW...
FrequencyFFTLayoutImageRegionIteratorWithIndex< std::add_const_t< TImage > > Superclass
FrequencyFFTLayoutImageRegionConstIteratorWithIndex(const Superclass &it)
FrequencyFFTLayoutImageRegionConstIteratorWithIndex Self
FrequencyFFTLayoutImageRegionConstIteratorWithIndex()=default
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
bool m_ActualXDimensionIsOdd
FrequencyValueType GetFrequencyModuloSquare() const
FrequencyFFTLayoutImageRegionIteratorWithIndex(TImage *ptr, const RegionType ®ion)
typename TImage::SizeType SizeType
FrequencyFFTLayoutImageRegionIteratorWithIndex()
IndexType m_LargestPositiveFrequencyIndex
void SetActualXDimensionIsOdd(bool value)
FrequencyFFTLayoutImageRegionIteratorWithIndex Self
typename ImageType::SpacingType FrequencyType
FrequencyType m_FrequencyOrigin
friend class FrequencyFFTLayoutImageRegionIteratorWithIndex
FrequencyFFTLayoutImageRegionIteratorWithIndex(const FrequencyFFTLayoutImageRegionIteratorWithIndex< TOtherImage > &it)
FrequencyFFTLayoutImageRegionIteratorWithIndex(const ImageIteratorWithIndex< TOtherImage > &it)
ImageRegionIteratorWithIndex< TImage > Superclass
FrequencyType m_FrequencySpacing
FrequencyType GetFrequency() const
typename TImage::RegionType RegionType
IndexType GetFrequencyBin() const
typename TImage::IndexType IndexType
typename ImageType::SpacingValueType FrequencyValueType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
WeakPointer< TImage > m_Image
IndexType m_PositionIndex
typename TImage::PixelType PixelType
typename TImage::SizeType SizeType
typename PixelContainer::Pointer PixelContainerPointer
detail::IteratorImageType_t< TImage > ImageType
friend class ImageRegionIteratorWithIndex
typename TImage::AccessorType AccessorType
typename TImage::InternalPixelType InternalPixelType
typename TImage::PixelContainer PixelContainer
typename TImage::OffsetType OffsetType
typename TImage::RegionType RegionType
typename TImage::IndexType IndexType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
FrequencyFFTLayoutImageRegionIteratorWithIndex(SmartPointer< TImage >, const typename TImage::RegionType &) -> FrequencyFFTLayoutImageRegionIteratorWithIndex< TImage >
FrequencyFFTLayoutImageRegionConstIteratorWithIndex(const TImage *, const typename TImage::RegionType &) -> FrequencyFFTLayoutImageRegionConstIteratorWithIndex< TImage >