Feature point extraction for palmline

1 view (last 30 days)
Hie i m confused in an algorithm of palm line matching.below i m writing the step that i have to do.please, try to briefly explain this step and suggest any way to implement this .
input :- I have the location of feature point and the input image of palm line
step- for each feature point,the orientation of its corresponding palm line is computed as the direction of the line segment of length 8 which has the maximum average contrast(absolute difference value)to its immediate surrounding(parallel segments placed 2 pixels above and below the given segment)
Thanks in advance.
  1 Comment
Image Analyst
Image Analyst on 10 Oct 2011
What if the line is vertical? How can you inspect the pixels 2 above and below that line?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 10 Oct 2011
Try using improfile(). Call it three times for center, and 2 pixels away and parallel to the center line. Then rotate it through several angles to find the best.
  2 Comments
Promila
Promila on 2 Nov 2011
hey ..improfile only work for grey level and RGB images but i have a binary image.so, what can i do for this?
Walter Roberson
Walter Roberson on 2 Nov 2011
double() applied to the binary image will give you a gray level image. If, that is, your binary image is of data type logical: if it is already in a numeric data type then it is already a grey-level image.

Sign in to comment.

More Answers (0)

Categories

Find more on Triangulation Representation 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!