CN102005046A - Novel method for detecting image color cast by color saturation detecting technology - Google Patents

Novel method for detecting image color cast by color saturation detecting technology Download PDF

Info

Publication number
CN102005046A
CN102005046A CN 201010539234 CN201010539234A CN102005046A CN 102005046 A CN102005046 A CN 102005046A CN 201010539234 CN201010539234 CN 201010539234 CN 201010539234 A CN201010539234 A CN 201010539234A CN 102005046 A CN102005046 A CN 102005046A
Authority
CN
China
Prior art keywords
color
colour cast
saturation
detecting
detection technique
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010539234
Other languages
Chinese (zh)
Inventor
莫世英
孙志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUNTEK TECHNOLOGY Co Ltd
Original Assignee
SUNTEK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUNTEK TECHNOLOGY Co Ltd filed Critical SUNTEK TECHNOLOGY Co Ltd
Priority to CN 201010539234 priority Critical patent/CN102005046A/en
Publication of CN102005046A publication Critical patent/CN102005046A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides a novel method for detecting image color cast by a color saturation detecting technology. Based on a color cast detecting algorithms of color saturation detection and application thereof in intelligent security, the method can effectively judge whether color cast is generated, thereby realizing intelligent video monitoring and intelligent judgment.

Description

A kind of new method by color saturation detection technique detected image colour cast
Technical field
The invention belongs to the image/video field, particularly color space conversion and the accumulation histogram algorithm use in colour cast detects, and the application of this method in fault diagnosis system.
Technical background
Along with the rapid propelling in China of safe city engineering, the capital construction of video monitoring system begins to take shape, but simultaneously, the video monitoring system scale is increasing, monitored picture quantity is also more and more, and monitored picture quantity is also more and more, only depends on human eye that the fault picture is investigated one by one, efficient is very low, and therefore intelligentized video fault diagnosis importance highlights day by day.
It is exactly the diagnosis item that belongs to a key in the video fault diagnosis that the image colour cast detects.The main means that current master image colour cast detects are to carry out colour cast to detect in rgb space, but that rgb space has is not directly perceived, inhomogeneous, characteristics such as device dependence.Therefore can not satisfy the demand of the intelligent operation of extensive security protection preferably.
Along with the innovation of technology, the way of utilizing color saturation to carry out the detection of image colour cast becomes possibility.
Summary of the invention
The objective of the invention is at the video fault diagnosis system,, propose a kind of new method by color saturation detection technique detected image colour cast to the troubleshooting issue of camera in the safety-security area.
In order to realize goal of the invention, the technical scheme of employing is as follows:
Process flow diagram by color saturation detection technique detected image colour cast algorithm as shown in Figure 1.This flow process at first is to obtain current video frame, and we just carry out the color conversion of RGB to the HSV space to the video frame images that obtains then.Through after the conversion of color space, with that the image after the conversion is obtained H, the histogram distribution of S component is carried out the histogram accumulation to each component respectively then, the histogram accumulation becomes cumulative distribution function (probability distribution function) to histogram exactly, is exactly histogram normalization.At last according to our accumulation histogram to whether colour cast is judged, when the somewhere component exceeds normal range or is partial to very big the time, we just can judge whether to be colour cast according to figure.The transfer algorithm of color space and histogram acquisition algorithm are respectively by Fig. 2, and Fig. 3 is illustrated.
Detailed process with this algorithm detected image colour cast can be described below:
Figure BSA00000340923300021
Color space transformation;
Extract the H in the HSV color space, the S component;
Figure BSA00000340923300023
To H, the S component carries out cumulative statistics respectively;
Figure BSA00000340923300024
This two field picture that obtains after the color space conversion is carried out histogram to be obtained;
Figure BSA00000340923300025
Accumulation histogram to statistics judges whether important threshold value surpasses certain scope, if exceed, then for being judged as colour cast.
This algorithm has used the conversion and the histogrammic accumulation of color space flexibly, has simplified operand, has the excellent real-time performance simultaneously.。
Description of drawings
Fig. 1 is the process flow diagram of colour cast algorithm among the present invention;
Fig. 2 is a color space conversion synoptic diagram of the present invention;
Fig. 3 is a computing function synoptic diagram of the present invention.
Embodiment
As shown in Figure 3.
Function of the present invention is based on up-to-date OpenCV storehouse.OpenCV is writing a Chinese character in simplified form of " Open Source Computer Vision Library ", is the Intel computer vision storehouse of increasing income.It is made of a series of C functions and a spot of C++ class, is a lot of general-purpose algorithms that can realize Flame Image Process and computer vision aspect, can be used to handle problem common in the image/video field, wherein is mainly concerned with the content of the following aspects:
(1) CvCreateGaussianBGModel-Gaussian Background modeling;
(2) CvCvtColor-color space transformation;
(3) cvCreateHist-creates histogram;
(4) cvCalcHist-compute histograms;
In the present invention, by function cvCvtColor, that two field picture that input can be obtained is transformed into the hsv color space by rgb space;
Function cvSplit is used for the HSV color space of image is decomposed, and extracts the H color component.
Function C vHistogram is used to create the histogram of a sub-picture;
Function cvCalcHist is used for the histogram of edge calculation gradient direction figure, obtains the statistics with histogram result.
After drawing accumulation histogram, will observe and judge histogram, when exceeding the normality threshold scope or be partial to, the somewhere component just thinks the colour cast of having made a living very big the time.

Claims (3)

1. the new method by color saturation detection technique detected image colour cast is characterized in that based on the hsv color feature space color of image saturation degree being detected to judge whether image colour cast takes place;
2. the new method by color saturation detection technique detected image colour cast is characterized in that the function library based on OpenCV;
3. new method by color saturation detection technique detected image colour cast, it is characterized in that at first image being become the hsv color space with the RGB color space conversion, utilize the color accumulative histogram that the saturation degree of colourity and each colourity is added up, if the saturation degree that a kind of color is arranged greater than threshold value, is then thought colour cast has taken place; 4. follow according to the described new method by color saturation detection technique detected image colour cast of claim 3, it is characterized in that H component and S component reasonably being added up, thereby can reasonably calculate the saturation information of the inclined to one side color of institute according to the hsv color space.
CN 201010539234 2010-11-10 2010-11-10 Novel method for detecting image color cast by color saturation detecting technology Pending CN102005046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010539234 CN102005046A (en) 2010-11-10 2010-11-10 Novel method for detecting image color cast by color saturation detecting technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010539234 CN102005046A (en) 2010-11-10 2010-11-10 Novel method for detecting image color cast by color saturation detecting technology

Publications (1)

Publication Number Publication Date
CN102005046A true CN102005046A (en) 2011-04-06

Family

ID=43812385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010539234 Pending CN102005046A (en) 2010-11-10 2010-11-10 Novel method for detecting image color cast by color saturation detecting technology

Country Status (1)

