This chapter represents documentation about Volume (Voxel) Segmentation. More...
Classes | |
| struct | MR::VolumeSegmentationParameters |
| Parameters for volume segmentation. More... | |
| class | MR::VolumeSegmenter |
| Class for voxels segmentation. More... | |
Functions | |
| MRVOXELS_API Expected< MR::Mesh > | MR::meshFromVoxelsMask (const VdbVolume &volume, const VoxelBitSet &mask) |
| Creates mesh from voxels mask. | |
| MRVOXELS_API Expected< MR::Mesh > | MR::segmentVolume (const VdbVolume &volume, const std::vector< std::pair< Vector3f, Vector3f > > &pairs, const VolumeSegmentationParameters ¶ms=VolumeSegmentationParameters()) |
| Simple segment volume. | |
| MRVOXELS_API Expected< std::vector< Mesh > > | MR::segmentVoxelMaskToInstances (const VdbVolume &mask, size_t minSize=100, ProgressCallback cb={}) |
This chapter represents documentation about Volume (Voxel) Segmentation.
| MRVOXELS_API Expected< MR::Mesh > MR::meshFromVoxelsMask | ( | const VdbVolume & | volume, |
| const VoxelBitSet & | mask ) |
Creates mesh from voxels mask.
| mask | in space of whole volume density inside mask is expected to be higher then outside |
| MRVOXELS_API Expected< MR::Mesh > MR::segmentVolume | ( | const VdbVolume & | volume, |
| const std::vector< std::pair< Vector3f, Vector3f > > & | pairs, | ||
| const VolumeSegmentationParameters & | params = VolumeSegmentationParameters() ) |
Simple segment volume.
| MRVOXELS_API Expected< std::vector< Mesh > > MR::segmentVoxelMaskToInstances | ( | const VdbVolume & | mask, |
| size_t | minSize = 100, | ||
| ProgressCallback | cb = {} ) |
Given voxel mask, separate it into components using mincut algorithm
| minSize | Minimum size of a segment (in voxels) |