ITK
5.2.0
Insight Toolkit
|
#include <itkSparseImage.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | ConstWeakPointer = WeakPointer< const Self > |
using | IndexType = typename Superclass::IndexType |
using | IOPixelType = typename Superclass::IOPixelType |
using | NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor< Self > |
using | NodeListType = SparseFieldLayer< NodeType > |
using | NodeStoreType = ObjectStore< NodeType > |
using | NodeType = TNode |
using | Pointer = SmartPointer< Self > |
using | Self = SparseImage |
using | Superclass = Image< TNode *, VImageDimension > |
Public Types inherited from itk::Image< TNode *, VImageDimension > | |
using | AccessorFunctorType = DefaultPixelAccessorFunctor< Self > |
using | AccessorType = DefaultPixelAccessor< PixelType > |
using | ConstPointer = SmartPointer< const Self > |
using | ConstWeakPointer = WeakPointer< const Self > |
using | DirectionType = typename Superclass::DirectionType |
using | ImageDimensionType = typename Superclass::ImageDimensionType |
using | IndexType = typename Superclass::IndexType |
using | IndexValueType = typename Superclass::IndexValueType |
using | InternalPixelType = TNode * |
using | IOPixelType = PixelType |
using | NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor< Self > |
using | OffsetType = typename Superclass::OffsetType |
using | OffsetValueType = typename Superclass::OffsetValueType |
using | PixelContainer = ImportImageContainer< SizeValueType, PixelType > |
using | PixelContainerConstPointer = typename PixelContainer::ConstPointer |
using | PixelContainerPointer = typename PixelContainer::Pointer |
using | PixelType = TNode * |
using | Pointer = SmartPointer< Self > |
using | PointType = typename Superclass::PointType |
using | RebindImageType = itk::Image< UPixelType, NUImageDimension > |
using | RegionType = typename Superclass::RegionType |
using | Self = Image |
using | SizeType = typename Superclass::SizeType |
using | SizeValueType = typename Superclass::SizeValueType |
using | SpacingType = typename Superclass::SpacingType |
using | SpacingValueType = typename Superclass::SpacingValueType |
using | Superclass = ImageBase< VImageDimension > |
using | ValueType = TNode * |
Public Types inherited from itk::ImageBase< VImageDimension > | |
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 | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () |
const NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () const |
Public Member Functions inherited from itk::Image< TNode *, VImageDimension > | |
void | Allocate (bool initializePixels=false) override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | FillBuffer (const TNode * &value) |
TNode * & | GetPixel (const IndexType &index) |
const TNode * & | GetPixel (const IndexType &index) const |
void | Initialize () override |
TNode * & | operator[] (const IndexType &index) |
const TNode * & | operator[] (const IndexType &index) const |
void | SetPixel (const IndexType &index, const TNode * &value) |
virtual TNode * * | GetBufferPointer () |
virtual const TNode * * | GetBufferPointer () const |
PixelContainer * | GetPixelContainer () |
const PixelContainer * | GetPixelContainer () const |
void | SetPixelContainer (PixelContainer *container) |
virtual void | Graft (const Self *image) |
AccessorType | GetPixelAccessor () |
const AccessorType | GetPixelAccessor () const |
NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () |
const NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () const |
unsigned int | GetNumberOfComponentsPerPixel () const override |
Public Member Functions inherited from itk::ImageBase< VImageDimension > | |
virtual void | SetOrigin (PointType _arg) |
virtual void | SetOrigin (const double origin[VImageDimension]) |
virtual void | SetOrigin (const float origin[VImageDimension]) |
virtual void | SetDirection (const DirectionType &direction) |
virtual const DirectionType & | GetDirection () const |
virtual const DirectionType & | GetInverseDirection () const |
virtual const SpacingType & | GetSpacing () const |
virtual const PointType & | GetOrigin () const |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
virtual const RegionType & | GetLargestPossibleRegion () const |
virtual void | SetBufferedRegion (const RegionType ®ion) |
virtual const RegionType & | GetBufferedRegion () const |
virtual void | SetRequestedRegion (const RegionType ®ion) |
void | SetRequestedRegion (const DataObject *data) override |
virtual const RegionType & | GetRequestedRegion () const |
virtual void | SetRegions (const RegionType ®ion) |
virtual void | SetRegions (const SizeType &size) |
const OffsetValueType * | GetOffsetTable () const |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | SetSpacing (const SpacingType &spacing) |
virtual void | SetSpacing (const double spacing[VImageDimension]) |
virtual void | SetSpacing (const float spacing[VImageDimension]) |
template<typename TCoordRep > | |
IndexType | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point) const |
template<typename TCoordRep > | |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const |
template<typename TIndexRep , typename TCoordRep > | |
ContinuousIndex< TIndexRep, VImageDimension > | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point) const |
template<typename TCoordRep , typename TIndexRep > | |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const |
template<typename TCoordRep , typename TIndexRep > | |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const |
template<typename TCoordRep , typename TIndexRep > | |
Point< TCoordRep, VImageDimension > | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const |
template<typename TCoordRep > | |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const |
template<typename TCoordRep > | |
Point< TCoordRep, VImageDimension > | TransformIndexToPhysicalPoint (const IndexType &index) const |
template<typename TCoordRep > | |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
template<typename TVector > | |
TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
template<typename TCoordRep > | |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
template<typename TVector > | |
TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const |
void | CopyInformation (const DataObject *data) override |
void | UpdateOutputInformation () override |
void | UpdateOutputData () override |
void | SetRequestedRegionToLargestPossibleRegion () override |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
bool | VerifyRequestedRegion () override |
virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
Public Member Functions inherited from itk::DataObject | |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
virtual void | Update () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
virtual void | PrepareForNewData () |
virtual void | DataHasBeenGenerated () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
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::Image< TNode *, VImageDimension > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageBase< VImageDimension > | |
static unsigned int | GetImageDimension () |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static 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 = Superclass::ImageDimension |
Static Public Attributes inherited from itk::ImageBase< VImageDimension > | |
static constexpr ImageDimensionType | ImageDimension = VImageDimension |
NodeListType::Pointer | m_NodeList |
NodeStoreType::Pointer | m_NodeStore |
NodeType * | AddNode (const IndexType &index) |
NodeListType * | GetNodeList () |
void | Initialize () override |
SparseImage () | |
~SparseImage () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Additional Inherited Members | |
Protected Member Functions inherited from itk::Image< TNode *, VImageDimension > | |
void | Graft (const DataObject *data) override |
Image () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~Image () override=default | |
void | ComputeIndexToPhysicalPointMatrices () override |
Protected Member Functions inherited from itk::ImageBase< VImageDimension > | |
ImageBase () | |
~ImageBase () override=default | |
void | ComputeOffsetTable () |
virtual void | InitializeBufferedRegion () |
OffsetValueType | FastComputeOffset (const IndexType &ind) const |
IndexType | FastComputeIndex (OffsetValueType offset) const |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
~DataObject () override | |
virtual void | PropagateResetPipeline () |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
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 () |
Protected Attributes inherited from itk::ImageBase< VImageDimension > | |
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 |
A storage type for sparse image data.
Definition at line 67 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 76 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::ConstWeakPointer = WeakPointer<const Self> |
Definition at line 77 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::IndexType = typename Superclass::IndexType |
Types derived from the Superclass
Definition at line 92 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::IOPixelType = typename Superclass::IOPixelType |
Definition at line 98 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor<Self> |
Tyepdef for the functor used to access a neighborhood of pixel pointers.
Definition at line 96 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::NodeListType = SparseFieldLayer<NodeType> |
The list types for storing the active pixels.
Definition at line 101 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::NodeStoreType = ObjectStore<NodeType> |
Definition at line 102 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::NodeType = TNode |
The actual sparse pixel type.
Definition at line 89 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::Pointer = SmartPointer<Self> |
Definition at line 75 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::Self = SparseImage |
Standard type alias.
Definition at line 73 of file itkSparseImage.h.
using itk::SparseImage< TNode, VImageDimension >::Superclass = Image<TNode *, VImageDimension> |
Definition at line 74 of file itkSparseImage.h.
|
protected |
The variables for storing the node variables.
|
overrideprotecteddefault |
The variables for storing the node variables.
|
inline |
This function should be used to allocate memory for a variable at the desired pixel location.
Definition at line 123 of file itkSparseImage.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::ImageBase< VImageDimension >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
inline |
Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.
Definition at line 107 of file itkSparseImage.h.
|
inline |
Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.
Definition at line 115 of file itkSparseImage.h.
|
inline |
This function returns the allocated node list which can be used to iterate through the valid nodes.
Definition at line 136 of file itkSparseImage.h.
|
overridevirtual |
This function initializes the m_NodeList and m_NodeStore variables, and calls the superclass Initialize method.
Reimplemented from itk::ImageBase< VImageDimension >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
The variables for storing the node variables.
Reimplemented from itk::ImageBase< VImageDimension >.
|
staticconstexpr |
Dimension of the image.
Definition at line 86 of file itkSparseImage.h.
|
private |
The variables for storing the node variables.
Definition at line 155 of file itkSparseImage.h.
|
private |
The variables for storing the node variables.
Definition at line 157 of file itkSparseImage.h.