Country Link
CN (1) CN102005046A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020996A (en) * 2012-12-28 2013-04-03 昆山市工业技术研究院有限责任公司 Lab-space-based detection method based on image color cast
CN103065334A (en) * 2013-01-31 2013-04-24 金陵科技学院 Color cast detection and correction method and device based on HSV (Hue, Saturation, Value) color space
CN104658014A (en) * 2015-02-10 2015-05-27 重庆金山科技(集团)有限公司 Method for detecting in-vivo chromaticity abnormality
CN104881853A (en) * 2015-05-28 2015-09-02 厦门美图之家科技有限公司 Skin color rectification method and system based on color conceptualization
CN109559692A (en) * 2018-12-11 2019-04-02 惠科股份有限公司 A kind of driving method of display module, drive system and display device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731451A (en) * 2005-08-22 2006-02-08 上海广电(集团)有限公司中央研究院 Method of image color enhancement
WO2006040311A2 (en) * 2004-10-11 2006-04-20 Thomson Licensing Method for detecting skin tone pixels
CN2838169Y (en) * 2005-09-08 2006-11-15 上海广电(集团)有限公司中央研究院 Image color enhancing device
CN101151883A (en) * 2005-03-31 2008-03-26 松下电器产业株式会社 Image processing method, display image processing method, image processing device, and integrated circuit containing the image processing device
CN101426150A (en) * 2008-12-08 2009-05-06 青岛海信电子产业控股股份有限公司 Video image quality evaluation method and system
CN101605273A (en) * 2009-07-23 2009-12-16 青岛海信数字多媒体技术国家重点实验室有限公司 A kind of method of evaluating colour saturation quality and subsystem

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006040311A2 (en) * 2004-10-11 2006-04-20 Thomson Licensing Method for detecting skin tone pixels
CN101151883A (en) * 2005-03-31 2008-03-26 松下电器产业株式会社 Image processing method, display image processing method, image processing device, and integrated circuit containing the image processing device
CN1731451A (en) * 2005-08-22 2006-02-08 上海广电(集团)有限公司中央研究院 Method of image color enhancement
CN2838169Y (en) * 2005-09-08 2006-11-15 上海广电(集团)有限公司中央研究院 Image color enhancing device
CN101426150A (en) * 2008-12-08 2009-05-06 青岛海信电子产业控股股份有限公司 Video image quality evaluation method and system
CN101605273A (en) * 2009-07-23 2009-12-16 青岛海信数字多媒体技术国家重点实验室有限公司 A kind of method of evaluating colour saturation quality and subsystem

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020996A (en) * 2012-12-28 2013-04-03 昆山市工业技术研究院有限责任公司 Lab-space-based detection method based on image color cast
CN103020996B (en) * 2012-12-28 2016-01-20 昆山市工业技术研究院有限责任公司 Based on the detection method of the image color cast of Lab space
CN103065334A (en) * 2013-01-31 2013-04-24 金陵科技学院 Color cast detection and correction method and device based on HSV (Hue, Saturation, Value) color space
CN103065334B (en) * 2013-01-31 2015-12-09 金陵科技学院 A kind of color cast detection based on hsv color space, bearing calibration and device
CN104658014A (en) * 2015-02-10 2015-05-27 重庆金山科技(集团)有限公司 Method for detecting in-vivo chromaticity abnormality
CN104658014B (en) * 2015-02-10 2017-09-22 重庆金山科技(集团)有限公司 A kind of method for detecting colorimetric abnormality in organism
CN104881853A (en) * 2015-05-28 2015-09-02 厦门美图之家科技有限公司 Skin color rectification method and system based on color conceptualization
CN104881853B (en) * 2015-05-28 2018-10-16 厦门美图之家科技有限公司 A kind of colour of skin antidote and system based on color generalities
CN109559692A (en) * 2018-12-11 2019-04-02 惠科股份有限公司 A kind of driving method of display module, drive system and display device

Similar Documents

Publication Publication Date Title
CN102005046A (en) Novel method for detecting image color cast by color saturation detecting technology
CN107480658A (en) Face identification device and method based on multi-angle video
CN102930261A (en) Face snapshot recognition method
Ghazali et al. An innovative face detection based on skin color segmentation
CN202196458U (en) Face recognition system
Qi et al. Automatic detection and counting method for spores of rice blast based on micro image processing
CN106558061A (en) A kind of cash register loss prevention method and system based on cloud computing
CN110929608A (en) Safety helmet wearing detection method and system
CN103996033A (en) Human identification method based on tracking of human face five-sense-organ coordinates
Shao et al. An image-based fire detection method using color analysis
CN102592140A (en) Method for monitoring condition of cyanobacteria bloom
CN105718886A (en) Moving personnel safety abnormity tumbling detection method
CN102609729B (en) Method and system for recognizing faces shot by multiple cameras
Xiya et al. An abandoned object detection system based on dual background and motion analysis
CN102509079A (en) Real-time gesture tracking method and tracking system
CN101667250A (en) Device and method for identifying hand on basis of Camshift algorithm and hand-shape shade
Song et al. The research of real-time forest fire alarm algorithm based on video
CN103020578A (en) Intelligent multi-target tracking algorithm based on bipartite matching
CN103020981A (en) Rapid key frame extraction algorithm based on video moving target
CN101751557A (en) Intelligent biological identification device and identification method thereof
Nan et al. Safety Helmet Detection Dynamic Model Based on the Critical Area Attention Mechanism
Li et al. License plate recognition based on intrinsic image decomposition algorithm
CN104952143A (en) Color change detection method and color change detection system for red waterlines of bill images
Sapakova et al. Deep learning-based face mask detection using YOLOV5 model
CN102005045A (en) Method for detecting movement of tripod head based on color histogram matching principle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110406