Other
For edge segmentation with good results.
% Second algorithm uses a morphological erosion and dilation in. Firstly, low pass filtering the image to eliminate the interference of small noise.
% When filtering, does not use the traditional median filter, instead of using order statistics filter ordfilt2.
% Imm = ordfilt2 (im, n, ones (N, M));
% In the formula, the pixel value ones (N, M) sequentially ordering the range, instead of the pixel value of the point using the pixel value of the n points,
% This filter and median filter will not make the same edge of the image becomes blurred, in a good filter out noise while retaining the edges of the image.
After%, setting the threshold, the palmprint image into a binary image. Obtained from the experience threshold should be 15 (or 20).
% Of the binarized image after the first dilation operation performed, then the etching operation, and the results obtained with the original image is subtracted,
matlab
分割
算法
形态学
源码
识别
定位
膨胀
腐蚀
掌纹
No comment