Color histogram-based Image Search

Source: Internet
Author: User

Each image has a specific number of features. The difference is what these features are based on. In this example, image retrieval is based on color features. It is undeniable that color is one of the most important features of an image. For gray-scale images, we can use a gray-scale histogram, color images can be detected based on color histograms.

Advantages of color histogram Detection: detection errors are insensitive to image size, translation, and rotation, and are easy to calculate.

Step: calculate n color frequency values for N colors with a width of N1 and a height of N2, and then calculate the distance between the two images using the absolute distance. When the values of N color frequencies are subtract, the absolute values are obtained, and then the sum is obtained. The minimum values are considered to be the most similar for the two images.

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.