ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageAdaptor.h>
Classes | |
struct | Rebind |
Public Types | |
typedef DefaultPixelAccessorFunctor < Self > | AccessorFunctorType |
typedef TAccessor | AccessorType |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Superclass::DirectionType | DirectionType |
typedef Superclass::IndexType | IndexType |
typedef IndexType::IndexValueType | IndexValueType |
typedef TImage | InternalImageType |
typedef InternalPixelType * | InternalPixelPointerType |
typedef TAccessor::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 TAccessor::ExternalType | PixelType |
typedef SmartPointer< Self > | Pointer |
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 Member Functions | |
void | Allocate () |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | CopyInformation (const DataObject *data) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const RegionType & | GetBufferedRegion () const |
InternalPixelType * | GetBufferPointer () |
const InternalPixelType * | GetBufferPointer () const |
virtual const DirectionType & | GetDirection () const |
virtual const RegionType & | GetLargestPossibleRegion () const |
virtual unsigned long | GetMTime () const |
virtual const char * | GetNameOfClass () const |
const OffsetValueType * | GetOffsetTable () const |
virtual const PointType & | GetOrigin () const |
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 |
virtual const SpacingType & | GetSpacing () 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 ®ion) |
virtual void | SetDirection (const DirectionType direction) |
virtual void | SetImage (TImage *) |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
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 ®ion) |
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) |
template<class TCoordRep > | |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const |
template<class TCoordRep > | |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const |
template<class TCoordRep > | |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const |
template<class TCoordRep > | |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index) const |
template<class TCoordRep > | |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, IndexType &index) const |
template<class TCoordRep > | |
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 () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Protected Member Functions | |
ImageAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ImageAdaptor () |
Private Member Functions | |
ImageAdaptor (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
TImage::Pointer | m_Image |
AccessorType | m_PixelAccessor |
Give access to partial aspects of voxels from an Image.
ImageAdaptors are templated over the ImageType and over a functor that will specify what part of the pixel can be accessed
The basic aspects of this class are the types it defines.
Image adaptors can be used as intermediate classes that allow the sending of an image to a filter, specifying what part of the image pixels the filter will act on.
The TAccessor class should implement the Get and Set methods These two will specify how data can be put and get from parts of each pixel. It should define the types ExternalType and InternalType too.
Definition at line 52 of file itkImageAdaptor.h.
typedef DefaultPixelAccessorFunctor< Self > itk::ImageAdaptor< TImage, TAccessor >::AccessorFunctorType |
typedef of the functor that chooses the appropriate accessor Image or VectorImage.
Definition at line 94 of file itkImageAdaptor.h.
typedef TAccessor itk::ImageAdaptor< TImage, TAccessor >::AccessorType |
Accessor type that convert data between internal and external representations.
Definition at line 90 of file itkImageAdaptor.h.
typedef SmartPointer< const Self > itk::ImageAdaptor< TImage, TAccessor >::ConstPointer |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::VectorToRGBImageAdaptor< TImage >, and itk::AddImageAdaptor< TImage >.
Definition at line 66 of file itkImageAdaptor.h.
typedef WeakPointer< const Self > itk::ImageAdaptor< TImage, TAccessor >::ConstWeakPointer |
Definition at line 67 of file itkImageAdaptor.h.
typedef Superclass::DirectionType itk::ImageAdaptor< TImage, TAccessor >::DirectionType |
Direction typedef support. The Direction is a matix of direction cosines that specify the direction between samples.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 123 of file itkImageAdaptor.h.
typedef Superclass::IndexType itk::ImageAdaptor< TImage, TAccessor >::IndexType |
Index typedef support. An index is used to access pixel values.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 97 of file itkImageAdaptor.h.
typedef IndexType::IndexValueType itk::ImageAdaptor< TImage, TAccessor >::IndexValueType |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 98 of file itkImageAdaptor.h.
typedef TImage itk::ImageAdaptor< TImage, TAccessor >::InternalImageType |
Typedef of unadapted image
Definition at line 70 of file itkImageAdaptor.h.
typedef InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::InternalPixelPointerType |
Convenient typedef.
Definition at line 245 of file itkImageAdaptor.h.
typedef TAccessor::InternalType itk::ImageAdaptor< TImage, TAccessor >::InternalPixelType |
Pixel typedef support. Used to declare pixel type in filters or other operations.
Definition at line 84 of file itkImageAdaptor.h.
typedef PixelType itk::ImageAdaptor< TImage, TAccessor >::IOPixelType |
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >.
Definition at line 86 of file itkImageAdaptor.h.
typedef Superclass::OffsetType itk::ImageAdaptor< TImage, TAccessor >::OffsetType |
Offset typedef support.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 105 of file itkImageAdaptor.h.
typedef OffsetType::OffsetValueType itk::ImageAdaptor< TImage, TAccessor >::OffsetValueType |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 106 of file itkImageAdaptor.h.
typedef TImage::PixelContainer itk::ImageAdaptor< TImage, TAccessor >::PixelContainer |
PixelContainer typedef support. Used to construct a container for the pixel data.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::RGBToVectorImageAdaptor< TImage >, and itk::VectorToRGBImageAdaptor< TImage >.
Definition at line 217 of file itkImageAdaptor.h.
typedef TImage::PixelContainerConstPointer itk::ImageAdaptor< TImage, TAccessor >::PixelContainerConstPointer |
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::RGBToVectorImageAdaptor< TImage >, and itk::VectorToRGBImageAdaptor< TImage >.
Definition at line 219 of file itkImageAdaptor.h.
typedef TImage::PixelContainerPointer itk::ImageAdaptor< TImage, TAccessor >::PixelContainerPointer |
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::RGBToVectorImageAdaptor< TImage >, and itk::VectorToRGBImageAdaptor< TImage >.
Definition at line 218 of file itkImageAdaptor.h.
typedef TAccessor::ExternalType itk::ImageAdaptor< TImage, TAccessor >::PixelType |
Pixel typedef support. Used to declare pixel type in filters or other operations.
Reimplemented in itk::AddImageAdaptor< TImage >.
Definition at line 76 of file itkImageAdaptor.h.
typedef SmartPointer< Self > itk::ImageAdaptor< TImage, TAccessor >::Pointer |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::VectorToRGBImageAdaptor< TImage >, and itk::AddImageAdaptor< TImage >.
Definition at line 65 of file itkImageAdaptor.h.
typedef Superclass::PointType itk::ImageAdaptor< TImage, TAccessor >::PointType |
Origin typedef support. The origin is the geometric coordinates of the index (0,0).
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 118 of file itkImageAdaptor.h.
typedef Superclass::RegionType itk::ImageAdaptor< TImage, TAccessor >::RegionType |
Region typedef support. A region is used to specify a subset of an image.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 110 of file itkImageAdaptor.h.
typedef ImageAdaptor itk::ImageAdaptor< TImage, TAccessor >::Self |
Standard class typedefs.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::VectorToRGBImageAdaptor< TImage >, and itk::AddImageAdaptor< TImage >.
Definition at line 63 of file itkImageAdaptor.h.
typedef Superclass::SizeType itk::ImageAdaptor< TImage, TAccessor >::SizeType |
Size typedef support. A size is used to define region bounds.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 101 of file itkImageAdaptor.h.
typedef SizeType::SizeValueType itk::ImageAdaptor< TImage, TAccessor >::SizeValueType |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 102 of file itkImageAdaptor.h.
typedef Superclass::SpacingType itk::ImageAdaptor< TImage, TAccessor >::SpacingType |
Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 114 of file itkImageAdaptor.h.
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > itk::ImageAdaptor< TImage, TAccessor >::Superclass |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::VectorToRGBImageAdaptor< TImage >, and itk::AddImageAdaptor< TImage >.
Definition at line 64 of file itkImageAdaptor.h.
itk::ImageAdaptor< TImage, TAccessor >::ImageAdaptor | ( | ) | [protected] |
virtual itk::ImageAdaptor< TImage, TAccessor >::~ImageAdaptor | ( | ) | [protected, virtual] |
itk::ImageAdaptor< TImage, TAccessor >::ImageAdaptor | ( | const Self & | ) | [private] |
void itk::ImageAdaptor< TImage, TAccessor >::Allocate | ( | ) | [inline, virtual] |
Allocate the image memory. Dimension and Size must be set a priori.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 188 of file itkImageAdaptor.h.
IndexType itk::ImageAdaptor< TImage, TAccessor >::ComputeIndex | ( | OffsetValueType | offset | ) | const |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::CopyInformation | ( | const DataObject * | data | ) | [virtual] |
Copy information from the specified data set. This method is part of the pipeline execution model. By default, a ProcessObject will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from from another DataObject. ImageBase has more meta-data than its DataObject. Thus, it must provide its own version of CopyInformation() in order to copy the LargestPossibleRegion from the input parameter.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual::itk::LightObject::Pointer itk::ImageAdaptor< TImage, TAccessor >::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::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::AddImageAdaptor< TImage >, and itk::VectorToRGBImageAdaptor< TImage >.
virtual const RegionType& itk::ImageAdaptor< TImage, TAccessor >::GetBufferedRegion | ( | ) | const [virtual] |
Get the region object that defines the size and starting index of the region of the image currently loaded in memory. This method overloads the one in ImageBase in order to delegate to the adapted image.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::GetBufferPointer | ( | ) |
Return a pointer to the beginning of the buffer. This is used by the image iterator class.
const InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::GetBufferPointer | ( | ) | const |
virtual const DirectionType& itk::ImageAdaptor< TImage, TAccessor >::GetDirection | ( | ) | const [virtual] |
virtual const RegionType& itk::ImageAdaptor< TImage, TAccessor >::GetLargestPossibleRegion | ( | ) | const [virtual] |
Get the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary conditions. This method overloads the one in ImageBase in order to delegate to the adapted image.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual unsigned long itk::ImageAdaptor< TImage, TAccessor >::GetMTime | ( | ) | const [virtual] |
Delegate GetMTime to the Internal Image
Reimplemented from itk::Object.
virtual const char* itk::ImageAdaptor< TImage, TAccessor >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::VectorToRGBImageAdaptor< TImage >, and itk::AddImageAdaptor< TImage >.
const OffsetValueType* itk::ImageAdaptor< TImage, TAccessor >::GetOffsetTable | ( | ) | const |
Get the OffsetTable from the adapted image
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual const PointType& itk::ImageAdaptor< TImage, TAccessor >::GetOrigin | ( | ) | const [virtual] |
Get the origin of the image. The origin is the geometric coordinates of the image origin.
PixelType itk::ImageAdaptor< TImage, TAccessor >::GetPixel | ( | const IndexType & | index | ) | const [inline] |
Get a pixel (read only version)
Definition at line 202 of file itkImageAdaptor.h.
AccessorType& itk::ImageAdaptor< TImage, TAccessor >::GetPixelAccessor | ( | void | ) | [inline] |
Return the Data Accesor object
Definition at line 295 of file itkImageAdaptor.h.
const AccessorType& itk::ImageAdaptor< TImage, TAccessor >::GetPixelAccessor | ( | void | ) | const [inline] |
Return the Data Accesor object
Definition at line 299 of file itkImageAdaptor.h.
PixelContainerPointer itk::ImageAdaptor< TImage, TAccessor >::GetPixelContainer | ( | ) | [inline] |
Return a pointer to the container.
Definition at line 222 of file itkImageAdaptor.h.
const PixelContainer* itk::ImageAdaptor< TImage, TAccessor >::GetPixelContainer | ( | ) | const [inline] |
Definition at line 225 of file itkImageAdaptor.h.
virtual const RegionType& itk::ImageAdaptor< TImage, TAccessor >::GetRequestedRegion | ( | ) | const [virtual] |
Get the region object that defines the size and starting index for the region of the image requested (i.e., the region of the image to be operated on by a filter). This method overloads the one in ImageBase in order to delegate to the adapted image.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual const SpacingType& itk::ImageAdaptor< TImage, TAccessor >::GetSpacing | ( | ) | const [virtual] |
Get the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples.
virtual void itk::ImageAdaptor< TImage, TAccessor >::Graft | ( | const DataObject * | data | ) | [virtual] |
Graft the data and information from one image to another. This is a convenience method to setup a second image with all the meta information of another image and use the same pixel container. Note that this method is different than just using two SmartPointers to the same image since separate DataObjects are still maintained. This method is similar to ImageSource::GraftOutput(). The implementation in ImageBase simply calls CopyInformation() and copies the region ivars. The implementation here refers to the superclass' implementation and then copies over the pixel container.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::Initialize | ( | ) | [virtual] |
Restore the data object to its initial state. This means releasing memory.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::Modified | ( | ) | const [virtual] |
Delegate Modified to the Internal Image
Reimplemented from itk::Object.
static Pointer itk::ImageAdaptor< TImage, TAccessor >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::AddImageAdaptor< TImage >, and itk::VectorToRGBImageAdaptor< TImage >.
void itk::ImageAdaptor< TImage, TAccessor >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Reimplemented in itk::VectorImageToImageAdaptor< TPixelType, Dimension >, itk::AtanImageAdaptor< TImage, TOutputPixelType >, itk::AbsImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >, itk::AsinImageAdaptor< TImage, TOutputPixelType >, itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >, itk::LogImageAdaptor< TImage, TOutputPixelType >, itk::AcosImageAdaptor< TImage, TOutputPixelType >, itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >, itk::TanImageAdaptor< TImage, TOutputPixelType >, itk::ComplexConjugateImageAdaptor< TImage >, itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >, itk::Log10ImageAdaptor< TImage, TOutputPixelType >, itk::SinImageAdaptor< TImage, TOutputPixelType >, itk::CosImageAdaptor< TImage, TOutputPixelType >, itk::ExpImageAdaptor< TImage, TOutputPixelType >, itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >, itk::SqrtImageAdaptor< TImage, TOutputPixelType >, itk::NthElementImageAdaptor< TImage, TOutputPixelType >, itk::RGBToVectorImageAdaptor< TImage >, itk::AddImageAdaptor< TImage >, and itk::VectorToRGBImageAdaptor< TImage >.
PixelType itk::ImageAdaptor< TImage, TAccessor >::operator[] | ( | const IndexType & | index | ) | const [inline] |
Access a pixel. This version can only be an rvalue.
Definition at line 206 of file itkImageAdaptor.h.
void itk::ImageAdaptor< TImage, TAccessor >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::PropagateRequestedRegion | ( | ) | throw ( InvalidRequestedRegionError ) [virtual] |
Methods to update the pipeline. Called internally by the pipeline mechanism.
Reimplemented from itk::DataObject.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetBufferedRegion | ( | const RegionType & | region | ) | [virtual] |
Set the region object that defines the size and starting index of the region of the image currently load in memory.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetDirection | ( | const DirectionType | direction | ) | [virtual] |
Set the direction of the image.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetImage | ( | TImage * | ) | [virtual] |
Set Internal Image
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetLargestPossibleRegion | ( | const RegionType & | region | ) | [virtual] |
Set the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary conditions.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetOrigin | ( | const PointType | values | ) | [virtual] |
Set the origin of the image.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetOrigin | ( | const double * | values | ) | [virtual] |
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetOrigin | ( | const float * | values | ) | [virtual] |
void itk::ImageAdaptor< TImage, TAccessor >::SetPixel | ( | const IndexType & | index, |
const PixelType & | value | ||
) | [inline] |
Set a pixel.
Definition at line 198 of file itkImageAdaptor.h.
void itk::ImageAdaptor< TImage, TAccessor >::SetPixelAccessor | ( | const AccessorType & | accessor | ) | [inline] |
Sets the Data Accesor object
Definition at line 303 of file itkImageAdaptor.h.
void itk::ImageAdaptor< TImage, TAccessor >::SetPixelContainer | ( | PixelContainer * | container | ) |
Set the container to use. Note that this does not cause the DataObject to be modified.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetRequestedRegion | ( | const RegionType & | region | ) | [virtual] |
Set the region object that defines the size and starting index for the region of the image requested.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetRequestedRegion | ( | const DataObject * | data | ) | [virtual] |
Set the requested region from this data object to match the requested region of the data object passed in as a parameter. This method implements the API from DataObject. The data object parameter must be castable to an ImageBase.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetRequestedRegionToLargestPossibleRegion | ( | ) | [virtual] |
Set the RequestedRegion to the LargestPossibleRegion. This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetSpacing | ( | const SpacingType & | values | ) | [virtual] |
Set the spacing (size of a pixel) of the image.
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetSpacing | ( | const double * | values | ) | [virtual] |
virtual void itk::ImageAdaptor< TImage, TAccessor >::SetSpacing | ( | const float * | values | ) | [virtual] |
void itk::ImageAdaptor< TImage, TAccessor >::TransformContinuousIndexToPhysicalPoint | ( | const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | index, |
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | point | ||
) | const [inline] |
Get a physical point (in the space which the origin and spacing infomation comes from) from a continuous index (in the index space)
Definition at line 356 of file itkImageAdaptor.h.
void itk::ImageAdaptor< TImage, TAccessor >::TransformIndexToPhysicalPoint | ( | const IndexType & | index, |
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | point | ||
) | const [inline] |
Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)
Definition at line 371 of file itkImageAdaptor.h.
void itk::ImageAdaptor< TImage, TAccessor >::TransformLocalVectorToPhysicalVector | ( | const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | inputGradient, |
FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | outputGradient | ||
) | const [inline] |
Definition at line 380 of file itkImageAdaptor.h.
bool itk::ImageAdaptor< TImage, TAccessor >::TransformPhysicalPointToContinuousIndex | ( | const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | point, |
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | index | ||
) | const [inline] |
Get the continuous index from a physical point.
Returns true if the resulting index is within the image, false otherwise.
Definition at line 329 of file itkImageAdaptor.h.
bool itk::ImageAdaptor< TImage, TAccessor >::TransformPhysicalPointToIndex | ( | const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | point, |
IndexType & | index | ||
) | const [inline] |
Get the index (discrete) from a physical point. Floating point index results are truncated to integers. Returns true if the resulting index is within the image, false otherwise
Definition at line 343 of file itkImageAdaptor.h.
void itk::ImageAdaptor< TImage, TAccessor >::TransformPhysicalVectorToLocalVector | ( | const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | inputGradient, |
FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > & | outputGradient | ||
) | const [inline] |
Definition at line 388 of file itkImageAdaptor.h.
virtual void itk::ImageAdaptor< TImage, TAccessor >::Update | ( | ) | [virtual] |
Return the Data Accesor object
Reimplemented from itk::DataObject.
virtual void itk::ImageAdaptor< TImage, TAccessor >::UpdateOutputData | ( | ) | [virtual] |
Overriden from base class to check if the requested image region has zero pixels.
This is needed so that filters can set an input's requested region to zero, to indicate that it does not need to be updated or executed.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::ImageAdaptor< TImage, TAccessor >::UpdateOutputInformation | ( | ) | [virtual] |
Methods to update the pipeline. Called internally by the pipeline mechanism.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual bool itk::ImageAdaptor< TImage, TAccessor >::VerifyRequestedRegion | ( | ) | [virtual] |
Verify that the RequestedRegion is within the LargestPossibleRegion. If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possible satisfy the request. This method returns true if the request can be satisfied and returns fails if the request cannot. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception is the requested region is not within the LargestPossibleRegion.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
const unsigned int itk::ImageAdaptor< TImage, TAccessor >::ImageDimension = TImage::ImageDimension [static] |
Dimension of the image. This constant is used by functions that are templated over image type (as opposed to being templated over pixel type and dimension) when they need compile time access to the dimension of the image.
Reimplemented from itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
Definition at line 60 of file itkImageAdaptor.h.
TImage::Pointer itk::ImageAdaptor< TImage, TAccessor >::m_Image [private] |
Definition at line 408 of file itkImageAdaptor.h.
AccessorType itk::ImageAdaptor< TImage, TAccessor >::m_PixelAccessor [private] |
Definition at line 412 of file itkImageAdaptor.h.