50 BOOL APIENTRY DllMain( HANDLE hModule,
51 DWORD ul_reason_for_call,
55 switch (ul_reason_for_call)
57 case DLL_PROCESS_ATTACH:
58 case DLL_THREAD_ATTACH:
59 case DLL_THREAD_DETACH:
60 case DLL_PROCESS_DETACH:
78 const unsigned int model_iprts_size,
80 const bool estimate_R_init,
83 const unsigned int max_iterations)
87 _model.resize(model_iprts_size);
88 _iprts.resize(model_iprts_size);
99 for(
unsigned int i=0; i<model_iprts_size; i++)
129 for(
int j=0; j<3; j++)
156 const unsigned int model_iprts_size,
158 const bool estimate_R_init,
161 const unsigned int max_iterations)
void mat33_eye(mat33_t &m)
LIBRPP_API void robustPlanarPose(rpp_float &err, rpp_mat &R, rpp_vec &t, const rpp_float cc[2], const rpp_float fc[2], const rpp_vec *model, const rpp_vec *iprts, const unsigned int model_iprts_size, const rpp_mat R_init, const bool estimate_R_init, const rpp_float epsilon, const rpp_float tolerance, const unsigned int max_iterations)
std::vector< vec3_t > vec3_array
void mat33_assign(mat33_t &m, const real_t m00, const real_t m01, const real_t m02, const real_t m10, const real_t m11, const real_t m12, const real_t m20, const real_t m21, const real_t m22)
bool rppSupportAvailabe()
void mat33_set_all_zeros(mat33_t &m)
void mat33_inv(mat33_t &mi, const mat33_t &ma)
void robust_pose(real_t &err, mat33_t &R, vec3_t &t, const vec3_array &_model, const vec3_array &_iprts, const options_t _options)
void vec3_assign(vec3_t &v, const real_t x, const real_t y, const real_t z)
void vec3_mult(vec3_t &va, const real_t n)