MCPcopy Create free account
hub / github.com/davisking/dlib / image_view

Method image_view

dlib/image_processing/generic_image.h:231–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 /*!

Callers

nothing calls this directly

Calls 4

image_dataFunction · 0.70
width_stepFunction · 0.70
num_rowsFunction · 0.70
num_columnsFunction · 0.70

Tested by

no test coverage detected