CGAL 5.6 - 3D Mesh Generation
|
#include <CGAL/Mesh_3/Detect_features_in_image.h>
Functor for feature detection in labeled images.
Public Member Functions | |
template<typename Point > | |
std::vector< std::vector< Point > > | operator() (const CGAL::Image_3 &image) const |
detects and constructs the polylines that lie at the intersection of three or more subdomains. | |
template<typename Point > | |
std::vector< std::vector< Point > > | operator() (const CGAL::Image_3 &image, CGAL::Image_3 &weights) const |
Similar to the above function, but modifies weights to set the voxels that are part of a polyline feature to 0. | |
std::vector< std::vector< Point > > CGAL::Mesh_3::Detect_features_in_image::operator() | ( | const CGAL::Image_3 & | image | ) | const |
detects and constructs the polylines that lie at the intersection of three or more subdomains.
Each subdomain inside the bounding box of the input labeled image is defined as the set of voxels with the same value. The outside of the bounding box of the image is considered as a subdomain with voxel value value_outside
(see create_labeled_image_mesh_domain()
parameters description). Hence, this function also computes intersections with the image bounding box.
Point | class model of Kernel::Point_3 . It must match the triangulation point type. |
image | the input image |
std::vector<std::vector<Point>>
containing the constructed polylines for later feature protection.