|
CGAL 6.3 - Feature Graph
|
#include <CGAL/Feature_graph/AmbrosioTortorelli_on_image.h>
,
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.
| Vector_3 | the 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 allows to retrieve the sharpness values. | |
| typedef unspecified_type | Normal_estimator |
| The type of the estimator that allows to retrieve the normals. | |
Constructor | |
| AmbrosioTortorelli_on_image (const CGAL::Image_3 &image, const Sharpness_estimator::Sharpness_value_type &selection_threshold=Sharpness_estimator::Sharpness_value_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 allows to retrieve the sharpness values. | |
| Normal_estimator | normal_estimator () const |
| returns the estimator that allows to retrieve the normals. | |
| typedef unspecified_type CGAL::Feature_graph::AmbrosioTortorelli_on_image< Vector_3 >::Normal_estimator |
The type of the estimator that allows to retrieve the normals.
NormalEstimator | typedef unspecified_type CGAL::Feature_graph::AmbrosioTortorelli_on_image< Vector_3 >::Sharpness_estimator |
The type of the estimator that allows to retrieve the sharpness values.
SharpnessEstimator | CGAL::Feature_graph::AmbrosioTortorelli_on_image< Vector_3 >::AmbrosioTortorelli_on_image | ( | const CGAL::Image_3 & | image, |
| const Sharpness_estimator::Sharpness_value_type & | selection_threshold = Sharpness_estimator::Sharpness_value_type(0.25) ) |
evaluates the normal and sharpness values using the Ambrosio-Tortorelli energy optimization.
| image | the image domain. |
| selection_threshold | a threshold on the sharpness value. Elements with a sharpness value lower than this threshold are considered flat and will be given a negative value. |