| 150 | |
| 151 | template <typename T> |
| 152 | py::tuple py_label_connected_blobs_watershed ( |
| 153 | const numpy_image<T>& img, |
| 154 | const T& background_thresh, |
| 155 | const double smoothing |
| 156 | ) |
| 157 | { |
| 158 | numpy_image<uint32_t> labels; |
| 159 | auto num_blobs = label_connected_blobs_watershed(img, labels, background_thresh, smoothing); |
| 160 | return py::make_tuple(labels, num_blobs); |
| 161 | } |
| 162 | |
| 163 | template <typename T> |
| 164 | py::tuple py_label_connected_blobs_watershed2 ( |
nothing calls this directly
no test coverage detected