|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkWhitakerSparseLevelSetImage_h
20 #define itkWhitakerSparseLevelSetImage_h
40 template <
typename TOutput,
unsigned int VDimension>
57 static constexpr
unsigned int Dimension = VDimension;
86 using Superclass::Evaluate;
88 Evaluate(
const InputType & inputIndex)
const override;
90 #ifdef ITK_USE_CONCEPT_CHECKING
96 #endif // ITK_USE_CONCEPT_CHECKING
103 static inline LayerIdType
108 static inline LayerIdType
113 static inline LayerIdType
118 static inline LayerIdType
123 static inline LayerIdType
128 static inline LayerIdType
135 template <
typename TLabel>
140 typename OutputLabelObjectType::Pointer
object = OutputLabelObjectType::New();
143 for (
LayerIdType status = this->MinusThreeLayer(); status < this->PlusOneLayer(); ++status)
147 for (
SizeValueType i = 0; i < labelObject->GetNumberOfLines(); ++i)
149 object->AddLine(labelObject->GetLine(i));
163 InitializeLayers()
override;
166 InitializeInternalLabelList()
override;
170 #ifndef ITK_MANUAL_INSTANTIATION
171 # include "itkWhitakerSparseLevelSetImage.hxx"
174 #endif // itkWhitakerSparseLevelSetImage_h
Derived class for the sparse-field representation of level-set function.
static LayerIdType ZeroLayer()
static LayerIdType MinusThreeLayer()
typename LayerMapType::const_iterator LayerMapConstIterator
static LayerIdType MinusOneLayer()
Base class for the sparse representation of a level-set function on one Image.
typename LabelObjectType::LineType LabelObjectLineType
std::map< LayerIdType, LayerType > LayerMapType
static LayerIdType MinusTwoLayer()
typename LabelMapType::ConstPointer LabelMapConstPointer
typename Superclass::HessianType HessianType
typename LabelMapType::Pointer LabelMapPointer
static LayerIdType PlusTwoLayer()
Templated n-dimensional image to store labeled objects.
typename LabelObjectType::Pointer LabelObjectPointer
typename LayerMapType::iterator LayerMapIterator
std::map< InputType, OutputType, Functor::LexicographicCompare > LayerType
The base class for the representation of an labeled binary object in an image.
typename Superclass::OutputRealType OutputRealType
typename Superclass::InputType InputType
typename LabelObjectType::LengthType LabelObjectLengthType
typename LabelMapType::RegionType RegionType
ImageBaseType::RegionType RegionType
typename LayerType::iterator LayerIterator
static LayerIdType PlusThreeLayer()
typename Superclass::OutputType OutputType
LabelObject< TLabel, Dimension >::Pointer GetAsLabelObject()
typename Superclass::LevelSetDataType LevelSetDataType
#define itkConceptMacro(name, concept)
typename LayerType::const_iterator LayerConstIterator
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename Superclass::GradientType GradientType
Base class for most ITK classes.
static LayerIdType PlusOneLayer()
constexpr unsigned int Dimension
unsigned long SizeValueType
Base class for all data objects in ITK.