Searched refs:current_cost (Results 1 – 1 of 1) sorted by relevance
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_rob_image_homography.cpp | 230 double lambda,cost,current_cost; in db_RobCamRotation_Polish() local 239 … current_cost=db_RobCamRotation_Jacobians(JtJ,min_Jtf,H,point_count,x_i,xp_i,one_over_scale2); in db_RobCamRotation_Polish() 256 if(cost<current_cost) in db_RobCamRotation_Polish() 259 if(current_cost-cost<current_cost*improvement_requirement) stop++; in db_RobCamRotation_Polish() 263 current_cost=cost; in db_RobCamRotation_Polish() 269 std::cout << "Step" << i << "Imp,Lambda=" << lambda << "Cost:" << current_cost << std::endl; in db_RobCamRotation_Polish() 572 double lambda,cost,current_cost; in db_RobCamRotation_Polish_Generic() local 583 …current_cost=db_RobImageHomography_Jacobians_Generic(JtJ_ref,min_Jtf,&n,&frozen_coord,H,point_coun… in db_RobCamRotation_Polish_Generic() 600 if(cost<current_cost) in db_RobCamRotation_Polish_Generic() 603 if(current_cost-cost<current_cost*improvement_requirement) stop++; in db_RobCamRotation_Polish_Generic() [all …]
|