auto-binarize a fingerprint
显示 更早的评论
Hi, I am a French student and i'm working on a minutia recognition project. My work is based on this application : http://www.mathworks.com/matlabcentral/fileexchange/16728-fingerprint-application It works with the joined picture but a problem comes with the binarization (if the pixel is a stria -> 0, else -> 1). Indeed, the limit between white and black is manually fixed to 160. I am looking for ideas to make it automatically. Maybe, find the average intensity of the stria... Can someone help me ?
回答(3 个)
Sean de Wolski
2011-3-30
Perhaps use:
graythresh
to determine a suitable threshold.
3 个评论
Jean-Edouard Simonin
2011-3-30
Sean de Wolski
2011-3-30
How are the stria too close? graythresh uses a histogram so location doesn't matter. What class is your data?
Jean-Edouard Simonin
2011-3-30
Jean-Edouard Simonin
2011-4-3
0 个投票
1 个评论
Sean de Wolski
2011-4-4
It's called the minimum valley method.
Basically find the peaks; it's the bottom of the valley between the two peaks. You could use the histc function and some basic numerical derivatives to find it.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!