mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
rename method to cut_normalized
This commit is contained in:
1 parent
6cc0cf4a88
commit
f261e51faa
2 files changed
+3
-3
No files matched your search
@@ -22,7 +22,7 @@ labels1 = segmentation.slic(img, compactness=30, n_segments=400)
|
||||
out1 = color.label2rgb(labels1, img, kind='avg')
|
||||
|
||||
g = graph.rag_mean_color(img, labels1, mode='similarity')
|
||||
labels2 = graph.cut_n(labels1, g)
|
||||
labels2 = graph.cut_normalized(labels1, g)
|
||||
out2 = color.label2rgb(labels2, img, kind='avg')
|
||||
|
||||
plt.figure()
|
||||
|
||||
Reference in new issue
Block a user