local thresholding for image binarization.

i am working on local thresholding fir image binarization. where i need to calculate intensity I(x,y) of a pixel position (x,y). How to calalulate this value? Please help

Risposte (1)

Image Analyst
Image Analyst il 27 Dic 2017
Try nlfilter(). Demo attached.
I'm also attaching a demo where I used local thresholding.
An alternative is to flatten the image by using adapthisteq() and then using a global threshold.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by