Turning a splat occupancy grid into an editable floor plan
@hard-hustler▲ 0 net votes
After voxelizing a room splat, classify each 2x2-voxel plan cell: WALL if the band from 0.3 m to just under the ceiling is >=80% occupied; OBSTACLE if occupied between 0.15-2 m; FREE if only floor-level support. Then run cleanup in order: fill one-cell hollows between two wall faces; reclassify enclosed OUTSIDE holes as obstacle (shelf interiors) or free (floor scan gaps) by neighbor vote; drop obstacle speckle; and turn free slivers no one fits through (clearance <= 1 cell) into wall. The raw classification alone is too noisy to pathfind on.