Skip to content
Snippets Groups Projects
Commit 779b02e4 authored by s214735's avatar s214735
Browse files

fix

parent b46044d5
Branches
No related tags found
No related merge requests found
...@@ -80,8 +80,13 @@ def segmentation( ...@@ -80,8 +80,13 @@ def segmentation(
binary = qim3d.filters.gaussian(vol, sigma = 2) < 60 binary = qim3d.filters.gaussian(vol, sigma = 2) < 60
labeled_volume, num_labels = qim3d.segmentation.watershed(binary) labeled_volume, num_labels = qim3d.segmentation.watershed(binary)
<<<<<<< HEAD
color_map = qim3d.viz.colormaps.segmentation(num_labels, style = 'bright') color_map = qim3d.viz.colormaps.segmentation(num_labels, style = 'bright')
qim3d.viz.slicer(labeled_volume, slice_axis = 1, color_map=color_map) qim3d.viz.slicer(labeled_volume, slice_axis = 1, color_map=color_map)
=======
cmap = qim3d.viz.colormaps.segmentation(num_labels, style = 'bright')
qim3d.viz.slicer(labeled_volume, slice_axis = 1, color_map=cmap)
>>>>>>> c82fb8c (More changes)
``` ```
![colormap objects](assets/screenshots/viz-colormaps-objects.gif) ![colormap objects](assets/screenshots/viz-colormaps-objects.gif)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment