MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / buildGlobalStats

Function buildGlobalStats

src/test/builders/colmapBuilders.ts:145–157  ·  view source on GitHub ↗
(overrides: Partial<GlobalStats> = {})

Source from the content-addressed store, hash-verified

143}
144
145export function buildGlobalStats(overrides: Partial<GlobalStats> = {}): GlobalStats {
146 return {
147 minError: 0,
148 maxError: 0,
149 avgError: 0,
150 minTrackLength: 0,
151 maxTrackLength: 0,
152 avgTrackLength: 0,
153 totalObservations: 0,
154 totalPoints: 0,
155 ...overrides,
156 };
157}
158
159export function buildReconstruction(options: ReconstructionBuilderOptions = {}): Reconstruction {
160 const cameras = options.cameras ?? [buildCamera()];

Callers 2

createStatsResultFunction · 0.90
buildReconstructionFunction · 0.85

Calls

no outgoing calls

Tested by 1

createStatsResultFunction · 0.72