peak_local_max() Question.
Claiborne Morton
claiborne.morton at gmail.com
Thu Mar 12 14:15:49 EDT 2015
Hey guys,
I am currently using this function for water-shedding in a project of
mine. I am a bit curious as to what the parameter, threshold_abs is
actually doing. The website
here: http://scikit-image.org/docs/dev/api/skimage.feature.html#skimage.feature.peak_local_max
says "Minimum intensity of peaks", but I am not sure how this applies to a
binary image where intensity of a pixel is either 1 or zero. When set the
parameter equal to an integer, say 12, it removes the smaller particles
from the image, which is nice because that is something I need to do, but I
am just not sure why it does this. Below is a comparison of the results
with and with out the parameter. Could someone please explain what is
happening?
Images are attached for:
With threshold_abs = 12
Without threshold_abs (I assume default is threshold_abs = zero?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20150312/6e8d00b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Thresh_12.png
Type: image/png
Size: 19071 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20150312/6e8d00b8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Without_Thresh.png
Type: image/png
Size: 20263 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20150312/6e8d00b8/attachment-0001.png>
More information about the scikit-image
mailing list