ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkLevelSetSparseImage.h>
Base class for the sparse representation of a level-set function on one Image.
TImage | Input image type of the level set function |
Definition at line 42 of file itkLevelSetSparseImage.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | GradientType = typename Superclass::GradientType |
using | HessianType = typename Superclass::HessianType |
using | InputType = typename Superclass::InputType |
using | LabelMapConstPointer = typename LabelMapType::ConstPointer |
using | LabelMapPointer = typename LabelMapType::Pointer |
using | LabelMapType = LabelMap< LabelObjectType > |
using | LabelObjectLengthType = typename LabelObjectType::LengthType |
using | LabelObjectLineType = typename LabelObjectType::LineType |
using | LabelObjectPointer = typename LabelObjectType::Pointer |
using | LabelObjectType = LabelObject< LayerIdType, VDimension > |
using | LayerConstIterator = typename LayerType::const_iterator |
using | LayerIdListType = std::list< LayerIdType > |
using | LayerIdType = int8_t |
using | LayerIterator = typename LayerType::iterator |
using | LayerMapConstIterator = typename LayerMapType::const_iterator |
using | LayerMapIterator = typename LayerMapType::iterator |
using | LayerMapType = std::map< LayerIdType, LayerType > |
using | LayerType = std::map< InputType, OutputType, Functor::LexicographicCompare > |
using | LevelSetDataType = typename Superclass::LevelSetDataType |
using | OutputRealType = typename Superclass::OutputRealType |
using | OutputType = typename Superclass::OutputType |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename LabelMapType::RegionType |
using | Self = LevelSetSparseImage |
using | Superclass = DiscreteLevelSetImage< TOutput, VDimension > |
Public Types inherited from itk::DiscreteLevelSetImage< TOutput, VDimension > | |
using | ConstPointer = SmartPointer< const Self > |
using | GradientType = typename Superclass::GradientType |
using | HessianType = typename Superclass::HessianType |
using | IndexType = Index< VDimension > |
using | InputType = typename Superclass::InputType |
using | LevelSetDataType = typename Superclass::LevelSetDataType |
using | OutputRealType = typename Superclass::OutputRealType |
using | OutputType = typename Superclass::OutputType |
using | Pointer = SmartPointer< Self > |
using | Self = DiscreteLevelSetImage |
using | Superclass = LevelSetImage< IndexType, VDimension, TOutput > |
Public Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput > | |
using | ConstPointer = SmartPointer< const Self > |
using | GradientType = typename Superclass::GradientType |
using | HessianType = typename Superclass::HessianType |
using | ImageBaseType = ImageBase< VDimension > |
using | InputType = typename Superclass::InputType |
using | LevelSetDataType = typename Superclass::LevelSetDataType |
using | OffsetType = typename ImageBaseType::OffsetType |
using | OffsetValueType = typename ImageBaseType::OffsetValueType |
using | OutputRealType = typename Superclass::OutputRealType |
using | OutputType = typename Superclass::OutputType |
using | Pointer = SmartPointer< Self > |
using | Self = LevelSetImage |
using | Superclass = LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBaseType > |
Public Types inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > > | |
using | ConstPointer = SmartPointer< const Self > |
using | DomainType = ImageBase< VDimension > |
using | GradientType = CovariantVector< OutputRealType, VDimension > |
using | HessianType = Matrix< OutputRealType, VDimension, VDimension > |
using | InputType = Index< VDimension > |
using | OutputRealType = typename NumericTraits< OutputType >::RealType |
using | OutputType = TOutput |
using | Pointer = SmartPointer< Self > |
using | RegionType = IdentifierType |
using | Self = LevelSetBase |
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 | |
template<typename TLabel > | |
LabelObject< TLabel, VDimension >::Pointer | GetAsLabelObject () |
const LayerType & | GetLayer (LayerIdType value) const |
LayerType & | GetLayer (LayerIdType value) |
virtual const char * | GetNameOfClass () const |
void | Graft (const DataObject *data) override |
void | SetLayer (LayerIdType value, const LayerType &layer) |
virtual LayerIdType | Status (const InputType &inputIndex) const |
virtual void | SetLabelMap (LabelMapType *labelMap) |
virtual LabelMapType * | GetModifiableLabelMap () |
virtual const LabelMapType * | GetLabelMap () const |
Public Member Functions inherited from itk::DiscreteLevelSetImage< TOutput, VDimension > | |
OutputType | Evaluate (const InputType &inputIndex) const override=0 |
void | Evaluate (const InputType &inputIndex, LevelSetDataType &data) const override |
virtual GradientType | EvaluateBackwardGradient (const InputType &inputIndex) const |
void | EvaluateBackwardGradient (const InputType &inputIndex, LevelSetDataType &data) const override |
virtual GradientType | EvaluateForwardGradient (const InputType &inputIndex) const |
void | EvaluateForwardGradient (const InputType &inputIndex, LevelSetDataType &data) const override |
GradientType | EvaluateGradient (const InputType &inputIndex) const override |
void | EvaluateGradient (const InputType &inputIndex, LevelSetDataType &data) const override |
HessianType | EvaluateHessian (const InputType &inputIndex) const override |
void | EvaluateHessian (const InputType &inputIndex, LevelSetDataType &data) const override |
OutputRealType | EvaluateLaplacian (const InputType &inputIndex) const override |
void | EvaluateLaplacian (const InputType &inputIndex, LevelSetDataType &data) const override |
OutputRealType | EvaluateMeanCurvature (const InputType &inputIndex) const override |
void | EvaluateMeanCurvature (const InputType &inputIndex, LevelSetDataType &data) const override |
Public Member Functions inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput > | |
virtual OffsetType | GetDomainOffset () const |
virtual void | SetDomainOffset (OffsetType _arg) |
Public Member Functions inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > > | |
virtual OutputType | Evaluate (const InputType &iP) const =0 |
virtual GradientType | EvaluateGradient (const InputType &iP) const =0 |
virtual OutputRealType | EvaluateGradientNorm (const InputType &iP) const |
virtual HessianType | EvaluateHessian (const InputType &iP) const =0 |
virtual OutputRealType | EvaluateLaplacian (const InputType &iP) const =0 |
virtual OutputRealType | EvaluateMeanCurvature (const InputType &iP) const =0 |
virtual void | Evaluate (const InputType &iP, LevelSetDataType &ioData) const =0 |
virtual void | EvaluateGradient (const InputType &iP, LevelSetDataType &ioData) const =0 |
virtual void | EvaluateHessian (const InputType &iP, LevelSetDataType &ioData) const =0 |
virtual void | EvaluateLaplacian (const InputType &iP, LevelSetDataType &ioData) const =0 |
virtual void | EvaluateGradientNorm (const InputType &iP, LevelSetDataType &ioData) const |
virtual void | EvaluateMeanCurvature (const InputType &iP, LevelSetDataType &ioData) const |
virtual void | EvaluateForwardGradient (const InputType &iP, LevelSetDataType &ioData) const =0 |
virtual void | EvaluateBackwardGradient (const InputType &iP, LevelSetDataType &ioData) const =0 |
virtual bool | IsInside (const InputType &iP) const |
virtual RegionType | GetMaximumNumberOfRegions () const |
void | Initialize () override |
void | UpdateOutputInformation () override |
void | SetRequestedRegionToLargestPossibleRegion () override |
void | CopyInformation (const DataObject *data) override |
void | Graft (const DataObject *data) override |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
bool | VerifyRequestedRegion () override |
void | SetRequestedRegion (const DataObject *data) override |
virtual void | SetRequestedRegion (const RegionType ®ion) |
virtual RegionType | GetRequestedRegion () const |
virtual void | SetBufferedRegion (const RegionType ®ion) |
virtual RegionType | GetBufferedRegion () const |
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 () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
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 *) |
unsigned long | AddObserver (const EventObject &event, Command *) 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 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 noexceptoverride |
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 | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Attributes | |
static constexpr unsigned int | Dimension = Superclass::Dimension |
Static Public Attributes inherited from itk::DiscreteLevelSetImage< TOutput, VDimension > | |
static constexpr unsigned int | Dimension = Superclass::Dimension |
Static Public Attributes inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput > | |
static constexpr unsigned int | Dimension |
Static Public Attributes inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > > | |
static constexpr unsigned int | Dimension |
Protected Member Functions | |
void | CopyInformation (const DataObject *data) override |
void | Initialize () override |
virtual void | InitializeInternalLabelList ()=0 |
virtual void | InitializeLayers ()=0 |
bool | IsInsideDomain (const InputType &inputIndex) const override |
LevelSetSparseImage ()=default | |
~LevelSetSparseImage () override=default | |
Protected Member Functions inherited from itk::DiscreteLevelSetImage< TOutput, VDimension > | |
DiscreteLevelSetImage ()=default | |
~DiscreteLevelSetImage () override=default | |
Protected Member Functions inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput > | |
virtual bool | IsInsideDomain (const InputType &iP) const =0 |
LevelSetImage () | |
~LevelSetImage () override=default | |
Protected Member Functions inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > > | |
LevelSetBase () | |
~LevelSetBase () override=default | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &time) |
~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 () |
Protected Attributes | |
LayerIdListType | m_InternalLabelList |
LabelMapPointer | m_LabelMap |
LayerMapType | m_Layers |
Protected Attributes inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput > | |
OffsetType | m_DomainOffset |
ScalingType | m_NeighborhoodScales |
Protected Attributes inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > > | |
RegionType | m_MaximumNumberOfRegions |
RegionType | m_NumberOfRegions |
RegionType | m_RequestedNumberOfRegions |
RegionType | m_BufferedRegion |
RegionType | m_RequestedRegion |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput > | |
using | ScalingType = GradientType |
using itk::LevelSetSparseImage< TOutput, VDimension >::ConstPointer = SmartPointer< const Self > |
Definition at line 50 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::GradientType = typename Superclass::GradientType |
Definition at line 61 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::HessianType = typename Superclass::HessianType |
Definition at line 62 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::InputType = typename Superclass::InputType |
Definition at line 58 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapConstPointer = typename LabelMapType::ConstPointer |
Definition at line 75 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapPointer = typename LabelMapType::Pointer |
Definition at line 74 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapType = LabelMap< LabelObjectType > |
Definition at line 73 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLengthType = typename LabelObjectType::LengthType |
Definition at line 70 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLineType = typename LabelObjectType::LineType |
Definition at line 71 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectPointer = typename LabelObjectType::Pointer |
Definition at line 69 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectType = LabelObject< LayerIdType, VDimension > |
Definition at line 68 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerConstIterator = typename LayerType::const_iterator |
Definition at line 81 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdListType = std::list< LayerIdType > |
Definition at line 66 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdType = int8_t |
Definition at line 65 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIterator = typename LayerType::iterator |
Definition at line 80 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapConstIterator = typename LayerMapType::const_iterator |
Definition at line 85 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapIterator = typename LayerMapType::iterator |
Definition at line 84 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapType = std::map< LayerIdType, LayerType > |
Definition at line 83 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerType = std::map< InputType, OutputType, Functor::LexicographicCompare > |
Definition at line 79 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LevelSetDataType = typename Superclass::LevelSetDataType |
Definition at line 63 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::OutputRealType = typename Superclass::OutputRealType |
Definition at line 60 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::OutputType = typename Superclass::OutputType |
Definition at line 59 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::Pointer = SmartPointer< Self > |
Definition at line 49 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::RegionType = typename LabelMapType::RegionType |
Definition at line 76 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::Self = LevelSetSparseImage |
Definition at line 48 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::Superclass = DiscreteLevelSetImage< TOutput, VDimension > |
Definition at line 51 of file itkLevelSetSparseImage.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Copy level set information from data object
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
LabelObject< TLabel, VDimension >::Pointer itk::LevelSetSparseImage< TOutput, VDimension >::GetAsLabelObject | ( | ) |
Return the label object pointer with a given id
|
virtual |
Set/Get the label map for computing the sparse representation
const LayerType& itk::LevelSetSparseImage< TOutput, VDimension >::GetLayer | ( | LayerIdType | value | ) | const |
Return the const reference to a layer map with given id
LayerType& itk::LevelSetSparseImage< TOutput, VDimension >::GetLayer | ( | LayerIdType | value | ) |
Return the pointer to a layer map with given id
|
virtual |
Set/Get the label map for computing the sparse representation
|
virtual |
Run-time type information
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
Reimplemented in itk::MalcolmSparseLevelSetImage< VDimension >, itk::WhitakerSparseLevelSetImage< TOutput, VDimension >, and itk::ShiSparseLevelSetImage< VDimension >.
|
overridevirtual |
Graft data object as level set object
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overrideprotectedvirtual |
Initialize the label map point and the sparse-field layers
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
protectedpure virtual |
|
protectedpure virtual |
Initialize the sparse field layers
Implemented in itk::WhitakerSparseLevelSetImage< TOutput, VDimension >, itk::MalcolmSparseLevelSetImage< VDimension >, and itk::ShiSparseLevelSetImage< VDimension >.
|
overrideprotected |
|
virtual |
Set/Get the label map for computing the sparse representation
void itk::LevelSetSparseImage< TOutput, VDimension >::SetLayer | ( | LayerIdType | value, |
const LayerType & | layer | ||
) |
Set a layer map with id to the given layer pointer
|
virtual |
Returns the layer affiliation of a given location inputIndex
|
static |
Definition at line 56 of file itkLevelSetSparseImage.h.
|
protected |
Definition at line 117 of file itkLevelSetSparseImage.h.
|
protected |
Definition at line 116 of file itkLevelSetSparseImage.h.
|
protected |
Definition at line 115 of file itkLevelSetSparseImage.h.