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

Function getMask

src/dataset/datasetSourceAdapters.ts:44–46  ·  view source on GitHub ↗
(state, imageName)

Source from the content-addressed store, hash-verified

42 return getImageFile(state.loadedFiles?.imageFiles, imageName);
43 },
44 async getMask(state, imageName) {
45 return getMaskFile(state.loadedFiles?.imageFiles, imageName) ?? null;
46 },
47 getMaskSync(state, imageName) {
48 return getMaskFile(state.loadedFiles?.imageFiles, imageName);
49 },

Callers

nothing calls this directly

Calls 4

getMaskFileFunction · 0.90
fetchUrlMaskFunction · 0.90
isZipLoadingAvailableFunction · 0.90
fetchZipMaskFunction · 0.90

Tested by

no test coverage detected