MCPcopy Create free account
hub / github.com/colmap/colmap / CameraModelRescale

Method CameraModelRescale

src/colmap/sensor/models.h:2936–2950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2934}
2935
2936void CameraModelRescale(const CameraModelId model_id,
2937 const double scale_x,
2938 const double scale_y,
2939 std::vector<double>& params) {
2940 switch (model_id) {
2941#define CAMERA_MODEL_CASE(CameraModel) \
2942 case CameraModel::model_id: \
2943 CameraModel::Rescale(scale_x, scale_y, &params); \
2944 return;
2945
2946 CAMERA_MODEL_SWITCH_CASES
2947
2948#undef CAMERA_MODEL_CASE
2949 }
2950}
2951
2952} // namespace colmap

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected