Color matching method and device

A color matching and color technology, applied in the field of video image analysis, can solve the problem that the user's color cannot be searched, and achieve the effect of improving the accuracy

CN103024354BActive Publication Date: 2015-11-25HUAWEI TECH CO LTD
6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2015-11-25

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and a device for color matching and relates to the technical field of video image analysis. The method comprises that parameter values of corresponding colorful space are calculated in accordance with parameter values of the color space of the first color, the first color is the color in the selected region of an image to be matched, parameter values of the color space are red r component values, green g component values and blue b component values, parameter values of the colorful space are hue h component values, saturation s component values and illumination I component values, the Euclidean distance of the first color and the second color is calculated in accordance with parameter values of the colorful space of the first color and parameter values of the colorful space of the second color, the second color is preset and is required to be researched from the image to be matched, the calculated Euclidean distance is compared with the set threshold, and the first color and the second color are matched if the Euclidean distance is smaller than or equal to the set threshold. The method and the device are suitable to analysis retrieval of videos and images.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of video image analysis, in particular to a color matching method and device. Background technique

[0002] With the development of camera technology, cameras have become an essential means of surveillance in public places to ensure the safety of people's lives. The video obtained by the camera is an important source of evidence for the detection of criminal cases. When the public security organs analyze the retrieved video, they often retrieve a specific target in the video based on the color of the pixels in the video image. However, due to the uneven quality of the cameras currently on the market, and most The videos were all recorded in a low-light environment, so the target color in the video will be blurred. If you do a strict match according to the RGB (RedGreenBlue, red, green, blue) value of the color, you will not be able to search for the desired results.

[0003] In view of the above problems,...

Examples

Embodiment Construction

[0063] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0064] In the process of realizing the present invention, the inventor found that the search effect of the prior art is not ideal because the reflection of the RGB color space to the color difference is different from the reflection of the human eye to the color difference. For example, two colors color1 and color2 in the RGB color space, among them, color1:r=90g=29b=200, color2:r=200g=29b=200, the difference between the two colors is calculated by the Euclidea...