ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::VectorToRGBImageAdaptor< TImage > Class Template Reference

#include <itkVectorToRGBImageAdaptor.h>

+ Inheritance diagram for itk::VectorToRGBImageAdaptor< TImage >:
+ Collaboration diagram for itk::VectorToRGBImageAdaptor< TImage >:

Detailed Description

template<typename TImage>
class itk::VectorToRGBImageAdaptor< TImage >

Presents an image of pixel type Vector as being and image of RGBPixel type.

Examples:
WikiExamples/Smoothing/VectorCurvatureAnisotropicDiffusionImageFilter.cxx, and WikiExamples/Smoothing/VectorGradientAnisotropicDiffusionImageFilter.cxx.

Definition at line 35 of file itkVectorToRGBImageAdaptor.h.

Public Types

using ConstPointer = SmartPointer< const Self >
 
using PixelContainer = typename Superclass::PixelContainer
 
using PixelContainerConstPointer = typename Superclass::PixelContainerConstPointer
 
using PixelContainerPointer = typename Superclass::PixelContainerPointer
 
using Pointer = SmartPointer< Self >
 
using Self = VectorToRGBImageAdaptor
 
using Superclass = ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< typename TImage::PixelType::ValueType > >
 
- Public Types inherited from itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >
using AccessorFunctorType = typename InternalImageType::AccessorFunctorType::template Rebind< Self >::Type
 
using AccessorType = Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType >
 
using ConstPointer = SmartPointer< const Self >
 
using ConstWeakPointer = WeakPointer< const Self >
 
using DirectionType = typename Superclass::DirectionType
 
using IndexType = typename Superclass::IndexType
 
using IndexValueType = typename IndexType::IndexValueType
 
using InternalImageType = TImage
 
using InternalPixelPointerType = InternalPixelType *
 
using InternalPixelType = typename Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType >::InternalType
 
using IOPixelType = PixelType
 
using OffsetType = typename Superclass::OffsetType
 
using OffsetValueType = typename OffsetType::OffsetValueType
 
using PixelContainer = typename TImage::PixelContainer
 
using PixelContainerConstPointer = typename TImage::PixelContainerConstPointer
 
using PixelContainerPointer = typename TImage::PixelContainerPointer
 
using PixelType = typename Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType >::ExternalType
 
using Pointer = SmartPointer< Self >
 
using PointType = typename Superclass::PointType
 
using RebindImageType = itk::Image< UPixelType, NUImageDimension >
 
using RegionType = typename Superclass::RegionType
 
using Self = ImageAdaptor
 
using SizeType = typename Superclass::SizeType
 
using SizeValueType = typename SizeType::SizeValueType
 
using SpacingType = typename Superclass::SpacingType
 
using Superclass = ImageBase< Self::ImageDimension >
 
- Public Types inherited from itk::ImageBase< TImage::ImageDimension >
using ConstPointer = SmartPointer< const Self >
 
using DirectionType = Matrix< SpacePrecisionType, VImageDimension, VImageDimension >
 
using ImageDimensionType = unsigned int
 
using IndexType = Index< VImageDimension >
 
using IndexValueType = typename IndexType::IndexValueType
 
using OffsetType = Offset< VImageDimension >
 
using OffsetValueType = typename OffsetType::OffsetValueType
 
using Pointer = SmartPointer< Self >
 
using PointType = Point< PointValueType, VImageDimension >
 
using PointValueType = SpacePrecisionType
 
using RegionType = ImageRegion< VImageDimension >
 
using Self = ImageBase
 
using SizeType = Size< VImageDimension >
 
using SizeValueType = typename SizeType::SizeValueType
 
using SpacingType = Vector< SpacingValueType, VImageDimension >
 
using SpacingValueType = SpacePrecisionType
 
using Superclass = DataObject
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector< Pointer >::size_type
 
using Pointer = SmartPointer< Self >
 
using Self = DataObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >
void Allocate (bool initialize=false) override
 
IndexType ComputeIndex (OffsetValueType offset) const
 
void CopyInformation (const DataObject *data) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
const RegionTypeGetBufferedRegion () const override
 
InternalPixelTypeGetBufferPointer ()
 
const InternalPixelTypeGetBufferPointer () const
 
const DirectionTypeGetDirection () const override
 
const RegionTypeGetLargestPossibleRegion () const override
 
ModifiedTimeType GetMTime () const override
 
const OffsetValueTypeGetOffsetTable () const
 
const PointTypeGetOrigin () const override
 
PixelType GetPixel (const IndexType &index) const
 
AccessorTypeGetPixelAccessor ()
 
const AccessorTypeGetPixelAccessor () const
 
PixelContainerPointer GetPixelContainer ()
 
const PixelContainerGetPixelContainer () const
 
const RegionTypeGetRequestedRegion () const override
 
const SpacingTypeGetSpacing () const override
 
virtual void Graft (const Self *imgData)
 
void Initialize () override
 
void Modified () const override
 
PixelType operator[] (const IndexType &index) const
 
void PropagateRequestedRegion () override
 
void SetBufferedRegion (const RegionType &region) override
 
