• 沒有找到結果。

Application of Palmprint Feature Analysis on Fate Theory

N/A
N/A
Protected

Academic year: 2021

Share "Application of Palmprint Feature Analysis on Fate Theory"

Copied!
8
0
0

加載中.... (立即查看全文)

全文

(1)Application of Palmprint Feature Analysis on Fate Theory Hwei-Jen Lin. Hung-Hsuan Wu. Kuo-Chang Chen. Shwu-Huei Yen. Tamkang University. Tamkang University. Tamkang University. Tamkang University. hjlin@cs.tku.edu.tw. joseph5@seed.net.tw. jerry@mail200.com.tw. shyen@cs.tku.edu.tw. Abstract Throughout the course of its development, palmprint features have always been studied and analyzed by experts from diverse fields, such as biometric identification, psychology, and fate theory. In this paper, we put into practice a system that analyzes palmistry. With the help of image processing techniques, we transmit the information extracted from the palmprint image into our analyzing system, and have the palmprint assayed. Further discussion about each processing step of the system and details about the experiments are also included in the paper. Keywords: palmprint, biometric identification, thresholding, linear regression, conditional dilation.. 1. Introduction The emergence of palmistry can be dated back to an early age, and is divided into two schools: the Chinese and the Western. It is said that Western palmistry evolved at around 3000 B.C., and flourished at the same time as the Aryan Culture in India and the palmistry and physiognomy in China. But even though palmistry is divided into two schools, the Chinese and the Western, the contents of each school are in fact highly similar; or you can even say the only things different are the names. Some experts in biological characteristics devote themselves to the research and analysis of palmprint features. Since it helps to identify people, its commercial value lies mostly in the installment of security systems, such as safes, gate-guard systems, etc. Besides this, it is employed mainly in the investigation of criminal cases, when they have to use palmprint- or fingerprint-identification techniques to identify suspects, which is an aid to the investigation and analysis of the case. Though PIN codes are simpler and easier for management, they have little defense against premeditated hackers; while using biological features for personal identification has many advantages, such as uniqueness, in nateness, and convenience in carrying around.. Since most papers about palmprint features nowadays are focused on its application in personal identification, analysis on palmistry and Fate Theories are few and far between. Therefore, with the help of image processing techniques, we hope to find out the characteristics of gray palmprint images, extract the principal lines, and calculate the number of collateral lines beside the principal lines; actually creating a computer-based system for analyzing palmistry.. 2. Description of Palmprint Features When we open our palms, most people would be able to point out with familiarity the Heart Line, the Head Line, and the Life Line; for these are the most prominent and best-known lines. Imprinted upon our hands, they are ni separable from us, accompanying us through our various lives. The so-called palmprint refers to the countless crisscrossed long and short lines on our palm. Their number and depth depend on the individual; there might be only a few, yet there might be a lot as well. However, each line has its own name and meaning in palmistry [1]. So we will discuss the three principal lines as is necessary in this paper: the Heart Line, the Head Line, and the Life Line, as are shown in Figure 1. The introduction of each is as follows: (1). The Heart Line: Running above the Head Line, it starts from the Mount of Jupiter (show in Figure 1 block “A”) and ends below the little finger. See line No. 1 in Figure 1. (2). The Head Line: Also called the Wisdom Line or Brain Line. It begins with the Life Line between the thumb and the index finger, and runs across the palm towards the Mount of the Moon. (shown in Figure 1 block “B”) See line No. 2 in Figure 1. (3). The Life Line: Beginning between the thumb and the index finger and running down along the Mount of Venus; i.e. the line curving around the Mount of Venus. (shown in Figure 1 block “C”) See line No. 3 in Figure 1..

