ITK
6.0.0
Insight Toolkit
|
#include <itkImageAdaptor.h>
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 56 of file itkImageAdaptor.h.
Classes | |
struct | Rebind |
Public Types | |
using | AccessorFunctorType = typename InternalImageType::AccessorFunctorType::template Rebind< Self >::Type |
using | AccessorType = TAccessor |
using | ConstPointer = SmartPointer< const Self > |
using | ConstWeakPointer = WeakPointer< const Self > |
using | IndexValueType = typename IndexType::IndexValueType |
using | InternalImageType = TImage |
using | InternalPixelType = typename TAccessor::InternalType |
using | IOPixelType = PixelType |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | PixelContainer = typename TImage::PixelContainer |
using | PixelContainerConstPointer = typename TImage::PixelContainerConstPointer |
using | PixelContainerPointer = typename TImage::PixelContainerPointer |
using | PixelType = typename TAccessor::ExternalType |
using | Pointer = SmartPointer< Self > |
template<typename UPixelType , unsigned int VUImageDimension = TImage::ImageDimension> | |
using | RebindImageType = itk::Image< UPixelType, VUImageDimension > |
using | Self = ImageAdaptor |
using | SizeValueType = typename SizeType::SizeValueType |
using | Superclass = ImageBase< Self::ImageDimension > |
Public Types inherited from itk::ImageBase< TImage::ImageDimension > | |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = Matrix< SpacePrecisionType, VImageDimension, VImageDimension > |
using | ImageDimensionType = unsigned int |
using | IndexType = Index< VImageDimension > |
using | IndexValueType = typename IndexType::IndexValueType |
using | OffsetType = Offset< VImageDimension > |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | Pointer = SmartPointer< Self > |
using | PointType = Point< PointValueType, VImageDimension > |
using | PointValueType = SpacePrecisionType |
using | RegionType = ImageRegion< VImageDimension > |
using | Self = ImageBase |
using | SizeType = Size< VImageDimension > |
using | SizeValueType = typename SizeType::SizeValueType |
using | SpacingType = Vector< SpacingValueType, VImageDimension > |
using | SpacingValueType = SpacePrecisionType |
using | Superclass = DataObject |
Public Types inherited from itk::DataObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = std::string |
using | DataObjectPointerArraySizeType = std::vector< Pointer >::size_type |
using | Pointer = SmartPointer< Self > |
using | Self = DataObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
void | Allocate (bool initialize=false) override |
IndexType | ComputeIndex (OffsetValueType offset) const |
void | CopyInformation (const DataObject *data) override |
const RegionType & | GetBufferedRegion () const override |
InternalPixelType * | GetBufferPointer () |
const InternalPixelType * | GetBufferPointer () const |
const DirectionType & | GetDirection () const override |
const RegionType & | GetLargestPossibleRegion () const override |
ModifiedTimeType | GetMTime () const override |
const char * | GetNameOfClass () const override |
const OffsetValueType * | GetOffsetTable () const |
const PointType & | GetOrigin () const override |
PixelType | GetPixel (const IndexType &index) const |
AccessorType & | GetPixelAccessor () |
const AccessorType & | GetPixelAccessor () const |
PixelContainerPointer | GetPixelContainer () |
const PixelContainer * | GetPixelContainer () const |
const RegionType & | GetRequestedRegion () const override |
const SpacingType & | GetSpacing () const override |
virtual void | Graft (const Self *imgData) |
void | Initialize () override |
void | Modified () const override |
PixelType | operator[] (const IndexType &index) const |
void | PropagateRequestedRegion () override |
void | SetBufferedRegion (const RegionType ®ion) override |
void | SetDirection (const DirectionType &direction) override |
virtual void | SetImage (TImage *) |
void | SetLargestPossibleRegion (const RegionType ®ion) override |
void | SetOrigin (const double *origin) override |
void | SetOrigin (const float *origin) override |
void | SetOrigin (const PointType origin) override |
void | SetPixel (const IndexType &index, const PixelType &value) |
void | SetPixelAccessor (const AccessorType &accessor) |
void | SetPixelContainer (PixelContainer *container) |
void | SetRequestedRegion (const DataObject *data) override |
void | SetRequestedRegion (const RegionType ®ion) override |
void | SetRequestedRegionToLargestPossibleRegion () override |
void | SetSpacing (const double *spacing) override |
void | SetSpacing (const float *spacing) override |
void | SetSpacing (const SpacingType &spacing) override |
template<typename TCoordinate > | |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordinate, Self::ImageDimension > &index, Point< TCoordinate, Self::ImageDimension > &point) const |
template<typename TCoordinate , typename TIndexRep > | |
Point< TCoordinate, TImage::ImageDimension > | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, Self::ImageDimension > &index) const |
template<typename TCoordinate > | |
Point< TCoordinate, Self::ImageDimension > | TransformIndexToPhysicalPoint (const IndexType &index) const |
template<typename TCoordinate > | |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, Self::ImageDimension > &point) const |
template<typename TCoordinate > | |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, Self::ImageDimension > &inputGradient, FixedArray< TCoordinate, Self::ImageDimension > &outputGradient) const |
template<typename TVector > | |
TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
template<typename TCoordinate > | |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, Self::ImageDimension > &point, ContinuousIndex< TCoordinate, Self::ImageDimension > &index) const |
template<typename TIndexRep , typename TCoordinate > | |
ContinuousIndex< TIndexRep, TImage::ImageDimension > | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, TImage::ImageDimension > &point) const |
template<typename TCoordinate > | |
IndexType | TransformPhysicalPointToIndex (const Point< TCoordinate, Self::ImageDimension > &point) const |
template<typename TCoordinate > | |
bool | TransformPhysicalPointToIndex (const Point< TCoordinate, Self::ImageDimension > &point, IndexType &index) const |
template<typename TCoordinate > | |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, Self::ImageDimension > &inputGradient, FixedArray< TCoordinate, Self::ImageDimension > &outputGradient) const |
template<typename TVector > | |
TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const |
void | Update () override |
void | UpdateOutputData () override |
void | UpdateOutputInformation () override |
bool | VerifyRequestedRegion () override |
Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
void | AllocateInitialized () |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
void | CopyInformation (const DataObject *data) override |
virtual const DirectionType & | GetInverseDirection () const |
const char * | GetNameOfClass () const override |
void | Initialize () override |
bool | IsCongruentImageGeometry (const ImageBase *otherImage, double coordinateTolerance, double directionTolerance) const |
bool | IsSameImageGeometryAs (const ImageBase *otherImage, double coordinateTolerance=DefaultImageCoordinateTolerance, double directionTolerance=DefaultImageDirectionTolerance) const |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
virtual void | SetRegions (const SizeType &size) |
void | SetRequestedRegion (const DataObject *data) override |
void | SetRequestedRegionToLargestPossibleRegion () override |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const |
ContinuousIndex< TIndexRep, VImageDimension > | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point) const |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const |
bool | TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point, IndexType &index) const |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const |
void | UpdateOutputData () override |
void | UpdateOutputInformation () override |
bool | VerifyRequestedRegion () override |
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]) |
IndexType | TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordinate, VImageDimension > &point) const |
Point< TCoordinate, VImageDimension > | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const |
Point< TCoordinate, VImageDimension > | TransformIndexToPhysicalPoint (const IndexType &index) const |
TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) 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 |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | PrepareForNewData () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
void | UpdateSource () 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 *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
static constexpr unsigned int | GetImageDimension () |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static Pointer | New () |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ImageBase< TImage::ImageDimension > | |
static constexpr ImageDimensionType | ImageDimension |
Protected Member Functions | |
void | Graft (const DataObject *data) override |
ImageAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageAdaptor () override=default | |
Protected Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
virtual void | ComputeIndexToPhysicalPointMatrices () |
void | ComputeOffsetTable () |
void | Graft (const DataObject *data) override |
ImageBase ()=default | |
virtual void | InitializeBufferedRegion () |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageBase () override=default | |
OffsetValueType | FastComputeOffset (const IndexType &ind) const |
IndexType | FastComputeIndex (OffsetValueType offset) const |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
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 | |
template<typename T > | |
void | UpdateAccessor (T *) |
template<typename TPixelType > | |
void | UpdateAccessor (typename itk::VectorImage< TPixelType, ImageDimension > *) |
Private Attributes | |
TImage::Pointer | m_Image {} |
AccessorType | m_PixelAccessor {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::ImageBase< TImage::ImageDimension > | |
SpacingType | m_Spacing |
PointType | m_Origin |
DirectionType | m_Direction |
DirectionType | m_InverseDirection |
DirectionType | m_IndexToPhysicalPoint |
DirectionType | m_PhysicalPointToIndex |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ImageAdaptor< TImage, TAccessor >::AccessorFunctorType = typename InternalImageType::AccessorFunctorType::template Rebind<Self>::Type |
type alias of the functor that chooses the appropriate accessor Image or VectorImage.
Definition at line 99 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::AccessorType = TAccessor |
Accessor type that convert data between internal and external representations.
Definition at line 95 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::ConstPointer = SmartPointer<const Self> |
Definition at line 71 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::ConstWeakPointer = WeakPointer<const Self> |
Definition at line 72 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::IndexValueType = typename IndexType::IndexValueType |
Definition at line 103 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::InternalImageType = TImage |
Typedef of unadapted image
Definition at line 78 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::InternalPixelType = typename TAccessor::InternalType |
Pixel type alias support Used to declare pixel type in filters or other operations.
Definition at line 89 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::IOPixelType = PixelType |
Definition at line 91 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::OffsetValueType = typename OffsetType::OffsetValueType |
Definition at line 111 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::PixelContainer = typename TImage::PixelContainer |
PixelContainer type alias support Used to construct a container for the pixel data.
Definition at line 239 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::PixelContainerConstPointer = typename TImage::PixelContainerConstPointer |
Definition at line 241 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::PixelContainerPointer = typename TImage::PixelContainerPointer |
Definition at line 240 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::PixelType = typename TAccessor::ExternalType |
Pixel type alias support Used to declare pixel type in filters or other operations.
Definition at line 85 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::Pointer = SmartPointer<Self> |
Definition at line 70 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::RebindImageType = itk::Image<UPixelType, VUImageDimension> |
Definition at line 144 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::Self = ImageAdaptor |
Standard class type aliases.
Definition at line 68 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::SizeValueType = typename SizeType::SizeValueType |
Definition at line 107 of file itkImageAdaptor.h.
using itk::ImageAdaptor< TImage, TAccessor >::Superclass = ImageBase<Self::ImageDimension> |
Definition at line 69 of file itkImageAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Allocate the image memory. Dimension and Size must be set a priori.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
IndexType itk::ImageAdaptor< TImage, TAccessor >::ComputeIndex | ( | OffsetValueType | offset | ) | const |
|
overridevirtual |
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. The default implementation of this method is empty. If a subclass overrides this method, it should always call its superclass' version.
Reimplemented from itk::DataObject.
|
overridevirtual |
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< 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 |
|
overridevirtual |
Get the direction cosines of the image. The direction cosines are vectors that point from one pixel to the next. For ImageBase and Image, the default direction is identity.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
overridevirtual |
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< TImage::ImageDimension >.
|
overridevirtual |
Delegate GetMTime to the Internal Image
Reimplemented from itk::Object.
|
overridevirtual |
Reimplemented from itk::DataObject.
Reimplemented in itk::NthElementImageAdaptor< TImage, TOutputPixelType >.
const OffsetValueType* itk::ImageAdaptor< TImage, TAccessor >::GetOffsetTable | ( | ) | const |
Get the OffsetTable from the adapted image
|
overridevirtual |
Get the origin of the image. The origin is the geometric coordinates of the image origin.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
inline |
Get a pixel (read only version)
Definition at line 221 of file itkImageAdaptor.h.
|
inline |
Return the Data Accesor object
Definition at line 343 of file itkImageAdaptor.h.
|
inline |
Return the Data Accesor object
Definition at line 350 of file itkImageAdaptor.h.
|
inline |
Return a pointer to the container.
Definition at line 245 of file itkImageAdaptor.h.
|
inline |
Definition at line 251 of file itkImageAdaptor.h.
|
overridevirtual |
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< TImage::ImageDimension >.
|
overridevirtual |
Get the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
overrideprotectedvirtual |
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. Subclasses of ImageBase are responsible for copying the pixel container.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
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< TImage::ImageDimension >.
|
overridevirtual |
Restore the data object to its initial state. This means releasing memory.
Reimplemented from itk::DataObject.
|
overridevirtual |
Delegate Modified to the Internal Image
Reimplemented from itk::Object.
|
static |
Method for creation through the object factory.
|
inline |
Access a pixel. This version can only be an rvalue.
Definition at line 227 of file itkImageAdaptor.h.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::DataObject.
|
overridevirtual |
Methods to update the pipeline. Called internally by the pipeline mechanism.
Reimplemented from itk::DataObject.
|
overridevirtual |
Set the region object that defines the size and starting index of the region of the image currently load in memory.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
overridevirtual |
Set the direction of the image.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
virtual |
Set Internal Image
|
overridevirtual |
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.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
override |
|
override |
|
overridevirtual |
Set the origin of the image.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
inline |
Set a pixel.
Definition at line 214 of file itkImageAdaptor.h.
|
inline |
Sets the Data Accesor object
Definition at line 357 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.
|
overridevirtual |
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::DataObject.
|
overridevirtual |
Set the region object that defines the size and starting index for the region of the image requested.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
overridevirtual |
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::DataObject.
|
override |
|
override |
|
overridevirtual |
Set the spacing (size of a pixel) of the image.
Reimplemented from itk::ImageBase< TImage::ImageDimension >.
|
inline |
Get a physical point (in the space which the origin and spacing information comes from) from a continuous index (in the index space)
Definition at line 439 of file itkImageAdaptor.h.
|
inline |
Returns a physical point from a continuous index (in the index space)
Definition at line 448 of file itkImageAdaptor.h.
|
inline |
Returns a physical point from a discrete index (in the index space)
Definition at line 468 of file itkImageAdaptor.h.
|
inline |
Get a physical point (in the space which the origin and spacing information comes from) from a discrete index (in the index space)
Definition at line 460 of file itkImageAdaptor.h.
|
inline |
Definition at line 475 of file itkImageAdaptor.h.
|
inline |
Definition at line 483 of file itkImageAdaptor.h.
|
inline |
Get the continuous index from a physical point.
Returns true if the resulting index is within the image, false otherwise.
bool
return value, please call the corresponding overload instead, which has only one parameter (the point), and returns the continuous index.Definition at line 404 of file itkImageAdaptor.h.
|
inline |
Returns the continuous index from a physical point.
Definition at line 389 of file itkImageAdaptor.h.
|
inline |
Returns the index (discrete) of a voxel from a physical point.
Definition at line 413 of file itkImageAdaptor.h.
|
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
bool
return value, please call the corresponding overload instead, which has only one parameter (the point), and returns the index.Definition at line 428 of file itkImageAdaptor.h.
|
inline |
Definition at line 492 of file itkImageAdaptor.h.
|
inline |
Definition at line 500 of file itkImageAdaptor.h.
|
overridevirtual |
Return the Data Accesor object
Reimplemented from itk::DataObject.
|
inlineprivate |
Definition at line 529 of file itkImageAdaptor.h.
|
inlineprivate |
Definition at line 521 of file itkImageAdaptor.h.
|
overridevirtual |
Reimplemented from itk::DataObject.
|
overridevirtual |
Methods to update the pipeline. Called internally by the pipeline mechanism.
Reimplemented from itk::DataObject.
|
overridevirtual |
Verify that the RequestedRegion is within the LargestPossibleRegion.
If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possibly satisfy the request. This method returns true if the request can be satisfied (even if it will be necessary to process the entire LargestPossibleRegion) and returns false otherwise. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception if the requested region is not within the LargestPossibleRegion. Default implementation simply returns true in order to support DataObjects that do not need regions (for instance itk::EquivalencyTable).
Reimplemented from itk::DataObject.
|
staticconstexpr |
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.
Definition at line 65 of file itkImageAdaptor.h.
|
private |
Definition at line 534 of file itkImageAdaptor.h.
|
private |
Definition at line 538 of file itkImageAdaptor.h.