void SetDirection (const DirectionType &direction) override
 
virtual void SetImage (TImage *)
 
void SetLargestPossibleRegion (const RegionType &region) override
 
void SetOrigin (const PointType values) override
 
void SetOrigin (const double *values) override
 
void SetOrigin (const float *values) override
 
void SetPixel (const IndexType &index, const PixelType &value)
 
void SetPixelAccessor (const AccessorType &accessor)
 
void SetPixelContainer (PixelContainer *container)
 
void SetRequestedRegion (const RegionType &region) override
 
void SetRequestedRegion (const DataObject *data) override
 
void SetRequestedRegionToLargestPossibleRegion () override
 
void SetSpacing (const SpacingType &values) override
 
void SetSpacing (const double *values) override
 
void SetSpacing (const float *values) override
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, Self::ImageDimension > &index, Point< TCoordRep, Self::ImageDimension > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, Self::ImageDimension > &point) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, Self::ImageDimension > &inputGradient, FixedArray< TCoordRep, Self::ImageDimension > &outputGradient) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, Self::ImageDimension > &point, ContinuousIndex< TCoordRep, Self::ImageDimension > &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, Self::ImageDimension > &point, IndexType &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, Self::ImageDimension > &inputGradient, FixedArray< TCoordRep, Self::ImageDimension > &outputGradient) const
 
void Update () override
 
void UpdateOutputData () override
 
void UpdateOutputInformation () override
 
bool VerifyRequestedRegion () override
 
- Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
OffsetValueType ComputeOffset (const IndexType &ind) const
 
virtual const DirectionTypeGetInverseDirection () const
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetRegions (const SizeType &size)
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
 
virtual void SetOrigin (const double origin[VImageDimension])
 
virtual void SetOrigin (const float origin[VImageDimension])
 
virtual void SetRegions (const RegionType &region)
 
const OffsetValueTypeGetOffsetTable () const
 
IndexType ComputeIndex (OffsetValueType offset) const
 
virtual void SetSpacing (const double spacing[VImageDimension])
 
virtual void SetSpacing (const float spacing[VImageDimension])
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
 
virtual unsigned int GetNumberOfComponentsPerPixel () const
 
virtual void SetNumberOfComponentsPerPixel (unsigned int)
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void PrepareForNewData ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
static unsigned int GetImageDimension ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 VectorToRGBImageAdaptor ()=default
 
 ~VectorToRGBImageAdaptor () override=default
 
- Protected Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >
void Graft (const DataObject *data) override
 
 ImageAdaptor ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageAdaptor () override=default
 
- Protected Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
virtual void ComputeIndexToPhysicalPointMatrices ()
 
void ComputeOffsetTable ()
 
 ImageBase ()
 
virtual void InitializeBufferedRegion ()
 
 ~ImageBase () override=default
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::ImageBase< TImage::ImageDimension >
static constexpr ImageDimensionType ImageDimension
 
- Protected Attributes inherited from itk::ImageBase< TImage::ImageDimension >
DirectionType m_Direction
 
DirectionType m_IndexToPhysicalPoint
 
DirectionType m_InverseDirection
 
PointType m_Origin
 
DirectionType m_PhysicalPointToIndex
 
SpacingType m_Spacing
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::ConstPointer = SmartPointer< const Self >

Definition at line 51 of file itkVectorToRGBImageAdaptor.h.

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::PixelContainer = typename Superclass::PixelContainer

PixelContainer type alias support Used to construct a container for the pixel data.

Definition at line 61 of file itkVectorToRGBImageAdaptor.h.

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::PixelContainerConstPointer = typename Superclass::PixelContainerConstPointer

Definition at line 63 of file itkVectorToRGBImageAdaptor.h.

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::PixelContainerPointer = typename Superclass::PixelContainerPointer

Definition at line 62 of file itkVectorToRGBImageAdaptor.h.

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::Pointer = SmartPointer< Self >

Definition at line 50 of file itkVectorToRGBImageAdaptor.h.

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::Self = VectorToRGBImageAdaptor

Standard class type aliases.

Definition at line 45 of file itkVectorToRGBImageAdaptor.h.

template<typename TImage >
using itk::VectorToRGBImageAdaptor< TImage >::Superclass = ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< typename TImage::PixelType::ValueType > >

Definition at line 48 of file itkVectorToRGBImageAdaptor.h.

Constructor & Destructor Documentation

template<typename TImage >
itk::VectorToRGBImageAdaptor< TImage >::VectorToRGBImageAdaptor ( )
protecteddefault
template<typename TImage >
itk::VectorToRGBImageAdaptor< TImage >::~VectorToRGBImageAdaptor ( )
overrideprotecteddefault

Member Function Documentation

template<typename TImage >
virtual::itk::LightObject::Pointer itk::VectorToRGBImageAdaptor< TImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TImage >
virtual const char* itk::VectorToRGBImageAdaptor< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >.

template<typename TImage >
static Pointer itk::VectorToRGBImageAdaptor< TImage >::New ( )
static

Method for creation through the object factory.


The documentation for this class was generated from the following file: