| 220 | } |
| 221 | |
| 222 | void |
| 223 | pcl::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 | |
| 240 | void |
| 241 | pcl::segmentation::grabcut::BoykovKolmogorov::clear () |
no test coverage detected