18 #ifndef __itkJointDomainImageToListSampleAdaptor_h
19 #define __itkJointDomainImageToListSampleAdaptor_h
39 template<
typename TImage >
48 TImage::ImageDimension
90 template<
typename TImage >
92 public ListSample< typename ImageJointDomainTraits< TImage >::MeasurementVectorType >
177 itkSetMacro(UsePixelContainer,
bool);
178 itkGetConstMacro(UsePixelContainer,
bool);
179 itkBooleanMacro(UsePixelContainer);
196 *
this = adaptor->
Begin();
354 #ifndef ITK_MANUAL_INSTANTIATION
355 #include "itkJointDomainImageToListSampleAdaptor.hxx"
ImageType::Pointer ImagePointer
JointDomainImageToListSampleAdaptor Self
static const unsigned int RangeDomainDimension
ImageType::IndexType ImageIndexType
ConstIterator(const ConstIterator &iter)
ImageIndexType m_TempIndex
TotalAbsoluteFrequencyType GetTotalFrequency() const
Point< CoordinateRepType, itkGetStaticConstMacro(ImageDimension) > PointType
TPixelType::ValueType ValueType
AbsoluteFrequencyType GetFrequency() const
ImageRegionConstIterator< ImageType > ImageConstIteratorType
JoinTraits< RangeDomainMeasurementType, CoordinateRepType > JoinTraitsType
ConstIterator End() const
static const unsigned int MeasurementVectorSize
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
ImageJointDomainTraitsType::MeasurementVectorType MeasurementVectorType
Iterator & operator=(const Iterator &iter)
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
std::vector< InstanceIdentifier > InstanceIdentifierVectorType
NormalizationFactorsType m_NormalizationFactors
ConstIterator(const JointDomainImageToListSampleAdaptor *adaptor)
ConstIterator & operator++()
SmartPointer< const Self > ConstPointer
ImageJointDomainTraitsType::RangeDomainMeasurementType RangeDomainMeasurementType
InstanceIdentifier m_InstanceIdentifier
ImageJointDomainTraitsType::CoordinateRepType CoordinateRepType
ImageType::SizeType ImageSizeType
Superclass::InstanceIdentifier InstanceIdentifier
virtual ~JointDomainImageToListSampleAdaptor()
RangeDomainMeasurementVectorType m_TempRangeVector
ImageJointDomainTraitsType::MeasurementType MeasurementType
FixedArray< float, itkGetStaticConstMacro(MeasurementVectorSize) > NormalizationFactorsType
Simulate a standard C array with copy semnatics.
Traits for a pixel that define the dimension and component type.
const MeasurementVectorType & GetMeasurementVector() const
ImageType::ConstPointer ImageConstPointer
PixelTraitsType::ValueType RangeDomainMeasurementType
void SetImage(const TImage *image)
void SetNormalizationFactors(NormalizationFactorsType &factors)
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
ImageRegionIterator< ImageType > ImageIteratorType
FixedArray< MeasurementType, itkGetStaticConstMacro(Dimension) > MeasurementVectorType
Iterator(const Iterator &iter)
const JointDomainImageToListSampleAdaptor * m_Adaptor
Trait to determine what datatype is needed if the specified pixel types are "joined" into a single ve...
Superclass::InstanceIdentifier InstanceIdentifier
bool operator==(const ConstIterator &it)
PixelContainerConstPointer m_PixelContainer
bool operator!=(const ConstIterator &it)
ImageType::RegionType ImageRegionType
ConstIterator Begin() const
JoinTraitsType::ValueType MeasurementType
Iterator(const JointDomainImageToListSampleAdaptor *adaptor, InstanceIdentifier iid)
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
ImageType::PixelContainerConstPointer PixelContainerConstPointer
void operator=(const Self &)
InstanceIdentifier Size() const
ListSample< typename ImageJointDomainTraits< TImage >::MeasurementVectorType > Superclass
static const unsigned int Dimension
AbsoluteFrequencyType GetFrequency(InstanceIdentifier id) const
This adaptor returns measurement vectors composed of an image pixel's range domain value (pixel value...
void PrintSelf(std::ostream &os, Indent indent) const
MeasurementVectorType ValueType
ImageJointDomainTraits< TImage > ImageJointDomainTraitsType
ImageConstPointer m_Image
This class is the native implementation of the a Sample with an STL container.
const TImage * GetImage() const
ImageJointDomainTraitsType::PointType PointType
Control indentation during Print() invocation.
ConstIterator & operator=(const ConstIterator &iter)
MeasurementVectorType m_TempVector
static const unsigned int ImageDimension
PixelTraits< typename TImage::PixelType > PixelTraitsType
ImageType::PixelType PixelType
InstanceIdentifier GetInstanceIdentifier() const
A templated class holding a geometric point in n-Dimensional space.
const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier id) const
static const unsigned int Dimension
This class provides the type definition for the measurement vector in the joint domain (range domain ...
SmartPointer< Self > Pointer
Base class for all data objects in ITK.
MeasurementVectorType m_MeasurementVectorCache
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
A multi-dimensional iterator templated over image type that walks a region of pixels.
JointDomainImageToListSampleAdaptor()
ConstIterator(const JointDomainImageToListSampleAdaptor *adaptor, InstanceIdentifier iid)
FixedArray< RangeDomainMeasurementType, itkGetStaticConstMacro(RangeDomainDimension) > RangeDomainMeasurementVectorType
ImageJointDomainTraits Self
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType