CGAL 6.3 - Feature Graph
Loading...
Searching...
No Matches
CGAL::Feature_graph::Image_AmbrosioTortorelli< Vector_3 > Struct Template Reference

#include <CGAL/Feature_graph/Image_AmbrosioTortorelli.h>

Definition

template<typename Vector_3>
struct CGAL::Feature_graph::Image_AmbrosioTortorelli< Vector_3 >

,

Class that evaluates the Ambriosio-Tortorelli normals and sharpness measure from an image. Two estimators can then be retrieved to access the normal and sharpness estimations.

Template Parameters
Vector_3the type of the normal vector model of Kernel::Vector_3.

Types

typedef Vector_3 Normal_type
 The type of the normal vector.
typedef unspecified_type Sharpness_estimator
 The type of the estimator that allow the user to retrieve the sharpness values.
typedef unspecified_type Normal_estimator
 The type of the estimator that allow the user to retrieve the normals.

Constructor

 Image_AmbrosioTortorelli (const CGAL::Image_3 &image, const Sharpness_estimator::Sharpness_number_type &selection_threshold=Sharpness_estimator::Sharpness_number_type(0.25))
 evaluates the normal and sharpness values using the Ambrosio-Tortorelli energy optimization.

Estimators

Sharpness_estimator sharpness_estimator () const
 returns the estimator that allow the user to retrieve the sharpness values.
Normal_estimator normal_estimator () const
 returns the estimator that allow the user to retrieve the normals.

Member Typedef Documentation

◆ Normal_estimator

template<typename Vector_3>
typedef unspecified_type CGAL::Feature_graph::Image_AmbrosioTortorelli< Vector_3 >::Normal_estimator

The type of the estimator that allow the user to retrieve the normals.

Is model of
NormalEstimator

◆ Sharpness_estimator

template<typename Vector_3>
typedef unspecified_type CGAL::Feature_graph::Image_AmbrosioTortorelli< Vector_3 >::Sharpness_estimator

The type of the estimator that allow the user to retrieve the sharpness values.

Is model of
SharpnessEstimator

Constructor & Destructor Documentation

◆ Image_AmbrosioTortorelli()

template<typename Vector_3>
CGAL::Feature_graph::Image_AmbrosioTortorelli< Vector_3 >::Image_AmbrosioTortorelli ( const CGAL::Image_3 & image,
const Sharpness_estimator::Sharpness_number_type & selection_threshold = Sharpness_estimator::Sharpness_number_type(0.25) )

evaluates the normal and sharpness values using the Ambrosio-Tortorelli energy optimization.

Parameters
imagethe image domain.
selection_thresholda threshold on the sharpness value. Elements with a sharpness value lower than this threshold are considered flat and will be given a negative value.