ITK
4.12.0
Insight Segmentation and Registration Toolkit
|
#include <itkNthElementImageAdaptor.h>
Presents an image as being composed of the N-th element of its pixels.
It assumes that the pixels are of container type and have in their API an operator[]( unsigned int ) defined.
Additional casting is performed according to the input and output image types following C++ default casting rules.
Definition at line 59 of file itkNthElementImageAdaptor.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
void | SelectNthElement (unsigned int nth) |
Public Member Functions inherited from itk::ImageAdaptor< TImage, TAccessor > | |
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 (TImage *) |
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 |
template<typename TCoordRep > | |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const |
template<typename TCoordRep > | |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const |
template<typename TCoordRep > | |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const |
template<typename TCoordRep > | |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index) const |
template<typename TCoordRep > | |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, IndexType &index) const |
template<typename TCoordRep > | |
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< TImage::ImageDimension > | |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const DirectionType & | GetInverseDirection () const |
virtual void | Graft (const Self *data) |
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) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageAdaptor< TImage, TAccessor > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
static unsigned int | GetImageDimension () |
static Pointer | New () |
Protected Member Functions | |
NthElementImageAdaptor () | |
virtual | ~NthElementImageAdaptor () |
Protected Member Functions inherited from itk::ImageAdaptor< TImage, TAccessor > | |
virtual void | Graft (const DataObject *data) override |
ImageAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual | ~ImageAdaptor () |
Protected Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
virtual void | ComputeIndexToPhysicalPointMatrices () |
void | ComputeOffsetTable () |
ImageBase () | |
virtual void | InitializeBufferedRegion () |
~ImageBase () | |
OffsetValueType | FastComputeOffset (const IndexType &ind) const |
IndexType | FastComputeIndex (OffsetValueType offset) const |
Additional Inherited Members | |
Static Public Attributes inherited from itk::ImageAdaptor< TImage, TAccessor > | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ImageBase< TImage::ImageDimension > | |
static const 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 |
typedef SmartPointer< const Self > itk::NthElementImageAdaptor< TImage, TOutputPixelType >::ConstPointer |
Definition at line 67 of file itkNthElementImageAdaptor.h.
typedef SmartPointer< Self > itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Pointer |
Definition at line 66 of file itkNthElementImageAdaptor.h.
typedef NthElementImageAdaptor itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Self |
Standard class typedefs.
Definition at line 64 of file itkNthElementImageAdaptor.h.
typedef NthElementImageAdaptorHelper< TImage, TOutputPixelType >::Super itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Superclass |
Definition at line 65 of file itkNthElementImageAdaptor.h.
|
inlineprotected |
Definition at line 84 of file itkNthElementImageAdaptor.h.
|
inlineprotectedvirtual |
Definition at line 85 of file itkNthElementImageAdaptor.h.
virtual::itk::LightObject::Pointer itk::NthElementImageAdaptor< TImage, TOutputPixelType >::CreateAnother | ( | ) | const |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.
|
static |
Method for creation through the object factory.
|
inline |
Select the element number to be accessed
Definition at line 76 of file itkNthElementImageAdaptor.h.
References itk::ImageAdaptor< TImage, TAccessor >::GetPixelAccessor(), and itk::ImageAdaptor< TImage, TAccessor >::Modified().