adaptive local thresholding for gray scale image ?

but the resukt was that the pic the figure all converted to white ?
anyone know what is the error in this code? or any other methods to performe the adaptive local threshold ?

Answers (1)

Maybe you could just use CLAHE (via function adapthisteq) and then do a global threshold. Or better yet, post your photo and ask for professional, experienced opinions on how to segment your image rather than assuming adaptive local thresholding is the way to go.

4 Comments

It's probably the hand vein image.
It looks like he probably passed in the wrong parameters into the routine. Some educated experimentation might be needed to find the optimal input parameters such as window size and threshold value.
kindly tell me any method of local thresholding.kindly

Sign in to comment.

Asked:

on 20 Jan 2012

Commented:

on 1 Feb 2016

Community Treasure Hunt

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

Start Hunting!