| 44 | |
| 45 | template <typename T> |
| 46 | numpy_image<unsigned char> py_threshold_image( |
| 47 | const numpy_image<T>& in_img |
| 48 | ) |
| 49 | { |
| 50 | numpy_image<unsigned char> out_img; |
| 51 | threshold_image(in_img, out_img); |
| 52 | return out_img; |
| 53 | } |
| 54 | |
| 55 | // ---------------------------------------------------------------------------------------- |
| 56 |
nothing calls this directly
no test coverage detected