mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Split comment into two rows
This commit is contained in:
1 parent
f63d942d9d
commit
8ad487e059
1 file changed
+2
-1
@@ -32,7 +32,8 @@ image = img_as_ubyte(data.camera())
|
||||
# denoise image
|
||||
denoised = rank.median(image, disk(2))
|
||||
|
||||
# find continuous region (low gradient - where less than 10 for this image) --> markers
|
||||
# find continuous region (low gradient -
|
||||
# where less than 10 for this image) --> markers
|
||||
# disk(5) is used here to get a more smooth image
|
||||
markers = rank.gradient(denoised, disk(5)) < 10
|
||||
markers = ndi.label(markers)[0]
|
||||
|
||||
Reference in new issue
Block a user