![]() |
ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkAddImageAdaptor.h>
Presents an image as being the addition of a constant value to all pixels.
Additional casting is performed according to the input and output image types following C++ default casting rules.
Definition at line 36 of file itkAddImageAdaptor.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef AddImageAdaptor | Self |
typedef ImageAdaptor< TImage, Accessor::AddPixelAccessor < typename TImage::PixelType > > | Superclass |
![]() | |
typedef InternalImageType::AccessorFunctorType::template Rebind< Self >::Type | AccessorFunctorType |
typedef Accessor::AddPixelAccessor < TImage::PixelType > | 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 Accessor::AddPixelAccessor < TImage::PixelType > ::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 Accessor::AddPixelAccessor < TImage::PixelType > ::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 |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Matrix< double, VImageDimension, VImageDimension > | DirectionType |
typedef Index< VImageDimension > | IndexType |
typedef IndexType::IndexValueType | IndexValueType |
typedef Offset< VImageDimension > | OffsetType |
typedef OffsetType::OffsetValueType | OffsetValueType |
typedef SmartPointer< Self > | Pointer |
typedef Point< PointValueType, VImageDimension > | PointType |
typedef double | PointValueType |
typedef ImageRegion < VImageDimension > | RegionType |
typedef ImageBase | Self |
typedef Size< VImageDimension > | SizeType |
typedef SizeType::SizeValueType | SizeValueType |
typedef Vector < SpacingValueType, VImageDimension > | SpacingType |
typedef double | SpacingValueType |
typedef DataObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
typedef SmartPointer< Self > | Pointer |
typedef DataObject | Self |
typedef Object | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
PixelType | GetValue () const |
void | SetValue (const PixelType newvalue) |
![]() | |
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 ModifiedTimeType | GetMTime () 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) |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index) const |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, IndexType &index) const |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const |
virtual void | Update () |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
virtual bool | VerifyRequestedRegion () |
![]() | |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
virtual const DirectionType & | GetDirection () |
virtual const DirectionType & | GetInverseDirection () |
virtual const PointType & | GetOrigin () |
virtual const SpacingType & | GetSpacing () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual void | SetRegions (const SizeType &size) |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TCoordRep, VImageDimension > &index) const |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
virtual void | SetOrigin (const double origin[VImageDimension]) |
virtual void | SetOrigin (const float origin[VImageDimension]) |
virtual void | SetRegions (const RegionType ®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< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const |
virtual unsigned int | GetNumberOfComponentsPerPixel () const |
virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
![]() | |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () |
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 () |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () |
![]() | |
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 (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) 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 |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
![]() | |
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 Pointer | New () |
![]() | |
static unsigned int | GetImageDimension () |
static Pointer | New () |
![]() | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static void | SetGlobalReleaseDataFlag (bool val) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
AddImageAdaptor () | |
virtual | ~AddImageAdaptor () |
![]() | |
ImageAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ImageAdaptor () |
![]() | |
virtual void | ComputeIndexToPhysicalPointMatrices () |
void | ComputeOffsetTable () |
ImageBase () | |
virtual void | InitializeBufferedRegion (void) |
~ImageBase () | |
![]() | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
![]() | |
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 | |
AddImageAdaptor (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
![]() | |
static const unsigned int | ImageDimension |
![]() | |
typedef int | InternalReferenceCountType |
![]() | |
DirectionType | m_Direction |
DirectionType | m_IndexToPhysicalPoint |
DirectionType | m_InverseDirection |
PointType | m_Origin |
DirectionType | m_PhysicalPointToIndex |
SpacingType | m_Spacing |
typedef SmartPointer< const Self > itk::AddImageAdaptor< TImage >::ConstPointer |
Definition at line 48 of file itkAddImageAdaptor.h.
typedef TImage::PixelType itk::AddImageAdaptor< TImage >::PixelType |
Definition at line 50 of file itkAddImageAdaptor.h.
typedef SmartPointer< Self > itk::AddImageAdaptor< TImage >::Pointer |
Definition at line 47 of file itkAddImageAdaptor.h.
typedef AddImageAdaptor itk::AddImageAdaptor< TImage >::Self |
Standard class typedefs.
Definition at line 42 of file itkAddImageAdaptor.h.
typedef ImageAdaptor< TImage, Accessor::AddPixelAccessor< typename TImage::PixelType > > itk::AddImageAdaptor< TImage >::Superclass |
Definition at line 45 of file itkAddImageAdaptor.h.
|
inlineprotected |
Definition at line 67 of file itkAddImageAdaptor.h.
|
inlineprotectedvirtual |
Definition at line 68 of file itkAddImageAdaptor.h.
|
private |
|
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.
|
inline |
Get the value to be added to image pixels
Definition at line 63 of file itkAddImageAdaptor.h.
|
static |
Method for creation through the object factory.
|
private |
|
inline |
Set the value to be added to image pixels
Definition at line 59 of file itkAddImageAdaptor.h.