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

Function init_point_transform_projective

tools/python/src/vector.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142point_transform_projective init_point_transform_projective (
143 const numpy_image<double>& m_
144)
145{
146 const_image_view<numpy_image<double>> m(m_);
147 DLIB_CASSERT(m.nr() == 3 && m.nc() == 3,
148 "The matrix used to construct a point_transform_projective object must be 3x3.");
149
150 return point_transform_projective(mat(m));
151}
152
153// ----------------------------------------------------------------------------------------
154

Callers

nothing calls this directly

Calls 4

matFunction · 0.50
nrMethod · 0.45
ncMethod · 0.45

Tested by

no test coverage detected