Go to the source code of this file.
◆ MR_expected_MR_VoxelBitSet_std_string
◆ MR_SimpleVolume
◆ MR_std_function_bool_from_float
◆ MR_VoxelBitSet
◆ MR_segmentVolumeByGraphCut()
Segment voxels of given volume on two sets using graph-cut, returning source set.
- Parameters
-
k | - coefficient in the exponent of the metric affecting edge capacity:
increasing k you force to find a higher steps in the density on the boundary, decreasing k you ask for smoother boundary |
sourceSeeds | - these voxels will be included in the result |
sinkSeeds | - these voxels will be excluded from the result |
- See also
- VolumeSegmenter Generated from function
MR::segmentVolumeByGraphCut
. Parameter densityVolume
can not be null. It is a single object. Parameter sourceSeeds
can not be null. It is a single object. Parameter sinkSeeds
can not be null. It is a single object. Parameter cb
has a default argument: {}
, pass MR_PassBy_DefaultArgument
and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VoxelBitSet_std_string_Destroy()
to free it when you're done using it.