| 174 | |
| 175 | template <typename T> |
| 176 | numpy_image<rgb_pixel> py_randomly_color_image ( |
| 177 | const numpy_image<T>& img |
| 178 | ) |
| 179 | { |
| 180 | numpy_image<rgb_pixel> temp; |
| 181 | matrix<T> itemp; |
| 182 | assign_image(itemp, numpy_image<T>(img)); |
| 183 | assign_image(temp, randomly_color_image(itemp)); |
| 184 | return temp; |
| 185 | } |
| 186 | |
| 187 | // ---------------------------------------------------------------------------------------- |
| 188 |
nothing calls this directly
no test coverage detected