19 #ifndef itkWhitakerSparseLevelSetImage_h
20 #define itkWhitakerSparseLevelSetImage_h
40 template<
typename TOutput,
unsigned int VDimension >
56 itkStaticConstMacro (
Dimension,
unsigned int, VDimension );
84 using Superclass::Evaluate;
87 #ifdef ITK_USE_CONCEPT_CHECKING
94 #endif // ITK_USE_CONCEPT_CHECKING
105 template<
typename TLabel >
110 typename OutputLabelObjectType::Pointer
object = OutputLabelObjectType::New();
113 for(
LayerIdType status = this->MinusThreeLayer(); status < this->PlusOneLayer(); ++status )
117 for(
SizeValueType i = 0; i < labelObject->GetNumberOfLines(); ++i )
119 object->AddLine( labelObject->GetLine( i ) );
132 virtual
void InitializeLayers() ITK_OVERRIDE;
134 virtual
void InitializeInternalLabelList() ITK_OVERRIDE;
142 #ifndef ITK_MANUAL_INSTANTIATION
143 #include "itkWhitakerSparseLevelSetImage.hxx"
146 #endif // itkWhitakerSparseLevelSetImage_h
std::map< InputType, OutputType, Functor::IndexLexicographicCompare< VDimension > > LayerType
Superclass::GradientType GradientType
Superclass::InputType InputType
static LayerIdType MinusThreeLayer()
LevelSetSparseImage< TOutput, VDimension > Superclass
Superclass::LabelObjectType LabelObjectType
Superclass::LabelObjectLengthType LabelObjectLengthType
static LayerIdType MinusOneLayer()
LabelObject< TLabel, Dimension >::Pointer GetAsLabelObject()
Superclass::LayerConstIterator LayerConstIterator
Superclass::LabelMapPointer LabelMapPointer
unsigned long SizeValueType
Superclass::LayerMapConstIterator LayerMapConstIterator
Base class for the sparse representation of a level-set function on one Image.
SmartPointer< Self > Pointer
Superclass::OutputType OutputType
SmartPointer< const Self > ConstPointer
Superclass::RegionType RegionType
WhitakerSparseLevelSetImage Self
Derived class for the sparse-field representation of level-set function.
static LayerIdType MinusTwoLayer()
static LayerIdType PlusThreeLayer()
static LayerIdType PlusOneLayer()
Superclass::LayerType LayerType
Superclass::LevelSetDataType LevelSetDataType
Superclass::OutputRealType OutputRealType
Superclass::LabelObjectLineType LabelObjectLineType
const unsigned int Dimension
Superclass::LayerMapIterator LayerMapIterator
Superclass::OutputRealType OutputRealType
Superclass::OutputType OutputType
Superclass::LayerIterator LayerIterator
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
Superclass::HessianType HessianType
Superclass::LabelObjectPointer LabelObjectPointer
static LayerIdType PlusTwoLayer()
#define itkConceptMacro(name, concept)
Superclass::LayerMapType LayerMapType
Base class for all data objects in ITK.