| 192 | |
| 193 | template <typename T> |
| 194 | std::shared_ptr<image_window> make_image_window_from_image(const numpy_image<T>& img) |
| 195 | { |
| 196 | auto win = std::make_shared<image_window>(); |
| 197 | image_window_set_image(*win, img); |
| 198 | return win; |
| 199 | } |
| 200 | |
| 201 | template <typename T> |
| 202 | std::shared_ptr<image_window> make_image_window_from_image_and_title(const numpy_image<T>& img, const string& title) |
nothing calls this directly
no test coverage detected