# Detect and isolate veins in the palm?

I am trying to figure out a way to find out the vein pattern in the hand.. Please could someone suggest ways to do the same.? I know first i would need to find the ROI in the image and perform further processing .. Can gabor filter be used as one of the steps ?

Thanks

• See related question on SO: stackoverflow.com/questions/8694534/iphone-camera-application – Paul R Jan 19 '12 at 15:35
• my question is what is the programming languge for those code becuse i try to apply that on MATLAB but it dos'nt work and if there any equivelant code in MATLAB. thanks zainab – user4798 Jun 12 '13 at 9:59

Ridge filtering seems like a possible processing. I have not tried to clean up the non-veins ridges; perhaps there would not be need for that step in more constrained acquisition conditions.

In Mathematica:

img = ColorConvert[Import["http://i.stack.imgur.com/5og5Z.jpg"], "Grayscale"];
r = RidgeFilter[ColorNegate@img, 3];
Binarize[ImageAdjust@r, .03] // Thinning


• is there an implementation of ridge filtering in MATLAB? – vini Jan 18 '12 at 16:24
• There does not seem to be any implementation shipping with matlab. However, Google reveals user contributions to the matlab central exchange. According to the Mathematica documentation (reference.wolfram.com/mathematica/ref/RidgeFilter.html), ones needs to compute "the main principal curvature orthogonal to a ridge as given by the main negative eigenvalue of the Hessian matrix." – Matthias Odisio Jan 18 '12 at 16:54
• I find this concept a little hard to grasp ! – vini Jan 18 '12 at 17:30
• One reference would be "Front-End Vision and Multi-Scale Image Analysis", by Bart M. Haar Romeny – Matthias Odisio Jan 18 '12 at 17:47
• will search and let u knw :) – vini Jan 18 '12 at 18:08