Application of geometric moment

Source: Internet
Author: User
Moment is an operator used to describe image features. It is used in pattern recognition and image analysis. so far, common moment descriptors can be divided into the following types: geometric moment, orthogonal moment, plural moment and rotating torque. the geometric moment was first proposed and its form was simple, and its research was the most adequate. Geometric moment has a certain ability to describe a simple image. Although he is inferior to the other three moments in terms of discrimination, it is extremely simple compared with other operators, generally, it can be expressed with only one number. Therefore, we generally use this function to differentiate large granularity and filter irrelevant documents.
For example, in the graphics library, there may be 1 million images. Maybe only 200 images are what we want. With the one-dimensional geometric moment, you can sort the geometric moment, create an index, and then compare it with the 2000 most recent geometric moment of the target image. For other moments, because they are generally multi-dimensional, they are not easy to sort and can only be searched in order. There is a huge difference in the natural speed. Although geometric moments cannot select the most image, they can be quickly excluded to improve search efficiency.
Several simple geometric moments:
The coordinate of point on the plane is p (x, y), and the center of gravity is C (X !, Y !),
Second-order line spacing: rowmoment = [Σ (X-X !) * (X-X!)] /
Second-order column Spacing: colmoment = [Σ (Y-y !) * (Y-y!)] /
A is the number of points.
The roundness of the image can be calculated from the above two information: circledisgree = rowmoment/colmoment. If the circledisgree of the image is smaller than 1, it tends to be an elliptic in the Y direction of the long axis. If the circledisgree of a graph is greater than 1, it tends to be an elliptic in the X direction of the long axis. If the circledisgree of a graph is closer to 1, it tends to be a circle.
Therefore, we can use the geometric moment of roundness to index it for fast filtering.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.