* Get a cached mask file synchronously. * For local source, masks are always available. * For url/zip, returns undefined if not fetched (masks are not pre-cached). * * @param imageName - Image name from COLMAP * @returns The cached File or undefined
(imageName: string)
| 107 | * @returns The cached File or undefined |
| 108 | */ |
| 109 | getMaskSync(imageName: string): File | undefined { |
| 110 | const state = this.getState(); |
| 111 | return this.getSourceAdapter(state)?.getMaskSync(state, imageName); |
| 112 | } |
| 113 | |
| 114 | // =========================================================================== |
| 115 | // Batch Operations |
no test coverage detected