|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkJointDomainImageToListSampleAdaptor_h
19 #define itkJointDomainImageToListSampleAdaptor_h
39 template <
typename TImage>
87 template <
typename TImage>
89 :
public ListSample<typename ImageJointDomainTraits<TImage>::MeasurementVectorType>
143 SetImage(
const TImage * image);
151 Size()
const override;
159 GetTotalFrequency()
const override;
178 itkSetMacro(UsePixelContainer,
bool);
179 itkGetConstMacro(UsePixelContainer,
bool);
180 itkBooleanMacro(UsePixelContainer);
220 m_MeasurementVectorCache = m_Adaptor->GetMeasurementVector(m_InstanceIdentifier);
221 return this->m_MeasurementVectorCache;
227 return m_InstanceIdentifier;
233 ++m_InstanceIdentifier;
254 m_InstanceIdentifier = iid;
289 this->ConstIterator::operator=(iter);
312 Iterator iter(
this, m_Image->GetPixelContainer()->Size());
330 ConstIterator iter(
this, m_Image->GetPixelContainer()->Size());
339 PrintSelf(std::ostream & os,
Indent indent)
const override;
355 #ifndef ITK_MANUAL_INSTANTIATION
356 # include "itkJointDomainImageToListSampleAdaptor.hxx"
typename ImageJointDomainTraitsType::MeasurementVectorType MeasurementVectorType
ImageIndexType m_TempIndex
NormalizationFactorsType m_NormalizationFactors
MeasurementVectorType ValueType
ConstIterator Begin() const
typename ImageJointDomainTraitsType::CoordinateRepType CoordinateRepType
Represent a n-dimensional size (bounds) of a n-dimensional image.
typename Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
bool operator==(const ConstIterator &it) const
ConstIterator(const ConstIterator &iter)
ConstIterator(const JointDomainImageToListSampleAdaptor *adaptor)
ImageBaseType::PointType PointType
This adaptor returns measurement vectors composed of an image pixel's range domain value (pixel value...
ImageBaseType::SizeType SizeType
This class is the native implementation of the a Sample with an STL container.
Iterator(const Iterator &iter)
InstanceIdentifier GetInstanceIdentifier() const
Control indentation during Print() invocation.
std::vector< InstanceIdentifier > InstanceIdentifierVectorType
static constexpr unsigned int Dimension
Traits for a pixel that define the dimension and component type.
typename ImageType::RegionType ImageRegionType
typename Superclass::InstanceIdentifier InstanceIdentifier
typename ImageType::SizeType ImageSizeType
static constexpr unsigned int ImageDimension
typename Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
typename ImageJointDomainTraitsType::RangeDomainMeasurementType RangeDomainMeasurementType
Trait to determine what datatype is needed if the specified pixel types are "joined" into a single ve...
A multi-dimensional iterator templated over image type that walks a region of pixels.
ImageBaseType::IndexType IndexType
InstanceIdentifier m_InstanceIdentifier
const JointDomainImageToListSampleAdaptor * m_Adaptor
MeasurementVectorType m_MeasurementVectorCache
Iterator & operator=(const Iterator &iter)
typename ImageType::PixelContainerConstPointer PixelContainerConstPointer
typename Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
ImageBaseType::RegionType RegionType
Iterator(const JointDomainImageToListSampleAdaptor *adaptor, InstanceIdentifier iid)
typename ImageType::PixelType PixelType
AbsoluteFrequencyType GetFrequency() const
Simulate a standard C array with copy semantics.
ConstIterator & operator=(const ConstIterator &iter)
This class provides the type definition for the measurement vector in the joint domain (range domain ...
PixelContainerConstPointer m_PixelContainer
bool operator!=(const ConstIterator &it) const
static constexpr unsigned int Dimension
typename TPixelType::ValueType ValueType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ConstIterator & operator++()
RangeDomainMeasurementVectorType m_TempRangeVector
Base class for most ITK classes.
A templated class holding a geometric point in n-Dimensional space.
typename ImageJointDomainTraitsType::MeasurementType MeasurementType
MeasurementVectorType m_TempVector
typename PixelTraitsType::ValueType RangeDomainMeasurementType
typename ImageType::Pointer ImagePointer
const MeasurementVectorType & GetMeasurementVector() const
ConstIterator(const JointDomainImageToListSampleAdaptor *adaptor, InstanceIdentifier iid)
typename ImageJointDomainTraitsType::PointType PointType
typename ImageType::ConstPointer ImageConstPointer
constexpr unsigned int Dimension
typename JoinTraitsType::ValueType MeasurementType
ConstIterator End() const
typename ImageType::IndexType ImageIndexType
ImageConstPointer m_Image
Base class for all data objects in ITK.