| 507 | |
| 508 | template <typename T> |
| 509 | py::array_t<unsigned long> py_get_histogram ( |
| 510 | const numpy_image<T>& img, |
| 511 | size_t hist_size |
| 512 | ) |
| 513 | { |
| 514 | matrix<unsigned long,1> hist; |
| 515 | get_histogram(img,hist,hist_size); |
| 516 | |
| 517 | return numpy_image<unsigned long>(std::move(hist)).squeeze(); |
| 518 | } |
| 519 | |
| 520 | // ---------------------------------------------------------------------------------------- |
| 521 |
nothing calls this directly
no test coverage detected