CGAL 6.2 - Feature graph
Loading...
Searching...
No Matches
CGAL::Feature_graph::AmbrosioTortorelli_on_image< Vector_3 > Struct Template Reference

#include <CGAL/Feature_graph/AmbrosioTortorelli_on_image.h>

Definition

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

Class that evaluates the Ambriosio-Tortorelli normals and sharpness measure from an image.

Two functors can then be retrieved to access the estimations.

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

Types

typedef Vector_3 Normal_type
 The type of the normal vector.
 
typedef unspecified_type Sharpness_functor
 The type of the functor that allows to retrieve the sharpness values.
 
typedef unspecified_type Normal_functor
 The type of the functor that allows to retrieve the normals.
 

Constructor

template<typename Image , typename FT = Sharpness_functor::Sharpness_value_type>
 AmbrosioTortorelli_on_image (const Image &image, const FT &selection_threshold=FT(0.25))
 evaluates the normal and sharpness values using the Ambrosio-Tortorelli energy optimization.
 

Functor Accessors

Sharpness_functor sharpness_functor () const
 returns the functor that allows to retrieve the sharpness values.
 
Normal_functor normal_functor () const
 returns the functor that allows to retrieve the normals.
 

Member Typedef Documentation

◆ Normal_functor

The type of the functor that allows to retrieve the normals.

Is model of
NormalEstimator

◆ Sharpness_functor

template<typename Vector_3 >
typedef unspecified_type CGAL::Feature_graph::AmbrosioTortorelli_on_image< Vector_3 >::Sharpness_functor

The type of the functor that allows to retrieve the sharpness values.

Is model of
SharpnessEstimator

Constructor & Destructor Documentation

◆ AmbrosioTortorelli_on_image()

template<typename Vector_3 >
template<typename Image , typename FT = Sharpness_functor::Sharpness_value_type>
CGAL::Feature_graph::AmbrosioTortorelli_on_image< Vector_3 >::AmbrosioTortorelli_on_image ( const Image &  image,
const FT &  selection_threshold = FT(0.25) 
)

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

Template Parameters
Imagethe image type model of FeatureImage_3
FTa model of RealEmbeddable
Parameters
imagethe image.
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.