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

Antworten (1)

Image Analyst
Image Analyst am 27 Dez. 2017

0 Stimmen

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.

Beantwortet:

am 27 Dez. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by