MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / cameraUndistortion.test.ts

File cameraUndistortion.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { distortNormalized, undistortNormalized, type Vec2 } from './cameraUndistortion';
3import { CameraModelId, type CameraIntrinsics } from '../types/colmap';
4

Callers

nothing calls this directly

Calls 5

distortNormalizedFunction · 0.90
undistortNormalizedFunction · 0.90
maxRoundTripErrorFunction · 0.85
discFunction · 0.85
intrFunction · 0.70

Tested by

no test coverage detected