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

Function py_jet

tools/python/src/image.cpp:190–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188
189template <typename T>
190numpy_image<rgb_pixel> py_jet (
191 const numpy_image<T>& img
192)
193{
194 numpy_image<rgb_pixel> temp;
195 matrix<T> itemp;
196 assign_image(itemp, numpy_image<T>(img));
197 assign_image(temp, jet(itemp));
198 return temp;
199}
200
201// ----------------------------------------------------------------------------------------
202

Callers

nothing calls this directly

Calls 2

jetFunction · 0.85
assign_imageFunction · 0.50

Tested by

no test coverage detected