ITK
4.11.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorImageToImageAdaptor.h>
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.
Definition at line 142 of file itkVectorImageToImageAdaptor.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () 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 > > | |
virtual void | Allocate (bool initialize=false) override |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | CopyInformation (const DataObject *data) override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const RegionType & | GetBufferedRegion () const override |
InternalPixelType * | GetBufferPointer () |
const InternalPixelType * | GetBufferPointer () const |
virtual const DirectionType & | GetDirection () const override |
virtual const RegionType & | GetLargestPossibleRegion () const override |
virtual ModifiedTimeType | GetMTime () const override |
const OffsetValueType * | GetOffsetTable () const |
virtual const PointType & | GetOrigin () const override |
PixelType | GetPixel (const IndexType &index) const |
AccessorType & | GetPixelAccessor (void) |
const AccessorType & | GetPixelAccessor (void) const |
PixelContainerPointer | GetPixelContainer () |
const PixelContainer * | GetPixelContainer () const |
virtual const RegionType & | GetRequestedRegion () const override |
virtual const SpacingType & | GetSpacing () const override |
virtual void | Graft (const Self *imgData) |
virtual void | Initialize () override |
virtual void | Modified () const override |
PixelType | operator[] (const IndexType &index) const |
virtual void | PropagateRequestedRegion () override |
virtual void | SetBufferedRegion (const RegionType ®ion) override |
virtual void | SetDirection (const DirectionType &direction) override |
virtual void | SetImage (VectorImage< TPixelType, Dimension > *) |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) override |
virtual void | SetOrigin (const PointType values) override |
virtual void | SetOrigin (const double *values) override |
virtual void | SetOrigin (const float *values) override |
void | SetPixel (const IndexType &index, const PixelType &value) |
void | SetPixelAccessor (const AccessorType &accessor) |
void | SetPixelContainer (PixelContainer *container) |
virtual void | SetRequestedRegion (const RegionType ®ion) override |
virtual void | SetRequestedRegion (const DataObject *data) override |
virtual void | SetRequestedRegionToLargestPossibleRegion () override |
virtual void | SetSpacing (const SpacingType &values) override |
virtual void | SetSpacing (const double *values) override |
virtual void | SetSpacing (const float *values) override |
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 () override |
virtual void | UpdateOutputData () override |
virtual void | UpdateOutputInformation () override |
virtual bool | VerifyRequestedRegion () override |
Public Member Functions inherited from itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension > | |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
virtual const DirectionType & | GetInverseDirection () const |
virtual 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 |
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 ®ion) |
const OffsetValueType * | GetOffsetTable () const |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | SetSpacing (const double spacing[VImageDimension]) |
virtual void | SetSpacing (const float spacing[VImageDimension]) |
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 |
SmartPointerForwardReference < ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () 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 ModifiedTimeType & | GetPipelineMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () 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 |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
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< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageBase< VectorImage< TPixelType, Dimension >::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 () |
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< VectorImage< TPixelType, Dimension >::ImageDimension > | |
static const ImageDimensionType | ImageDimension |
Protected Attributes inherited from itk::ImageBase< VectorImage< TPixelType, Dimension >::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 | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::ConstPointer |
Definition at line 154 of file itkVectorImageToImageAdaptor.h.
typedef Superclass::IOPixelType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::IOPixelType |
Definition at line 167 of file itkVectorImageToImageAdaptor.h.
typedef Superclass::PixelContainer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainer |
PixelContainer typedef support. Used to construct a container for the pixel data.
Definition at line 160 of file itkVectorImageToImageAdaptor.h.
typedef Superclass::PixelContainerConstPointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainerConstPointer |
Definition at line 166 of file itkVectorImageToImageAdaptor.h.
typedef Superclass::PixelContainerPointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainerPointer |
Definition at line 165 of file itkVectorImageToImageAdaptor.h.
typedef SmartPointer< Self > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Pointer |
Definition at line 153 of file itkVectorImageToImageAdaptor.h.
typedef VectorImageToImageAdaptor itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Self |
Standard class typedefs.
Definition at line 148 of file itkVectorImageToImageAdaptor.h.
typedef ImageAdaptor< VectorImageType, Accessor::VectorImageToImagePixelAccessor< TPixelType > > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Superclass |
Definition at line 151 of file itkVectorImageToImageAdaptor.h.
typedef VectorImage< TPixelType, Dimension > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorImageType |
Definition at line 149 of file itkVectorImageToImageAdaptor.h.
typedef VectorImageType::VectorLengthType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorLengthType |
Typedef for the length of vectors in the VectorImage.
Definition at line 170 of file itkVectorImageToImageAdaptor.h.
|
inlineprotected |
Definition at line 185 of file itkVectorImageToImageAdaptor.h.
|
inlineprotectedvirtual |
Definition at line 186 of file itkVectorImageToImageAdaptor.h.
|
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.
|
inline |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >.
|
static |
Method for creation through the object factory.
|
inline |