ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkFrequencyImageRegionConstIteratorWithIndex.h>
A multi-dimensional iterator templated over image type that walks pixels within a region and is specialized to keep track of its image index location.
This class is a specialization of ImageRegionConstIteratorWithIndex, adding method GetFrequencyBins to give the frequency bins corresponding to image indices, and GetFrequency to get the frequency of the bin.
This iterator assumes that the image is already in the frequency domain, so GetFrequencyBin is a wrap around GetIndex(), and GetFrequency is a wrap around Get().
For a different layout, use other frequency iterator.
Please see ImageRegionConstIteratorWithIndex for more information.
Definition at line 75 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
Private Member Functions | |
void | Init () |
Private Attributes | |
FrequencyType | m_FrequencyOrigin |
FrequencyType | m_FrequencySpacing |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::ImageConstIteratorWithIndex< TImage > | |
static unsigned int | GetImageDimension () |
Static Public Attributes inherited from itk::ImageConstIteratorWithIndex< TImage > | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
Protected Attributes inherited from itk::ImageConstIteratorWithIndex< TImage > | |
const InternalPixelType * | m_Begin |
IndexType | m_BeginIndex |
const InternalPixelType * | m_End |
IndexType | m_EndIndex |
TImage::ConstWeakPointer | m_Image |
OffsetValueType | m_OffsetTable [ImageDimension+1] |
AccessorType | m_PixelAccessor |
AccessorFunctorType | m_PixelAccessorFunctor |
const InternalPixelType * | m_Position |
IndexType | m_PositionIndex |
RegionType | m_Region |
bool | m_Remaining |
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::AccessorType = typename Superclass::AccessorType |
Definition at line 93 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::FrequencyType = typename ImageType::SpacingType |
Definition at line 95 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::FrequencyValueType = typename ImageType::SpacingValueType |
Definition at line 96 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::ImageType = typename Superclass::ImageType |
Definition at line 88 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::IndexType = typename Superclass::IndexType |
Types inherited from the Superclass
Definition at line 84 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::InternalPixelType = typename Superclass::InternalPixelType |
Definition at line 91 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::OffsetType = typename Superclass::OffsetType |
Definition at line 86 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::PixelContainer = typename Superclass::PixelContainer |
Definition at line 89 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::PixelContainerPointer = typename Superclass::PixelContainerPointer |
Definition at line 90 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::PixelType = typename Superclass::PixelType |
Definition at line 92 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::RegionType = typename Superclass::RegionType |
Definition at line 87 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Self = FrequencyImageRegionConstIteratorWithIndex |
Standard class type alias.
Definition at line 80 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::SizeType = typename Superclass::SizeType |
Definition at line 85 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
using itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Superclass = ImageRegionConstIteratorWithIndex< TImage > |
Definition at line 81 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
|
inline |
Default constructor. Needed since we provide a cast constructor.
Definition at line 98 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Init().
|
inline |
Constructor establishes an iterator to walk a particular image and a particular region of that image.
Definition at line 106 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Init().
|
inlineexplicit |
Constructor that can be used to cast from an ImageIterator to an ImageRegionIteratorWithIndex. Many routines return an ImageIterator, but for a particular task, you may want an ImageRegionIteratorWithIndex. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageRegionIteratorWithIndex.
Definition at line 118 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Init().
|
inline |
Definition at line 135 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::GetFrequencyBin(), itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::m_FrequencyOrigin, and itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::m_FrequencySpacing.
Referenced by itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::GetFrequencyModuloSquare().
|
inline |
Definition at line 127 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::ImageConstIteratorWithIndex< TImage >::GetIndex().
Referenced by itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::GetFrequency().
|
inline |
Definition at line 148 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::GetFrequency().
|
virtual |
Origin of frequencies is set to be equal to m_Image->GetOrigin().
|
virtual |
This is the pixel width, or the bin size of the frequency in physical or world coordinates. In this case, frequency spacing is the same than the image spacing.
|
inlineprivate |
Set the frequency metadata. Called by constructors.
Definition at line 170 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
References itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::m_FrequencyOrigin, itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::m_FrequencySpacing, and itk::ImageConstIteratorWithIndex< TImage >::m_Image.
Referenced by itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::FrequencyImageRegionConstIteratorWithIndex().
|
private |
Definition at line 177 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
Referenced by itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::GetFrequency(), and itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Init().
|
private |
Definition at line 178 of file itkFrequencyImageRegionConstIteratorWithIndex.h.
Referenced by itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::GetFrequency(), and itk::FrequencyImageRegionConstIteratorWithIndex< TImage >::Init().