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

Function image_data

dlib/image_processing/generic_image.h:538–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536
537 template <typename T>
538 inline void* image_data( image_view<T>& img)
539 {
540 if (img.size() != 0)
541 return &img[0][0];
542 else
543 return 0;
544 }
545
546 template <typename T>
547 inline const void* image_data(

Callers 2

image_viewMethod · 0.70
const_image_viewMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected