19 #ifndef itkWhitakerSparseLevelSetImage_h 20 #define itkWhitakerSparseLevelSetImage_h 40 template<
typename TOutput,
unsigned int VDimension >
56 itkStaticConstMacro (
Dimension,
unsigned int, VDimension );
85 virtual OutputType
Evaluate(
const InputType& inputIndex )
const ITK_OVERRIDE;
87 #ifdef ITK_USE_CONCEPT_CHECKING 94 #endif // ITK_USE_CONCEPT_CHECKING 105 template<
typename TLabel >
110 typename OutputLabelObjectType::Pointer
object = OutputLabelObjectType::New();
115 LabelObjectPointer labelObject = this->
m_LabelMap->GetLabelObject( status );
117 for(
SizeValueType i = 0; i < labelObject->GetNumberOfLines(); ++i )
119 object->AddLine( labelObject->GetLine( i ) );
138 void operator = (
const Self& ) ITK_DELETE_FUNCTION;
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
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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::LayerConstIterator LayerConstIterator
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.
SmartPointer< Self > Pointer
Superclass::OutputType OutputType
std::map< LayerIdType, LayerType > LayerMapType
SmartPointer< const Self > ConstPointer
Superclass::RegionType RegionType
virtual OutputType Evaluate(const InputType &inputIndex) const override=0
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
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()
virtual OutputType Evaluate(const InputType &inputIndex) const override
Superclass::InputType InputType
Superclass::LayerIdType LayerIdType
void operator=(const Self &) ITK_DELETE_FUNCTION
LayerType::const_iterator LayerConstIterator
Superclass::HessianType HessianType
Superclass::LabelObjectPointer LabelObjectPointer
static LayerIdType PlusTwoLayer()
Superclass::HessianType HessianType
#define itkConceptMacro(name, concept)
Superclass::LayerMapType LayerMapType
virtual void InitializeLayers() override
virtual void InitializeInternalLabelList() override