MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.VolumeSegmenter:

Classes

class  SeedType

Public Member Functions

None __init__ (self, ConstVdbVolume volume)
None __init__ (self, ConstVolumeSegmenter arg0)
None addPathSeeds (self, ConstVoxelMetricParameters metricParameters, VolumeSegmenter.SeedType seedType, float exponentModifier=-1.0)
None addSeeds (self, Const_std_vector_Vector3_int seeds, VolumeSegmenter.SeedType seedType)
VoxelBitSet segmentVolume (self, float segmentationExponentModifier=3000.0, int voxelsExpansion=25, Const_func_bool_from_float cb='{}')
None setSeeds (self, Const_std_vector_Vector3_int seeds, VolumeSegmenter.SeedType seedType)
Public Member Functions inherited from mrmeshpy.ConstVolumeSegmenter
 __init__ (self, *args, **kwargs)
Mesh createMeshFromSegmentation (self, ConstVoxelBitSet segmentation)
ConstVector3i getMinVoxel (self)
Const_std_vector_Vector3_int getSeeds (self, VolumeSegmenter.SeedType seedType)
ConstVector3i getVolumePartDimensions (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Detailed Description

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>
     <td> \\image html voxel_segmentation/voxel_segmentation_0_2.png "After" width = 350cm </td> </tr>
</table>

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.VolumeSegmenter.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.VolumeSegmenter.__init__ ( self,
ConstVdbVolume volume )

◆ __init__() [3/3]

None mrmeshpy.VolumeSegmenter.__init__ ( self,
ConstVolumeSegmenter arg0 )
Implicit copy constructor.

Member Function Documentation

◆ addPathSeeds()

None mrmeshpy.VolumeSegmenter.addPathSeeds ( self,
ConstVoxelMetricParameters metricParameters,
VolumeSegmenter.SeedType seedType,
float exponentModifier = -1.0 )
Builds path with given parameters, marks result as seedType seeds

◆ addSeeds()

None mrmeshpy.VolumeSegmenter.addSeeds ( self,
Const_std_vector_Vector3_int seeds,
VolumeSegmenter.SeedType seedType )
Adds new seeds to stored

◆ segmentVolume()

VoxelBitSet mrmeshpy.VolumeSegmenter.segmentVolume ( self,
float segmentationExponentModifier = 3000.0,
int voxelsExpansion = 25,
Const_func_bool_from_float cb = '{}' )
Segments volume, return inside part segmentation (VoxelBitSet in space of VolumePart)

◆ setSeeds()

None mrmeshpy.VolumeSegmenter.setSeeds ( self,
Const_std_vector_Vector3_int seeds,
VolumeSegmenter.SeedType seedType )
Reset seeds with given ones

The documentation for this class was generated from the following file: