| 375 | using pixel_type = pixel_type_t<image_type>; |
| 376 | |
| 377 | const_image_view( |
| 378 | const image_type& img |
| 379 | ) : |
| 380 | _data(reinterpret_cast<const char*>(image_data(img))), |
| 381 | _width_step(width_step(img)), |
| 382 | _nr(num_rows(img)), |
| 383 | _nc(num_columns(img)) |
| 384 | {} |
| 385 | |
| 386 | long nr() const { return _nr; } |
| 387 | long nc() const { return _nc; } |
nothing calls this directly
no test coverage detected