Object color extraction and detection method and device

A detection method and color technology, applied in the field of image processing, can solve problems such as large color errors and inability to respond to color changes, and achieve the effect of reducing errors

Active Publication Date: 2017-03-15
江西磨铁科技有限公司
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for object color extraction and detection, aiming to solve the problem of large color errors in color extraction in the prior art and the inability to reflect real color changes

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Object color extraction and detection method and device
  • Object color extraction and detection method and device
  • Object color extraction and detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] figure 1 It shows the implementation flow of the object color extraction and detection method provided by the embodiment of the present invention,

[0049] In step S101, the RGB model color space value of each pixel of the color image to be extracted is obtained, and the RGB model color space value is converted into an HSV model color space value; the three components of the HSV model color space value are: H component, S component, and V component represent hue, saturation, and brightness, respectively;

[0050]Three components of the RGB model color space value in the embodiment of the p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is suitable for the technical field of image processing, and provides an object color extraction and detection method and device. The method includes obtaining RGB model color space values of each pixel pint of a color image to be extracted, and converting the RGB model color space values into HSV model color space values; performing graying processing on each pixel point of the image to be extracted according to an H component value of the HSB model color space values, obtaining a gray-scale value corresponding to each pixel point, and generating a gray-scale image; comparing the gray-scale value of each pixel point in the gray-scale image with a preset pixel point gray-scale threshold, and generating a color effect image according to a comparison result; and performing contrast detection on the color effect image and a prestored contrast image. The object color extraction and detection method provided by the embodiment of the invention solves the problem in the prior art that a color error in color extraction is large and a real color change cannot be reflected.

Description

technical field [0001] The invention belongs to the technical field of image processing, and in particular relates to an object color extraction and detection method and device. Background technique [0002] In industrial applications, it is necessary and important to perform color detection on key areas in the current scene. For example, under normal conditions, a switch button should be in the "on" state, and the corresponding switch button is red at this time, but under abnormal conditions, it is in the "off" state, and the switch button color is green. Therefore, if the color information of the current critical area can be identified during the maintenance of the instrument, it can be known whether the detection area is in a normal state, so as to guide the subsequent operation. [0003] At present, the commonly used color extraction and detection methods are as follows: the commonly used main color description models include RGB, HSV, CMY, CIE-XYZ, YUV, NTSC-YIQ, UCS, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/46G06K9/62
CPCG06V10/56G06F18/22
Inventor 鄢蕾
Owner 江西磨铁科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products