auto-binarize a fingerprint

조회 수: 5 (최근 30일)
Jean-Edouard Simonin
Jean-Edouard Simonin 2011년 3월 29일
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개)

Jean-Edouard Simonin
Jean-Edouard Simonin 2011년 3월 30일
up

Sean de Wolski
Sean de Wolski 2011년 3월 30일
Perhaps use:
graythresh
to determine a suitable threshold.
  댓글 수: 3
Sean de Wolski
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
Jean-Edouard Simonin 2011년 3월 30일
It's maybe beacause of the difference of intensity between stria and valley which is not too much strong...

댓글을 달려면 로그인하십시오.


Jean-Edouard Simonin
Jean-Edouard Simonin 2011년 4월 3일
I have an idea but I don't know how to do it. If we draw a histogram of the picture, we can see two Gaussians. To determine the limit between white and black, I have to find the min between these two Gaussians. How could I do that ?
  댓글 수: 1
Sean de Wolski
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by