Voxelization<T>
Helpers & Utilities · AiDotNet.Geometry.Preprocessing
Provides voxelization utilities for converting point clouds and meshes to voxel grids.
Methods
| Method | Summary |
|---|---|
VoxelGridData<T> Dilate(VoxelGridData<T> voxelGrid, int radius) |
Applies morphological dilation to a voxel grid. |
VoxelGridData<T> Erode(VoxelGridData<T> voxelGrid, int radius) |
Applies morphological erosion to a voxel grid. |
VoxelGridData<T> VoxelizeMeshSurface(TriangleMeshData<T> mesh, int resolution, double padding) |
Converts a triangle mesh to an occupancy voxel grid using surface voxelization. |
VoxelGridData<T> VoxelizePointCloud(PointCloudData<T> pointCloud, int resolution, double padding) |
Converts a point cloud to an occupancy voxel grid. |
double IntersectionOverUnion(VoxelGridData<T> prediction, VoxelGridData<T> groundTruth, double threshold) |
Computes the Intersection over Union (IoU) between two voxel grids. |