19 #ifndef itkWhitakerSparseLevelSetImage_h
20 #define itkWhitakerSparseLevelSetImage_h
40 template<
typename TOutput,
unsigned int VDimension >
56 itkStaticConstMacro (
Dimension,
unsigned int, VDimension );
87 #ifdef ITK_USE_CONCEPT_CHECKING
94 #endif // ITK_USE_CONCEPT_CHECKING
105 template<
typename TLabel >
110 typename OutputLabelObjectType::Pointer
object = OutputLabelObjectType::New();
117 for(
SizeValueType i = 0; i < labelObject->GetNumberOfLines(); ++i )
119 object->AddLine( labelObject->GetLine( i ) );
138 void operator = ( const Self& );
143 #ifndef ITK_MANUAL_INSTANTIATION
144 #include "itkWhitakerSparseLevelSetImage.hxx"
147 #endif // itkWhitakerSparseLevelSetImage_h
LayerMapType::const_iterator LayerMapConstIterator
std::map< InputType, OutputType, Functor::IndexLexicographicCompare< VDimension > > LayerType
virtual ~WhitakerSparseLevelSetImage()
Superclass::GradientType GradientType
Superclass::InputType InputType
static LayerIdType MinusThreeLayer()
LevelSetSparseImage< TOutput, VDimension > Superclass
Superclass::LevelSetDataType LevelSetDataType
Superclass::LabelObjectType LabelObjectType
LabelMapType::RegionType RegionType
LabelObject< LayerIdType, VDimension > LabelObjectType
static const unsigned int Dimension
Superclass::LabelObjectLengthType LabelObjectLengthType
LayerType::iterator LayerIterator
static LayerIdType MinusOneLayer()
LabelObject< TLabel, Dimension >::Pointer GetAsLabelObject()
LabelObjectType::Pointer LabelObjectPointer
Superclass::LayerConstIterator LayerConstIterator
LabelMapType::Pointer LabelMapPointer
LabelObjectType::LengthType LabelObjectLengthType
Superclass::LabelMapPointer LabelMapPointer
unsigned long SizeValueType
Superclass::LayerMapConstIterator LayerMapConstIterator
Superclass::OutputType OutputType
Base class for the sparse representation of a level-set function on one Image.
virtual OutputType Evaluate(const InputType &inputIndex) const override=0
SmartPointer< Self > Pointer
Superclass::OutputType OutputType
std::map< LayerIdType, LayerType > LayerMapType
SmartPointer< const Self > ConstPointer
Superclass::RegionType RegionType
WhitakerSparseLevelSetImage Self
Derived class for the sparse-field representation of level-set function.
static LayerIdType MinusTwoLayer()
LabelMapPointer m_LabelMap
static LayerIdType PlusThreeLayer()
static LayerIdType PlusOneLayer()
Superclass::LayerType LayerType
Superclass::LevelSetDataType LevelSetDataType
LabelMap< LabelObjectType > LabelMapType
Superclass::OutputRealType OutputRealType
Superclass::LabelObjectLineType LabelObjectLineType
LayerMapType::iterator LayerMapIterator
Superclass::LayerMapIterator LayerMapIterator
Superclass::OutputRealType OutputRealType
Superclass::OutputType OutputType
WhitakerSparseLevelSetImage()
Superclass::InputType InputType
LabelObjectType::LineType LabelObjectLineType
Superclass::LayerIterator LayerIterator
Superclass::GradientType GradientType
The base class for the representation of an labeled binary object in an image.
Superclass::LabelMapType LabelMapType
static LayerIdType ZeroLayer()
Superclass::InputType InputType
Superclass::LayerIdType LayerIdType
LayerType::const_iterator LayerConstIterator
Superclass::HessianType HessianType
Superclass::LabelObjectPointer LabelObjectPointer
static LayerIdType PlusTwoLayer()
Superclass::HessianType HessianType
#define itkConceptMacro(name, concept)
virtual OutputType Evaluate(const InputType &inputIndex) const override
Superclass::LayerMapType LayerMapType
Base class for all data objects in ITK.
virtual void InitializeLayers() override
virtual void InitializeInternalLabelList() override