Hi,Everyone
I've been using DynamicCostFunctionToFunctor recently to solve the BA problem in SLAM:There is a keyfram, there are n feature points pi and corresponding n spatial points Pj on the keyframe. It can construct an error function:error = ||pi – π(RPj+t)||^2, π(·) is the projection function of the camera.
Here R and t is unknown, so I try to optimize P and use a set of P to express R、t by an ThirdPartyFunction f:R= f(P),t=f(P), R and t are functions of P, respectively. Because the function parsed form cannot be written, So I thought of DynamicCostFunctionToFunctor to let Ceres automatically derive the derivation
Here I only need to optimize P, but through experiments, it is found that the optimization speed is very slow, and sometimes the optimization fails. Am I misunderstanding it, or there is a problem with the code.
Hi,Everyone
I've been using DynamicCostFunctionToFunctor recently to solve the BA problem in SLAM:There is a keyfram, there are n feature points pi and corresponding n spatial points Pj on the keyframe. It can construct an error function:error = ||pi – π(RPj+t)||^2, π(·) is the projection function of the camera.
Here R and t is unknown, so I try to optimize P and use a set of P to express R、t by an ThirdPartyFunction f:R= f(P),t=f(P), R and t are functions of P, respectively. Because the function parsed form cannot be written, So I thought of DynamicCostFunctionToFunctor to let Ceres automatically derive the derivation
Here I only need to optimize P, but through experiments, it is found that the optimization speed is very slow, and sometimes the optimization fails. Am I misunderstanding it, or there is a problem with the code.
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/1310851a-9086-4291-a5b4-6d882f091439n%40googlegroups.com.
--