Split comment into two rows

This commit is contained in:
Olivia
2015-08-29 09:54:09 +01:00
parent f63d942d9d
commit 8ad487e059
+2 -1
View File
@@ -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]