(2) 4. Image Process of Palmprints A. C. B. Since the purpose of our study is to provide users with a set of user-friendly software for palmprint analysis, we do our best to simplify the image-obtaining process. Therefore, after a series of experiments and analysis, we decide to use “red ink palmprint images” as the means for obtaining palmprints. In this way, users would be able to produce their own palmprint images at home and, with the help of scanners, turn them into digital images, and then feed them into the computer. This way we would be able to obtain the palmprint image easily, so that the software could analyze it. 4.1. Remove the background. 【Figure 1. three principal lines and three mounts】. 3. System Flow The programming language that we use in our experiment is the Borland C++ Builder, Ve rsion 5.0. In order to simplify the running system and to make our study easier, all the palmprint image files are in the BMP format, and Figure 2 is our system architecture.. Gray process. Remove backround. Main axis position. Collateral line counting. Binary. Input Image. Reconstruction. revise heart line. We discovered that, after being gray-level image, the gray values of the background color of the red ink palmprint image is extremely close to those of the principal lines in the palmprint (see Figure 3). If we do binary segmentation to remove the background, the actual background and the principal lines of the palmprint would be classified into the same category. Such a way of background removal would be less objective. Therefore, we propose a solution: “to attack from four sides.” In this way we will be able to separate the gray values of the actual background from those of the principal lines in the palmprint, successfully keeping the main block of the palmprint that we need. The main idea of the “attacking from four sides” method is to press in from the boundaries on all four sides. This is helpful for defining the boundaries of the main block. We could then go on to remove the background, and to acquire the main block of the palmprint. See Figure 4.. Fate analysis. Smoothing Result Smoothing the boundry. Principal line feature extraction. Thinning. 【Figure 3. gray-level palmprint image 】 【Figure 2. system flow】.

(3) computation, we obtain the coefficients of the line y = ax+b: a=0.922754, b=0.075833. With these coefficient values, we may automatically obtain the background-removal threshold value T for a test image, using the formula: (a) attacking from left and right (b) attacking from up and down 【Figure 4. attacking from four sides】. W = 1+ a. where. M2 +b. M1. M1. Number of gray-level. The most important part of this method is, we have to know how to obtain the appropriate threshold value of the surrounding boundaries, so as to aid the separation. Figure 5((a) and (b)) shows the most commonly used binary segmentation methods, such as Otsu method[5] and Mode method[8], applied to the processing of palmprint images. The results are not entirely satisfactory.. N1 − N 2 , W. T = N2 +. M2. Gray-level. N2. T T − N2. x=. (a) Otsu method (b) Mode method (c) experiment 【Figure 5. results of thresholding】. Therefore, with manual experimentation to the current sample images and we found the optimal threshold value T for each image, see Figure 6. According to the results of these experiments, see Figure 5(c), we discovered a characteristic: the ratio, x, of the first peak’s height to the second peak’s height is linearly related to the ratio, y, of the difference between the first peak’s gray value and its actual threshold value to the difference between the second peak’s gray value and its actual threshold value. That is, point (x,y) corresponding to these images distribute around an invisible line y = ax+b, see Figure 7. To find out this invisible line y = ax+b, or the coefficient a and b, we could use the linear regression method [7]. For the histogram of a sample image i, let M1i and M2i be the heights of the first and the second peaks, respectively, let N1 i and N2 i be the gray values of the first and the second peaks, respectively, and Ti the threshold value of the best segmentation. Let. xi =. M 2i N 1i − Ti ,y = M 1i i Ti − N 2 i. With the samples shown in Figure 7 and according to the result of the linear regression. N1 N1 − T. M2 N1− T ,y = M1 T − N2. T : threshold value M 1 : first peak’s total value, M 2 : the second peak’s total value N1 : first peak’s gray value, N 2 : the second peak’s gray value. 【Figure 6. histogram of the palmprint image with the optimal threshold value T 】. y 300. y = ax + b. 250 200 150 100 50. x. 0 0. 50. 100. 150. 200. 【Figure 7. linear relation between values of x and y】. 4.2. Binarization Operation According to the results of another manual experiments, we found that the histogram of the main block of the sample palmprints also have a characteristic: the ratio, x, of the first peak’s height to the second peak’s height is linearly related to the ratio, y, of the difference between the second peak’s gray value and it’s optimal.

(4) threshold value to the difference between the first peak’s gray value and it ’s actual threshold value, see Figure 8 and Figure 9. For the histogram of the main block of a sample image i, the notations Mi 1, Mi 2, Ni 1, Ni 2 and Ti having the same definition as in the previous section. And let xi =. Mi2 T − Ni 2 . ,y = i M i1 i N i 1 − T i. 1200. y y = ax + b. 1000 800 600 400 200. With the samples shown in Figure 7 and according to the result of the linear regression computation, we obtain the coefficients of the line y = ax+b:. 0 0. 200. 400. 600. x. 800. 【Figure 9. linear relation between values of x and y】. a=1.603684, b=0.051251. With these coefficient values, we may automatically obtain the binary threshold value T for the main block of a test image, using the formula: T = N1 + N 2 − N1 , W. W =1 + a. where. M2 +b M1 (a). source image. (b). conditional image. 4.3. Conditional Dilation In order to get a more complete principal line, we adopt the method of conditional dilation [6], set A as the condition, and let the Structural Element S e acting on A until no more pixels appear. The notation for conditional dilation will be. ⊕ ( S e , A' ). A. The result of the conditional dilation is shown in Figure 10, and the commonly used structural elements are shown in Figure 11. We use the structural element in (c) to do the conditional dilation.. (c). resulting image 【Figure 10. the results of conditional dilat ion】. ×. ×. ×. M1 Number of gray -level. M2. (a) 2-neighbor (b) 4-neighbor (c) 8-neighbor 【Figure 11. structural elements of conditional dilation】. Gray-level. N1. T. N2. . 【Figure 8. histogram of the main block of palmprint image】. 4.4. Smoothing In order to smooth out the principal line so that it would be easier to extract the characteristics of a detailed image, we introduced the median filter here [3]. The median filter is defined as follows:. 【Figure 12. smoothing result 】. f ( x , y ) = median { f ( x − k , y − l ), (k , l ) ∈ w} Here w is the 5x5 mask, and the result is shown in Figure 12..

(5) 4.5. Thinning We have employed several commonly used thinning methods, such as Stentiford Method [9], Parker and Hold Method [4], and Zhang-Suen Method [10], to process our palmprint image. After the experiments, we adopted the Zhang-Suen Method. The results are shown in Figure 13.. them as starting points, to trace each principal line with the 8 directions (see Figure 15.). (a) positions of Heart Line(b) positions of Head Line. (c) positions of Life Line (a) Stentiford. 【Figure 14. relative positions on the palm 】 1 P8 (x-1 , y -1) P1. (x-1 , y) P2 (x-1 , y+1). 8. 2. 7 P7 (x , y -1) P0. (x , y). P6 (x+1 , y -1) P5. (x+1 , y). 3. (x , y+1). 6 P4. (x+1,y+1). 4 5. 【Figure 15. the 8 directions】. Steps for leftward tracing are as follows: (b) Parker. Step 1: Using P0 as the basis, check in the three directions P1 , P7 , and P8 to see if there’s any black point. If yes, we go on to step two; if not, we skip to step six. Step 2: Using P0 as the basis, check in the three directions P1 , P7 , and P8 to see if there is only one black point. If yes, we write down the coordinates of the point, and replace P0 with this new point. Continue tracing by repeating step one. If the answer is no, we go on to step three.. (c) Zhang-Suen 【Figure 13. results of thinning】. 4.6. Principal Line Extraction The three principal lines on a person’s palm – the Heart Line, the Head Line, and the Life Line – have a special property: their relative positions on the palm is fixed, so if we start from the top, their sequence must be Heart Line, Head Line, and then Life Line, and could never be otherwise. Therefore, making use of this special property, we could use the Block Moving Method (shown in Figure 14) to find one feature point on each principal line separately and, using. Step 3: Now there are more than two points in the three directions P1 , P7 , and P8 , so we calculate the chain-code Pmax of the average vector of the current track, which stands for the main trend, and go on to step four. Step 4: Determine whether Pmax is a black point or not. If yes, write down its coordinates, replace P0 with this point and return to step one to continue tracing. If not, go to step five. Step 5: Now, look for black points in this order P8 -P7 -P1 , and as soon as we find one, we record its coordinates, replace P0 with this point, and return to step one to continue tracing. Step 6: Start marking-up processing. Rightward tracing is similar to this, except that the direc-.

(6) tions P1 , P7 , and P8 are replaced by P3 , P4 and P5 . And steps for marking up are as follows: Step 1: Suppose we’ve just arrived at Qn . Move forward and take two other points Q1 and Q2 , calculate the vectors V(Q , 1 n Q1 )and V(Q 2 n Q2 ) then calculate the mean vector V of V1 and V2 . And then, starting from Qn , look for dots in the opposite direction of vector V. The way to trace this vector is shown in Figure 16. Step 2: Make a move in the opposite direction of vector V, which brings us to point Ai , and then determine whether there exists a point A’i on or around Ai . If yes, go on to step three. If not, repeat step two until we come to the boundary. Q0. V2. V1. Q1. V. Q2. 【Figure 16. tracing the vector】. Step 3: Suppose we find A’i now, and we also know that we’ve moved i units so far. Calculate the ratio ΔA of the distance between A’i and Ai to the distance i, then mark up in the forward direction until we reach point A0 , then go on to step four. The way to mark up is shown in Figure 17. Step 4: Mark up process complete. Return to the tracing process to continue tracing. The result of tracing and marking up is show in Figure 18. Ai′ A′i −1. Ai′− 2. A1′. Ai Ai −1 Ai − 2. 4.7. Revising the Heart Line Since the tail of the Heart Line in a red ink palmprint image often to cause some tiny branches, after we trace this part, the line is prone to slant either upwards or downwards, making it easy to misjudge the curvature of the Heart Line’s tail. Therefore we need to return to the gray-level palmprint image, and adjust the curvature of the tail part according to the gray values of the last section of the Heart Line. First we extract the gray values of three random points on the first three quarters of the section: Ta 、Tb、Tc, get their average, have them moved for the length of d units, and then use the value Tm , which we gained from these calculations, as the threshold value to detect changes in the gray values of the palmprint. And then, using this value Tm , we start to reappraise the last quarter of the Heart Line. First we measure the upper and lower boundaries of the Heart Line block and calculate its median value, and then we can obtain the new coordinates. And according to these new coordinates, we move it one pixel to the right, and repeat the steps above, until we come up with the right side boundaries. The result is shown in Figure 19.. 【Figure 19. Revising the Heart Line】. 4.8. Main Axis Position After such adjustments of the Heart Line, we would be able to get a more accurate coordinates of the point of the tail part. And then, connecting this point with the leftmost tip of the Head Line, the main axis is produced, as shown in Figure 20.. A1 A0. 【Figure 17. method of marking-up】. 【Figure 20. Main Axis Position】. 4.9. Collateral Line Counting. 【Figure 18. result of tracing and marking up 】. In order to find the number of collateral lines around the principal line efficiently, we can return to the original gray-level image. Since the features of the collateral lines’ gray-level values are similar to those of the principal line, the.

(7) gray-level values of collateral lines are higher. According to such a characteristic, we can use each point p i in principal line and find the actual boundary point ei in one side, and then, starting from ei , select four points z1 i , z2 i , z3 i and z4 i along the direction perpendicular to the principal line, calculate their gray-level values t1 i , t2i , t3i and t4 i , and compare these to the threshold value Tm calculated in the previous section. For each tki , if it exceeds Tm , then the point is possibly on the collateral line, so we increase Wk by 1(where Wk denotes the width of the cross-section of the detected collated line and it ’s initial value is set to 0, where k = 1,2,3,4). If tk i does not exceeds Tm , then check if W k ≥ num (by experience we obtain that num = 3 ): if W k ≥ num , then we increase the value of Nk by 1 and reset Lk = 0. If tki exceeds Tm , then just increase Wk by 1. All the detail processes are shown in algorithm 1. Finally, we select the maximum value Nmax from N1 , N2 , N3 and N4 , which is the estimated number of collateral lines along one side of the principal line. Figure 21 illustrates the way to estimate the number of collateral lines, and an example is shown in Figure 22. Collateral lines along the other side of the principal line can be counted in the same way.. z4 i z4 i+1 z 4 i+ 2 z 4 i + 3. collateral line. ei ei+1 ei+ 2 ei+ 3 Pi Pi + 1 Pi + 2 Pi + 3. edge points. principal line 【Figure 21. Collateral Line Counting】. Count numbers upper collateral Heart lines: 7 Line lower collateral lines: 8 upper collateral Head lines: 2 Line lower collateral lines: 8 right-side colLife lateral lines: 8 Line left-side collateral lines: 2 【Figure 22. the example of Collateral Line Counting】. for k=1 to 4 Nk = 0 and Wk = 0 for i=1 to n find edge point ei for Pi in one side for k=1 to 4 if tk i > Tm then Wk = Wk +1 else if W k ≥ num then Nk = N k +1 Wk = 0. N MAX = Max N k k. 【Algorithm 1. Collateral Line Counting Algorithm】. 5. Analysis Results According to the rules of Fate Theory [2], we could gather the information, apply it to the parameters obtained by image processing, and get the result of the analysis. What follows is a list of rules, and an example of fate analysis is shown in Figure 23. ■ Information needed for the Heart Line: number of collateral lines above the Heart Line, number of collateral lines below the Heart Line, and whether the curvature of the Heart Line’s tail is of the upside trend or the downside trend.. 【Figure 23. Example of Fate Analysis】. ■ Information needed for the Head Line: number of collateral lines above the Head Line, number of collateral lines below the Head Line, and the location of the block in which the Head Line ends (i.e. whether the block lies above or below the Mount of the Moon(太陰丘). According to its approximate position, we divide the Mount of the Moon into two parts: the upper part covers two-thirds of the Mount, while the lower part occupies one-third. This is how we decide whether the tail ends above or below the Mount of the Moon. ) See Figure 24..

(8) to further improve this condition in future work.. Down block. The Mount of the Moon block. Up block. There is also a lot of other information in a palmprint that could be used for further analysis in palmistry, such as color and luster. How we could effectively extract the features of this in. 7. References [1] 李鐵筆著,“手掌乾坤”, 益群書局, 2001. [2] 許 紹 龍 著 ,“ 手 相 與 面 相 ” , 隆 泉 書 局 , 1986.. 【Figure 24. the Mount of the Moon】. ■ Information needed for the Life Line: number of collateral lines to the right of the Life Line, number of collateral lines to the left of the Life line, and the location of the block in which the Life Line ends (i.e. whether the tail lies above or below the palace of ancestry(祖先宮). According to its approximate position, we divide the palace of ancestry into two parts: the upper part covers 5/6 of the Mount, while the lower part occupies one-sixth. This is how we decide whether the tail ends above or below the palace of ancestry.) See Figure 25.. [3] R. Gonzalez and R. Woods (ed.), “Digital Image Processing”, Addsion-Wesley Publishing Company, 1992. [4] C. M. Holt, A. M. Stewart Clint, and R. H. Perrott, “An Improved Parallel Thinning Algorithm”, Communications of the ACM, Vol. 30, No. 2, pp. 156-160, 1987. [5] N. Otsu,“A Thresholding Selection Method from Gray-scale Histogram” , IEEE Transactions on System Man Cybernet, Vol. SMC-8, pp. 62-66, 1978. [6] J. R. Parker (ed.), “Algorithms For Image Processing and Computer Vision”, John Wiley & Sonics Inc. Pub. , 1996.. Up block Down block. The palace of ancestry block. [7] G. Peters (ed.), “Fuzzy Linear Regression with Fuzzy Intervals ”, Fuzzy Sets and Systems, 1994.. 【Figure 25. the palace of ancestry】. 6. Conclusions and Future Work So far, papers about palmprints are mostly concerned about applications like personal identification; analyses about its application in palmistry are fewer. Therefore, using image-processing techniques, we find the characteristics of gray-level palmprint images, extract the features of principal lines, calculate the number of collateral lines, and apply them to the palmistry analysis module. Because it is difficult to get the concave part at the center of the ink palmprint, after pre-processing, there will often be a darker block at the center of the palmprint. Even though we use auxiliary methods to extract the trends when we are tracking the principal lines, we still hope. [8] J. M. S. Prewitt and M. L. Mendelsohn, “The Analysis of Cell Images”, in Ann. New York Acad. Sci. Vol. 128, pp 1035-1053, 1966. [9] F. W. Stentiford and R.G. Mortimer, Some New Heuristics for Thinning Bonary Handprinted Characters for OCR”, IEEE Transactions on Systems, Man, and Cybernetics, Vol. 13, No. 1, pp 81-84, 1983. [10] S. Zhang and K. S. Suen,“A thinning Algorithm for Discrete Binary Images”. Processing of the International Conference on Co mputers and Application. Beijing, China. pp. 879-886, 1984..

(9)

參考文獻

相關文件

Reading Task 6: Genre Structure and Language Features. • Now let’s look at how language features (e.g. sentence patterns) are connected to the structure

好了既然 Z[x] 中的 ideal 不一定是 principle ideal 那麼我們就不能學 Proposition 7.2.11 的方法得到 Z[x] 中的 irreducible element 就是 prime element 了..

Wang, Solving pseudomonotone variational inequalities and pseudocon- vex optimization problems using the projection neural network, IEEE Transactions on Neural Networks 17

volume suppressed mass: (TeV) 2 /M P ∼ 10 −4 eV → mm range can be experimentally tested for any number of extra dimensions - Light U(1) gauge bosons: no derivative couplings. =>

For pedagogical purposes, let us start consideration from a simple one-dimensional (1D) system, where electrons are confined to a chain parallel to the x axis. As it is well known

The observed small neutrino masses strongly suggest the presence of super heavy Majorana neutrinos N. Out-of-thermal equilibrium processes may be easily realized around the

Define instead the imaginary.. potential, magnetic field, lattice…) Dirac-BdG Hamiltonian:. with small, and matrix

incapable to extract any quantities from QCD, nor to tackle the most interesting physics, namely, the spontaneously chiral symmetry breaking and the color confinement.. 