MCPcopy Create free account
hub / github.com/XiaoBaiiiiii/colmap-pcd / EvaluateProjection

Method EvaluateProjection

lib/PBA/SparseBundleCU.cpp:877–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877float 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
888float SparseBundleCU::EvaluateProjectionX(CuTexImage& cam, CuTexImage& point,
889 CuTexImage& proj) {

Callers

nothing calls this directly

Calls 3

ComputeProjectionFunction · 0.85
ComputeProjectionQFunction · 0.85
ComputeVectorNormFunction · 0.85

Tested by

no test coverage detected