22.08.2015 Views

Jian-Jiun Ding, Wei-Lun Chao, Jiun-De Huang, and Cheng-Jin Kuo

Jian-Jiun Ding, Wei-Lun Chao, Jiun-De Huang, and Cheng-Jin Kuo

Jian-Jiun Ding, Wei-Lun Chao, Jiun-De Huang, and Cheng-Jin Kuo

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

REPLACE THIS LINE WITH YOUR PAPER IDENTIFICATION NUMBER (DOUBLE-CLICK HERE TO EDIT) < 3yProposed Fourier descriptor schemeyxComplexcoordinateLinearoffsetAnti-symmetricextensionCompression +ReconstructionFig. 3. The flowchart of the proposed Fourier descriptor scheme. Given a non-closed segment, the complex-coordinate mapping first records thesegment as a 1-D complex sequence. Then, the proposed linear-offset <strong>and</strong> anti-symmetric extension (illustrated by the blue dash boxes) areperformed to close <strong>and</strong> smooth the segment. Finally, the DFT is executed to achieve the frequency coefficients for boundary compression. The maingoal of our scheme is to approximately reconstruct the non-closed segment with the exact endpoint locations.DFTxpurposes, meaning that the shape signature process should bereversible. Instead of designing a new reversible shapesignature with similar end point values for non-closed segments,we adopt the complex-coordinate mapping [4] (a reversiblesignature) <strong>and</strong> present two modification steps — linear offset<strong>and</strong> anti-symmetric extension — to close <strong>and</strong> smooth theoriginal non-closed segment. With these modifications, thefinal 1-D sequence fed into the DFT would have much smallerhigh- frequency components (as in Fig. 5) <strong>and</strong> could beapproximately reconstructed by the low-frequency coefficients.In addition, no matter how many DFT coefficients are remainedfor boundary compression, our scheme is proved to keep theexact end point locations after reconstruction. Fig. 3 depicts theflowchart of the proposed Fourier descriptor scheme, <strong>and</strong> in thefollowing sub- sections, we describe each step in order. Notethat the complex- coordinate step could be placed afteranti-symmetric extension without causing any difference to theresulting descriptor.y 0yx 0sn00 0s x jys N 1The original segmentrepresented bycomplex coordinatesxyx(a) Linear offsetyssW nWEnxA. The Complex-coordinate MappingGiven an N-point boundary xn, ynn 0,1,......, N 1 ,the complex-coordinate mapping [4] represents each contourpoint as a complex number <strong>and</strong> generates a complex sequences(n) as follows:sn ( ) xn ( ) jyn ( ), for k0,1,......, N 1 (1)where the x-axis is treated as the real part; the y-axis, imaginarypart. If the boundary is not closed, the sequence s(n) isobviously discontinuous at the two ends <strong>and</strong> its DFT willcontain large high-frequency coefficients.B. Linear OffsetTo reduce the high-frequency components derived from thenon-adjacent end points, an intuitive idea is to warp the originalsegment into a closed one. In this paper, we present a linearoffset algorithm to achieve this goal: A contour point (x n , y n ) onthe original segment is linearly shifted to (x n ’, y n ’) based on thefollowing rule:x' n xn x0 ( xN1x0) n/( N1) ,y' n yn y0 ( yN1 y0) n/( N1) ,for n 0,1,......, N 1.Note that x 0 ’ = x N1 ’ = 0 <strong>and</strong> y 0 ’ = y N1 ’ = 0. This rule shifts eachcontour point according to its index <strong>and</strong> the difference betweenthe end points. The warped segment then becomes a closed one(2)named s W (n), which is shown as in Fig. 4(a):s ( n) x ', y ' n 0,1,......, N 1 . (3)W n n(b) Anti-symmetric extensionFig. 4. The illustration of performing (a) linear-offset (resulting in a sharpangle at the origin) <strong>and</strong> (b) anti-symmetric extension on a non-closedsegment. As shown, the output segment after these two steps become aclosed one <strong>and</strong> has continuous first-order differences at the two end points.The linear offset algorithm is reversible from (x n ’, y n ’) backto (x n , y n ) by keeping the two end point locations, ensuring itsavailability for boundary reconstruction. And as illustrated inFig.5, the resulting closed segment has smaller high-frequencycomponents than the original non-closed one; the reconstructedsegment from s W (n) with 2.5% compression rate could preservethe non-closed shape. The compression rate <strong>and</strong> reconstructionprocess are described later in Sections III-D <strong>and</strong> III-E.However, even after linear offset, the linked two ends maylead to a sharp angle on the contour, therefore still containinghigh-frequency components. In addition, the end pointlocations are not guaranteed to be preserved afterreconstruction.C. Anti-symmetric ExtensionTo smooth the sharp angle generated by the linear offset, wefurther propose the anti-symmetric extension scheme by adding

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!