MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / segmentByGraphCut

Function segmentByGraphCut

source/MRMesh/MRFillContourByGraphCut.cpp:366–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366FaceBitSet segmentByGraphCut( const MeshTopology& topology, const FaceBitSet& source, const FaceBitSet& sink, const EdgeMetric& metric, const ProgressCallback& progress )
367{
368 MR_TIMER;
369 GraphCut filler( topology, metric );
370 filler.addFaces( source, sink );
371 return filler.fillLeft( progress );
372}
373
374} // namespace MR

Callers 1

findOuterLayerFunction · 0.85

Calls 2

addFacesMethod · 0.80
fillLeftMethod · 0.80

Tested by

no test coverage detected