MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / reset

Method reset

segmentation/src/grabcut_segmentation.cpp:222–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void
223pcl::segmentation::grabcut::BoykovKolmogorov::reset ()
224{
225 flow_value_ = 0.0;
226 std::fill (source_edges_.begin (), source_edges_.end (), 0.0);
227 std::fill (target_edges_.begin (), target_edges_.end (), 0.0);
228 for (auto &node : nodes_)
229 {
230 for (auto &edge : node)
231 {
232 edge.second = 0.0;
233 }
234 }
235 std::fill (cut_.begin (), cut_.end (), FREE);
236 parents_.clear ();
237 clearActive ();
238}
239
240void
241pcl::segmentation::grabcut::BoykovKolmogorov::clear ()

Callers 6

setInputTargetMethod · 0.45
SampleConsensusModelMethod · 0.45
setInputCloudMethod · 0.45
setIndicesMethod · 0.45
kdtree_nanoflann.hFile · 0.45
mainFunction · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected