Derivation of Fourier descriptor

來源:互聯網
上載者:User

For any above derived 1D signature function u(t), its discrete Fourier transform is given by

This results in a set of Fourier coefficients {an}, which is a representation of the shape. Since shapes generated through rotation, translation and scaling (called similarity transform of a shape) of a same shape are similar shapes, a shape representation should be invariant to these operations.The selection of different start point on the shape boundary to derive u(t) should not affect the representation.From Fourier theory, the general form for the Fourier coefficients of a contour generated by translation, rotation,scaling and change of start point from an original contour is given by [13]:

where   and an are the Fourier coefficients of the original shape and the similarity transformed shape, respectively;  and s are the terms due to change of starting point, rotation and scaling. Except the DC component (a0), all the other coefficients are not affected by translation. Now considering the following expression
 

where bn and    are normalized Fourier coefficients of the derived shape and the original shape, respectively. The normalized coefficient of the derived shape bn and that of the original shape   have only difference of exp[j(n-1)t].If we ignore the phase information and only use magnitude of the coefficients, then

 and are the same. In other words,   is invariant to translation, rotation, scaling and change of start point. The set of magnitudes of the normalized Fourier coefficients of the shape { ,0<n<=N} can now be used as shape descriptors, denoted as {FDn,0<n<=N}. The similarity between a query shape Q and a target shape T is given by the city block distance d
between their FDs.The reason of choosing a0 as the normalization factor is because it is the average energy of the signal. It is normally the largest coefficient, therefore, the normalized FD features is in [0, 1].

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.