| 229 | using pixel_type = pixel_type_t<image_type>; |
| 230 | |
| 231 | image_view( |
| 232 | image_type& img |
| 233 | ) : |
| 234 | _data(reinterpret_cast<char*>(image_data(img))), |
| 235 | _width_step(width_step(img)), |
| 236 | _nr(num_rows(img)), |
| 237 | _nc(num_columns(img)), |
| 238 | _img(&img) |
| 239 | {} |
| 240 | |
| 241 | long nr() const { return _nr; } |
| 242 | /*! |
nothing calls this directly
no test coverage detected