MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / cameraModelRegistry.test.ts

File cameraModelRegistry.test.ts

src/utils/cameraModelRegistry.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { CameraModelId } from '../types/colmap';
3import { isPerspectiveCameraModel, isFisheyeCameraModel, isSphericalCameraModel, PERSPECTIVE_CAMERA_MODELS, FISHEYE_CAMERA_MODELS, getCameraModelCompatibility } from './cameraModelPolicy';
4import {

Callers

nothing calls this directly

Calls 13

getCameraModelNumParamsFunction · 0.90
getCameraModelParamNamesFunction · 0.90
colmapNameToModelIdFunction · 0.90
getCameraModelColmapNameFunction · 0.90
getCameraModelFamilyFunction · 0.90
isSphericalCameraModelFunction · 0.90
isPerspectiveCameraModelFunction · 0.90
isFisheyeCameraModelFunction · 0.90

Tested by

no test coverage detected