| 875 | } |
| 876 | |
| 877 | float SparseBundleCU::EvaluateProjection(CuTexImage& cam, CuTexImage& point, |
| 878 | CuTexImage& proj) { |
| 879 | ++__num_projection_eval; |
| 880 | ConfigBA::TimerBA timer(this, TIMER_FUNCTION_PJ, true); |
| 881 | ComputeProjection(cam, point, _cuMeasurements, _cuProjectionMap, proj, |
| 882 | __use_radial_distortion); |
| 883 | if (_num_imgpt_q > 0) |
| 884 | ComputeProjectionQ(cam, _cuCameraQMap, _cuCameraQMapW, proj, _num_imgpt); |
| 885 | return (float)ComputeVectorNorm(proj, _cuBufferData); |
| 886 | } |
| 887 | |
| 888 | float SparseBundleCU::EvaluateProjectionX(CuTexImage& cam, CuTexImage& point, |
| 889 | CuTexImage& proj) { |
nothing calls this directly
no test coverage detected