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

#include <itkRGBToVectorImageAdaptor.h>

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

Detailed Description

template<class TImage>
class itk::RGBToVectorImageAdaptor< TImage >

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

Wiki Examples:

Definition at line 39 of file itkRGBToVectorImageAdaptor.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::PixelContainer PixelContainer
 
typedef
Superclass::PixelContainerConstPointer 
PixelContainerConstPointer
 
typedef
Superclass::PixelContainerPointer 
PixelContainerPointer
 
typedef SmartPointer< SelfPointer
 
typedef RGBToVectorImageAdaptor Self
 
typedef ImageAdaptor< TImage,
Accessor::RGBToVectorPixelAccessor
< typename
TImage::PixelType::ComponentType > > 
Superclass
 
- Public Types inherited from itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >
typedef
InternalImageType::AccessorFunctorType::template
Rebind< Self >::Type 
AccessorFunctorType
 
typedef
Accessor::RGBToVectorPixelAccessor
< TImage::PixelType::ComponentType > 
AccessorType
 
typedef SmartPointer< const SelfConstPointer
 
typedef WeakPointer< const SelfConstWeakPointer
 
typedef Superclass::DirectionType DirectionType
 
typedef Superclass::IndexType IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef TImage InternalImageType
 
typedef InternalPixelTypeInternalPixelPointerType
 
typedef
Accessor::RGBToVectorPixelAccessor
< TImage::PixelType::ComponentType >
::InternalType 
InternalPixelType
 
typedef PixelType IOPixelType
 
typedef Superclass::OffsetType OffsetType
 
typedef OffsetType::OffsetValueType OffsetValueType
 
typedef TImage::PixelContainer PixelContainer
 
typedef
TImage::PixelContainerConstPointer 
PixelContainerConstPointer
 
typedef
TImage::PixelContainerPointer 
PixelContainerPointer
 
typedef
Accessor::RGBToVectorPixelAccessor
< TImage::PixelType::ComponentType >
::ExternalType 
PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef Superclass::RegionType RegionType
 
typedef ImageAdaptor Self
 
typedef Superclass::SizeType SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef Superclass::SpacingType SpacingType
 
typedef ImageBase
< itkGetStaticConstMacro(ImageDimension) > 
Superclass
 
- Public Types inherited from itk::ImageBase< TImage::ImageDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef Matrix< double,
VImageDimension,
VImageDimension > 
DirectionType
 
typedef Index< VImageDimension > IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef Offset< VImageDimension > OffsetType
 
typedef OffsetType::OffsetValueType OffsetValueType
 
typedef SmartPointer< SelfPointer
 
typedef Point< PointValueType,
VImageDimension > 
PointType
 
typedef double PointValueType
 
typedef ImageRegion
< VImageDimension > 
RegionType
 
typedef ImageBase Self
 
typedef Size< VImageDimension > SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef Vector
< SpacingValueType,
VImageDimension > 
SpacingType
 
typedef double SpacingValueType
 
typedef DataObject Superclass
 
- Public Types inherited from itk::DataObject
typedef SmartPointer< const SelfConstPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef SmartPointer< SelfPointer
 
typedef DataObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >
void Allocate ()
 
IndexType ComputeIndex (OffsetValueType offset) const
 
virtual void CopyInformation (const DataObject *data)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const RegionTypeGetBufferedRegion () const
 
InternalPixelTypeGetBufferPointer ()
 
const InternalPixelTypeGetBufferPointer () const
 
virtual const DirectionTypeGetDirection () const
 
virtual const RegionTypeGetLargestPossibleRegion () const
 
virtual ModifiedTimeType GetMTime () const
 
const OffsetValueTypeGetOffsetTable () const
 
virtual const PointTypeGetOrigin () const
 
PixelType GetPixel (const IndexType &index) const
 
AccessorTypeGetPixelAccessor (void)
 
const AccessorTypeGetPixelAccessor (void) const
 
PixelContainerPointer GetPixelContainer ()
 
const PixelContainerGetPixelContainer () const
 
virtual const RegionTypeGetRequestedRegion () const
 
virtual const SpacingTypeGetSpacing () const
 
virtual void Graft (const DataObject *data)
 
virtual void Initialize ()
 
virtual void Modified () const
 
PixelType operator[] (const IndexType &index) const
 
virtual void PropagateRequestedRegion () throw ( InvalidRequestedRegionError )
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual void SetDirection (const DirectionType direction)
 
virtual void SetImage (TImage *)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
virtual void SetOrigin (const PointType values)
 
virtual void SetOrigin (const double *values)
 
virtual void SetOrigin (const float *values)
 
void SetPixel (const IndexType &index, const PixelType &value)
 
void SetPixelAccessor (const AccessorType &accessor)
 
void SetPixelContainer (PixelContainer *container)
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetRequestedRegion (const DataObject *data)
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
virtual void SetSpacing (const SpacingType &values)
 
virtual void SetSpacing (const double *values)
 
virtual void SetSpacing (const float *values)
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, IndexType &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
virtual void UpdateOutputInformation ()
 
virtual bool VerifyRequestedRegion ()
 
- Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
OffsetValueType ComputeOffset (const IndexType &ind) const
 
virtual const DirectionTypeGetDirection ()
 
virtual const DirectionTypeGetInverseDirection ()
 
virtual const PointTypeGetOrigin ()
 
virtual const SpacingTypeGetSpacing ()
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
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< TCoordRep, VImageDimension > &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &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])
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, 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 ()
 
SmartPointerForwardReference
< ProcessObject
GetSource () 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 ()
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp ()
 
- 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 (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () 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::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >
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

 RGBToVectorImageAdaptor ()
 
virtual ~RGBToVectorImageAdaptor ()
 
- Protected Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >
 ImageAdaptor ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~ImageAdaptor ()
 
- Protected Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
virtual void ComputeIndexToPhysicalPointMatrices ()
 
void ComputeOffsetTable ()
 
 ImageBase ()
 
virtual void InitializeBufferedRegion (void)
 
 ~ImageBase ()
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Private Member Functions

void operator= (const Self &)
 
 RGBToVectorImageAdaptor (const Self &)
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >
static const unsigned int ImageDimension
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- 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
 

Member Typedef Documentation

template<class TImage >
typedef SmartPointer< const Self > itk::RGBToVectorImageAdaptor< TImage >::ConstPointer

Definition at line 54 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
typedef Superclass::PixelContainer itk::RGBToVectorImageAdaptor< TImage >::PixelContainer

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

Definition at line 60 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
typedef Superclass::PixelContainerConstPointer itk::RGBToVectorImageAdaptor< TImage >::PixelContainerConstPointer

Definition at line 66 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
typedef Superclass::PixelContainerPointer itk::RGBToVectorImageAdaptor< TImage >::PixelContainerPointer

Definition at line 65 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
typedef SmartPointer< Self > itk::RGBToVectorImageAdaptor< TImage >::Pointer

Definition at line 53 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
typedef RGBToVectorImageAdaptor itk::RGBToVectorImageAdaptor< TImage >::Self

Standard class typedefs.

Definition at line 47 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
typedef ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< typename TImage::PixelType::ComponentType > > itk::RGBToVectorImageAdaptor< TImage >::Superclass

Definition at line 51 of file itkRGBToVectorImageAdaptor.h.

Constructor & Destructor Documentation

template<class TImage >
itk::RGBToVectorImageAdaptor< TImage >::RGBToVectorImageAdaptor ( )
inlineprotected

Definition at line 69 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
virtual itk::RGBToVectorImageAdaptor< TImage >::~RGBToVectorImageAdaptor ( )
inlineprotectedvirtual

Definition at line 70 of file itkRGBToVectorImageAdaptor.h.

template<class TImage >
itk::RGBToVectorImageAdaptor< TImage >::RGBToVectorImageAdaptor ( const Self )
private

Member Function Documentation

template<class TImage >
virtual::itk::LightObject::Pointer itk::RGBToVectorImageAdaptor< TImage >::CreateAnother ( void  ) 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<class TImage >
virtual const char* itk::RGBToVectorImageAdaptor< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >.

template<class TImage >
static Pointer itk::RGBToVectorImageAdaptor< TImage >::New ( )
static

Method for creation through the object factory.

template<class TImage >
void itk::RGBToVectorImageAdaptor< TImage >::operator= ( const Self )
private

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