/** * Copyright (c) 2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * @author Tadej Satler */ import { Tensor } from '../../mol-math/linear-algebra/tensor.js'; type Cells = { [i: number]: number; length: number; }; /** * Mirror the volume along its first logical dimension (X / axis 0). * Swaps voxel pairs in-place: voxel[ix] ↔ voxel[nx-1-ix] for each (iy, iz) slice. */ export declare function flipVolumeX(cells: Cells, nx: number, ny: number, nz: number, space: Tensor.Space): void; /** * Remove isolated blobs smaller than `minVoxels` by zeroing them out. * * Voxels with value >= `threshold` are treated as signal; connected components * are found via 6-connected iterative DFS. Components smaller than `minVoxels` * are zeroed in `cells`. Background (below threshold) voxels are left untouched. * * Returns the number of voxels zeroed. */ export declare function removeDust(cells: Cells, nx: number, ny: number, nz: number, space: Tensor.Space, minVoxels: number, threshold: number): number; export {};