ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::VectorImageToImageAdaptor< TPixelType, Dimension > Class Template Reference

#include <itkVectorImageToImageAdaptor.h>

+ Inheritance diagram for itk::VectorImageToImageAdaptor< TPixelType, Dimension >:
+ Collaboration diagram for itk::VectorImageToImageAdaptor< TPixelType, Dimension >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::IOPixelType IOPixelType
typedef Superclass::PixelContainer PixelContainer
typedef
Superclass::PixelContainerConstPointer 
PixelContainerConstPointer
typedef
Superclass::PixelContainerPointer 
PixelContainerPointer
typedef SmartPointer< SelfPointer
typedef VectorImageToImageAdaptor Self
typedef ImageAdaptor
< VectorImageType,
Accessor::VectorImageToImagePixelAccessor
< TPixelType > > 
Superclass
typedef VectorImage
< TPixelType, Dimension > 
VectorImageType
typedef
VectorImageType::VectorLengthType 
VectorLengthType
- Public Types inherited from itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >
typedef
InternalImageType::AccessorFunctorType::template
Rebind< Self >::Type 
AccessorFunctorType
typedef
Accessor::VectorImageToImagePixelAccessor
< TPixelType > 
AccessorType
typedef WeakPointer< const SelfConstWeakPointer
typedef Superclass::DirectionType DirectionType
typedef Superclass::IndexType IndexType
typedef IndexType::IndexValueType IndexValueType
typedef VectorImage
< TPixelType, Dimension > 
InternalImageType
typedef InternalPixelTypeInternalPixelPointerType
typedef
Accessor::VectorImageToImagePixelAccessor
< TPixelType >::InternalType 
InternalPixelType
typedef Superclass::OffsetType OffsetType
typedef OffsetType::OffsetValueType OffsetValueType
typedef
Accessor::VectorImageToImagePixelAccessor
< TPixelType >::ExternalType 
PixelType
typedef Superclass::PointType PointType
typedef Superclass::RegionType RegionType
typedef Superclass::SizeType SizeType
typedef SizeType::SizeValueType SizeValueType
typedef Superclass::SpacingType SpacingType
- Public Types inherited from itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >
typedef double PointValueType
typedef double SpacingValueType
- Public Types inherited from itk::DataObject
typedef std::string DataObjectIdentifierType
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
VectorLengthType GetExtractComponentIndex () const
virtual const char * GetNameOfClass () const
void SetExtractComponentIndex (VectorLengthType componentIdx)
- Public Member Functions inherited from itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >
void Allocate ()
IndexType ComputeIndex (OffsetValueType offset) const
virtual void CopyInformation (const DataObject *data)
virtual const RegionTypeGetBufferedRegion () const
InternalPixelTypeGetBufferPointer ()
const InternalPixelTypeGetBufferPointer () const
virtual const DirectionTypeGetDirection () const
virtual const RegionTypeGetLargestPossibleRegion () const
virtual unsigned long 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 (VectorImage< TPixelType, Dimension > *)
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< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::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)
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 unsigned long 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 (unsigned long time)
virtual const unsigned long & GetPipelineMTime ()
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 ()

Protected Member Functions

 VectorImageToImageAdaptor ()
virtual ~VectorImageToImageAdaptor ()
- Protected Member Functions inherited from itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >
 ImageAdaptor ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~ImageAdaptor ()
- Protected Member Functions inherited from itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >
virtual void ComputeIndexToPhysicalPointMatrices ()
void ComputeOffsetTable ()
 ImageBase ()
virtual void InitializeBufferedRegion (void)
 ~ImageBase ()
- Protected Member Functions inherited from itk::DataObject
virtual void PropagateResetPipeline ()
 DataObject ()
 ~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 &)
 VectorImageToImageAdaptor (const Self &)

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >
static const unsigned int ImageDimension
- Static Public Attributes inherited from itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >

Detailed Description

template<class TPixelType, unsigned int Dimension>
class itk::VectorImageToImageAdaptor< TPixelType, Dimension >

Presents a VectorImage and extracts a component from it into an image.

The class is expected to be templated over a pixel type and dimension. These are the pixel types and dimension of the VectorImage.

The component to extract is set with SetExtractComponentIdx() method RGBPixel type.

Note:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.
Wiki Examples:
Examples:
itkVectorImageTest.cxx.

Definition at line 140 of file itkVectorImageToImageAdaptor.h.


Member Typedef Documentation

template<class TPixelType , unsigned int Dimension>
typedef SmartPointer< const Self > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::ConstPointer
template<class TPixelType , unsigned int Dimension>
typedef Superclass::IOPixelType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::IOPixelType
template<class TPixelType , unsigned int Dimension>
typedef Superclass::PixelContainer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainer

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

Reimplemented from itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >.

Definition at line 158 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType , unsigned int Dimension>
typedef Superclass::PixelContainerConstPointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainerConstPointer
template<class TPixelType , unsigned int Dimension>
typedef Superclass::PixelContainerPointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainerPointer
template<class TPixelType , unsigned int Dimension>
typedef SmartPointer< Self > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Pointer
template<class TPixelType , unsigned int Dimension>
typedef VectorImageToImageAdaptor itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Self
template<class TPixelType , unsigned int Dimension>
typedef ImageAdaptor< VectorImageType, Accessor::VectorImageToImagePixelAccessor< TPixelType > > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Superclass
template<class TPixelType , unsigned int Dimension>
typedef VectorImage< TPixelType, Dimension > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorImageType

Definition at line 147 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType , unsigned int Dimension>
typedef VectorImageType::VectorLengthType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorLengthType

Typedef for the length of vectors in the VectorImage.

Definition at line 168 of file itkVectorImageToImageAdaptor.h.


Constructor & Destructor Documentation

template<class TPixelType , unsigned int Dimension>
itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorImageToImageAdaptor ( )
inlineprotected

Definition at line 183 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType , unsigned int Dimension>
virtual itk::VectorImageToImageAdaptor< TPixelType, Dimension >::~VectorImageToImageAdaptor ( )
inlineprotectedvirtual

Definition at line 184 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType , unsigned int Dimension>
itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorImageToImageAdaptor ( const Self )
private

Member Function Documentation

template<class TPixelType , unsigned int Dimension>
virtual::itk::LightObject::Pointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::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::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >.

template<class TPixelType , unsigned int Dimension>
VectorLengthType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::GetExtractComponentIndex ( ) const
inline

Definition at line 177 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType , unsigned int Dimension>
virtual const char* itk::VectorImageToImageAdaptor< TPixelType, Dimension >::GetNameOfClass ( ) const
virtual
template<class TPixelType , unsigned int Dimension>
static Pointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::New ( )
static
template<class TPixelType , unsigned int Dimension>
void itk::VectorImageToImageAdaptor< TPixelType, Dimension >::operator= ( const Self )
private
template<class TPixelType , unsigned int Dimension>
void itk::VectorImageToImageAdaptor< TPixelType, Dimension >::SetExtractComponentIndex ( VectorLengthType  componentIdx)
inline

Definition at line 171 of file itkVectorImageToImageAdaptor.h.


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