Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ image_data
Function
image_data
dlib/matrix/matrix_generic_image.h:67–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
typename MM
66
>
67
inline void* image_data(
68
matrix<T,NR,NC,MM>& img
69
)
70
{
71
if (img.size() != 0)
72
return &img(0,0);
73
else
74
return 0;
75
}
76
77
template <
78
typename T,
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected