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

Method CameraModelIsFisheye

src/colmap/sensor/models.h:2891–2904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2889}
2890
2891bool CameraModelIsFisheye(const CameraModelId model_id) {
2892 switch (model_id) {
2893#define CAMERA_MODEL_CASE(CameraModel) case CameraModel::model_id:
2894
2895 FISHEYE_CAMERA_MODEL_CASES
2896 return true;
2897 default:
2898 return false;
2899
2900#undef CAMERA_MODEL_CASE
2901 }
2902
2903 return false;
2904}
2905
2906bool CameraModelIsPerspective(const CameraModelId model_id) {
2907 switch (model_id) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected