CGAL 5.6.1 - 3D Mesh Generation
|
#include <CGAL/Mesh_3/Detect_features_on_image_bbox.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 two or more subdomains and the bounding box of the input labeled image. More... | |
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_on_image_bbox::operator() | ( | const CGAL::Image_3 & | image | ) | const |
detects and constructs the polylines that lie at the intersection of two or more subdomains and the bounding box of the input labeled image.
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 computes intersections of "internal" subdomains with the image bounding box.
Point | class model of Kernel::Point_3 . The point type must match the triangulation point type. |
image | the input image |
std::vector<std::vector<Point>>
containing the constructed polylines for later feature protection.