Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ image_data
Function
image_data
dlib/array2d/array2d_generic_image.h:35–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
template <typename T, typename mm>
35
inline void* image_data(
36
array2d<T,mm>& img
37
)
38
{
39
if (img.size() != 0)
40
return &img[0][0];
41
else
42
return 0;
43
}
44
45
template <typename T, typename mm>
46
inline const void* image_data(
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected