adaptive local thresholding for gray scale image ?
Show older comments
i want to binarization an image by using adaptive local threshold http://www.mathworks.com/matlabcentral/fileexchange/8647-local-adaptive-thresholding/content/adaptivethreshold/adaptivethreshold.m
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)
Image Analyst
on 21 Jan 2012
0 votes
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
Walter Roberson
on 21 Jan 2012
It's probably the hand vein image.
Image Analyst
on 21 Jan 2012
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.
sana saleeme
on 1 Feb 2016
kindly tell me any method of local thresholding.kindly
Image Analyst
on 1 Feb 2016
See attached demo, for one way to do it.
Categories
Find more on Image Thresholding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!