smurf.spatial_object.spatial_object.add_segmentation¶
- spatial_object.add_segmentation(segmentation_results, i_max, j_max, loop, gap)¶
Adds segmentation results to the spatial object.
- Parameters:
segmentation_results (any (depends on the format returned by add_segmentation_temp)) – The segmentation results to be added.
i_max (int) – The maximum index along the first dimension.
j_max (int) – The maximum index along the second dimension.
loop (int) – Parameter specifying the loop count or iterations.
gap (int) – The gap parameter used in segmentation adjustments.
- Returns:
None. The segmentation results are stored in self.segmentation_final.
- Return type:
None