_mask_filter_result function
Ankit Agrawal
aaaagrawal at gmail.com
Sat Apr 20 07:30:35 EDT 2013
Hi Umesh,
The function `_mask_filter_result` assigns all the boundary
pixels to a 0 value. The reason for this is that applying filter kernels or
edge-detection operators on an image may result in inconsistent values at
boundary pixel because of padding mode used by
scipy.ndimage.filters.convolve<http://scipy.ndimage.filters.convolvehttp://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.filters.convolve.html>.
I hope that clears your doubt. Thank you.
Regards,
Ankit Agrawal,
Communication and Signal Processing,
IIT Bombay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130420/f7ee0ce3/attachment.html>
More information about the scikit-image
mailing list