| 140 | } |
| 141 | |
| 142 | point_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 |
nothing calls this directly
no test coverage detected