Go to the source code of this file.
Functions | |
| MRC_API MR_expected_MR_VoxelBitSet_std_string * | MR_segmentVolumeByGraphCut (const MR_SimpleVolume *densityVolume, float k, const MR_VoxelBitSet *sourceSeeds, const MR_VoxelBitSet *sinkSeeds, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb) |
| Segment voxels of given volume on two sets using graph-cut, returning source set. | |
| MRC_API MR_expected_MR_VoxelBitSet_std_string * MR_segmentVolumeByGraphCut | ( | const MR_SimpleVolume * | densityVolume, |
| float | k, | ||
| const MR_VoxelBitSet * | sourceSeeds, | ||
| const MR_VoxelBitSet * | sinkSeeds, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
Segment voxels of given volume on two sets using graph-cut, returning source set.
| 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 |