function to measure the (local) density of 1s in a binary image
Matteo
matteo.niccoli at gmail.com
Thu May 26 11:11:55 EDT 2016
Is there a function in scikit-image to calculate the the local density of
1s in a binary image?
By local density of 1s I mean:
1) count the number of pixels that have value of 1 in a running/sliding
window (preferrably circular but square would work too)
2) divide by the total number of pixels in the running window
Thanks
Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20160526/4e670e68/attachment.html>
More information about the scikit-image
mailing list