react-native-mask-segment-c.../dist/utils/wallTextureSplit.d.ts
a1518 70499176d6 Add splitWalls to subdivide wall regions by texture boundaries.
Enables optional wall-1/wall-2… sub-regions with independent paint and undo, plus example toggle and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 22:41:17 -07:00

9 lines
544 B
TypeScript

import type { SegmentMaskResult } from './maskSegmentation';
/** 非墙像素在 wallSubLabels 中的占位值 */
export declare const WALL_SUB_LABEL_NONE = 255;
/**
* 在语义分割完成后,将 wall 区域按原图纹理特征细分为 wall-1、wall-2…
*/
export declare function splitWallRegionsByTexture(result: SegmentMaskResult, originBgr: Uint8Array, cols: number, rows: number, minArea: number): SegmentMaskResult;
export declare function isWallSubRegionName(name: string): boolean;
//# sourceMappingURL=wallTextureSplit.d.ts.map