Classes | |
class | SeedType |
Public Member Functions | |
None | __init__ (self, VdbVolume volume) |
None | __init__ (self, VolumeSegmenter arg0) |
None | addPathSeeds (self, VoxelMetricParameters metricParameters, VolumeSegmenter.SeedType seedType, float exponentModifier=-1.0) |
None | addSeeds (self, std_vector_Vector3_int seeds, VolumeSegmenter.SeedType seedType) |
Mesh | createMeshFromSegmentation (self, VoxelBitSet segmentation) |
Vector3i | getMinVoxel (self) |
std_vector_Vector3_int | getSeeds (self, VolumeSegmenter.SeedType seedType) |
Vector3i | getVolumePartDimensions (self) |
VoxelBitSet | segmentVolume (self, float segmentationExponentModifier=3000.0, int voxelsExpansion=25, func_bool_from_float cb='MR::ProgressCallback{}') |
None | setSeeds (self, std_vector_Vector3_int seeds, VolumeSegmenter.SeedType seedType) |
Generated from: MR::VolumeSegmenter \\brief Class for voxels segmentation <table border=0> <caption id="VolumeSegmenter_examples"></caption> <tr> <td> \\image html voxel_segmentation/voxel_segmentation_0_0.png "Before (a)" width = 350cm </td> <td> \\image html voxel_segmentation/voxel_segmentation_0_1.png "Before (b)" width = 350cm </td> </tr> <td> \\image html voxel_segmentation/voxel_segmentation_0_2.png "After" width = 350cm </td> </tr> </table>
None meshlib.mrmeshpy.VolumeSegmenter.__init__ | ( | self, | |
VdbVolume | volume ) |
None meshlib.mrmeshpy.VolumeSegmenter.__init__ | ( | self, | |
VolumeSegmenter | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.VolumeSegmenter.addPathSeeds | ( | self, | |
VoxelMetricParameters | metricParameters, | ||
VolumeSegmenter.SeedType | seedType, | ||
float | exponentModifier = -1.0 ) |
Builds path with given parameters, marks result as seedType seeds
None meshlib.mrmeshpy.VolumeSegmenter.addSeeds | ( | self, | |
std_vector_Vector3_int | seeds, | ||
VolumeSegmenter.SeedType | seedType ) |
Adds new seeds to stored
Mesh meshlib.mrmeshpy.VolumeSegmenter.createMeshFromSegmentation | ( | self, | |
VoxelBitSet | segmentation ) |
Returns mesh of given segment
Vector3i meshlib.mrmeshpy.VolumeSegmenter.getMinVoxel | ( | self | ) |
Min voxel of volume part box in whole volume space, filled after segmentation
std_vector_Vector3_int meshlib.mrmeshpy.VolumeSegmenter.getSeeds | ( | self, | |
VolumeSegmenter.SeedType | seedType ) |
Return currently stored seeds
Vector3i meshlib.mrmeshpy.VolumeSegmenter.getVolumePartDimensions | ( | self | ) |
Dimensions of volume part, filled after segmentation
VoxelBitSet meshlib.mrmeshpy.VolumeSegmenter.segmentVolume | ( | self, | |
float | segmentationExponentModifier = 3000.0, | ||
int | voxelsExpansion = 25, | ||
func_bool_from_float | cb = 'MR::ProgressCallback{}' ) |
Segments volume, return inside part segmentation (VoxelBitSet in space of VolumePart)
None meshlib.mrmeshpy.VolumeSegmenter.setSeeds | ( | self, | |
std_vector_Vector3_int | seeds, | ||
VolumeSegmenter.SeedType | seedType ) |
Reset seeds with given ones