CN103067734A - Video image color cast detecting method of video quality diagnostic system - Google Patents

Video image color cast detecting method of video quality diagnostic system Download PDF

Info

Publication number
CN103067734A
CN103067734A CN2012105323077A CN201210532307A CN103067734A CN 103067734 A CN103067734 A CN 103067734A CN 2012105323077 A CN2012105323077 A CN 2012105323077A CN 201210532307 A CN201210532307 A CN 201210532307A CN 103067734 A CN103067734 A CN 103067734A
Authority
CN
China
Prior art keywords
image
color space
component
expression
lab color
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.)
Granted
Application number
CN2012105323077A
Other languages
Chinese (zh)
Other versions
CN103067734B (en
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.)
Chengdu Santai Intelligent Technology Co ltd
Original Assignee
CHENGDU SANTAI ELECTRONIC INDUSTRY 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 CHENGDU SANTAI ELECTRONIC INDUSTRY Co Ltd filed Critical CHENGDU SANTAI ELECTRONIC INDUSTRY Co Ltd
Priority to CN201210532307.7A priority Critical patent/CN103067734B/en
Publication of CN103067734A publication Critical patent/CN103067734A/en
Application granted granted Critical
Publication of CN103067734B publication Critical patent/CN103067734B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The invention discloses a video image color cast detecting method of a video quality diagnostic system. The video image color cast detecting method of the video quality diagnostic system is used for solving the problem that video image color cast in the video quality diagnostic system occurs and comprises the steps of a, converting an image from a red, green and blue (RGB) color space to a Lab color space, b, calculating color histograms of a component a and a component b, and c, calculating image color cast factors. If the color cast factors are larger than images of set threshold values, color cast is confirmed to exist and an alarm is called.

Description

Video quality diagnosis system detects the method for video image colour cast
Technical field:
The present invention relates to protection and monitor field, be specifically related to the video image color cast detection in the video quality diagnostic techniques.
Background technology:
Usually, because the impact of the factors such as sensitization coefficient of the reflection characteristic of environment light source, object itself and collecting device there are differences between the color of image capture device collection image and the true picture color, i.e. the colour cast phenomenon.The existence of colour cast phenomenon has brought difficulty to the accuracy that image is processed, and therefore image being carried out that color cast detection and colour cast proofread and correct is a very crucial link.The previous work that color cast detection is proofreaied and correct as colour cast comprises detecting whether have colour cast and colour cast degree in the image, has in actual applications extremely important using value.
Color cast detection method commonly used has: statistics with histogram method, grey balance method, white balance method, based on the color cast detection method of equivalent circular etc.
At Zheng Jianhua, Hao Chongyang etc. utilize the color histogram feature carry out the automatic detection of colour cast image and proofread and correct in mentioned the method for using statistical color histogram and carry out colour cast and judge, for obviously partially red individually, partially green, partially blue image can tentatively be judged whether colour cast of image according to the mean flow rate of R, G, a B3 passage, still for the various images in the different application, the reason that colour cast occurs is intricate, is difficult to be judged comprehensively and accurately based on the statistics with histogram method.
FENG LI, ratio according to image averaging colourity and colourity centre-to-centre spacing among the AN APPROACH OF DETECTING IMAGE COLOR CAST BASED ON IMAGE SEMANTIC of HONG JIN etc. calculates the colour cast factor, can not can be subjected to the restriction of the conditions such as light sensitive characteristic of body surface attribute, light source characteristic, imaging device.But the image detection that the method can not be less with colour cast out, and for not doing good differentiation between the very little image of colour cast degree difference, precision is not high.
Xu Xiaozhao, in the color cast detection and color calibration method based on graphical analysis of Cai Yihang etc., mentioned a kind of color cast detection method based on equivalent circular, also be to calculate the colour cast factor by the ratio that adopts image averaging colourity and colourity centre-to-centre spacing, with FENG LI, the method of HONG JIN etc. is different, calculating respectively a, during b component colourity centre-to-centre spacing, do not consider the probability of each color image components value, but directly the difference by component and component average and square with the ratio of image area, the method can not be subjected to the body surface attribute yet, light source characteristic, the restriction of the conditions such as the light sensitive characteristic of imaging device, but the relative FENG LI of the method, the method for HONG JIN etc., solving practical problems does not improve the precision that detects.
Summary of the invention:
The purpose of this invention is to provide the method that the high video quality diagnosis system of a kind of accuracy of detection detects the video image colour cast.
The present invention is achieved in that
System comprises:
The video image acquisition unit: obtain analog video image with the simulation camera from monitoring scene, be converted to DID by video frequency collection card,
Video image color cast detection unit: be the Lab color space with DID by the RGB color space conversion, judge the colour cast factor of video image at the Lab color space, detect the colour cast factor greater than setting threshold, current video image is passed alarm unit,
Alarm unit: send alarm signal,
Detection method comprises the steps:
1.RGB color space is to the Lab color space conversion:
L component in the Lab color space is used for the brightness of expression pixel, and span is [0,100], and expression is from black to pure white; A represents the scope from the redness to the green, and span is [128,127]; B represents the scope from the yellow to the blueness, and span is [128,127].
With
Figure 406470DEST_PATH_IMAGE001
The abscissa position of certain point in the expression coloured image,
Figure 519920DEST_PATH_IMAGE002
The ordinate position of certain point in the expression coloured image,
Figure 632101DEST_PATH_IMAGE003
The expression pixel
Figure 856409DEST_PATH_IMAGE004
The red R component value of the RGB color space at place,
Figure 121168DEST_PATH_IMAGE005
The expression pixel
Figure 405519DEST_PATH_IMAGE004
The green G component value of the RGB color space at place,
Figure 237953DEST_PATH_IMAGE006
The expression pixel
Figure 265951DEST_PATH_IMAGE004
The blue B component value of the RGB color space at place, The expression pixel The L component value of the Lab color space at place,
Figure 740292DEST_PATH_IMAGE008
The expression pixel
Figure 306403DEST_PATH_IMAGE004
The a component value of the Lab color space at place,
Figure 529442DEST_PATH_IMAGE009
The expression pixel
Figure 155596DEST_PATH_IMAGE004
The b component value of the Lab color space at place,
Figure 214819DEST_PATH_IMAGE004
Each pixel of traversal coloured image,
The RGB color space to the method for Lab color space conversion shown under the formula:
Figure 584620DEST_PATH_IMAGE010
Figure 740795DEST_PATH_IMAGE011
Figure 226265DEST_PATH_IMAGE012
Wherein,
Figure 835101DEST_PATH_IMAGE013
Be the width of coloured image,
Figure 680697DEST_PATH_IMAGE014
Be the height of coloured image,
After conversion,
Figure 691379DEST_PATH_IMAGE015
, ,
Figure 942417DEST_PATH_IMAGE017
,
2.Lab color space calculates color histogram:
In the Lab space colouring information of image is added up, the statistical information of color of image obtains by a of image in the Lab color space, the histogram information of b component, uses
Figure 654022DEST_PATH_IMAGE018
Expression Lab color space a divide the value of the statistics with histogram when measuring r, uses
Figure 722472DEST_PATH_IMAGE019
Expression Lab color space b divide the value of the statistics with histogram when measuring r, uses
Figure 861329DEST_PATH_IMAGE020
Expression Lab color space a divides and measures r, and b divides the two-dimensional histogram when measuring q, and wherein, r is variable, all integer values between the traversal 0 to 255, q is variable, all integer values between the traversal 0 to 255, about be the closed interval,
The color histogram of a component
Figure 864664DEST_PATH_IMAGE018
Computational methods as follows:
Figure 379959DEST_PATH_IMAGE021
,
Figure 302915DEST_PATH_IMAGE022
Wherein,
Figure 612674DEST_PATH_IMAGE023
, i pixel of expression Lab color space level, vertical j a of pixel place component
Figure 604770DEST_PATH_IMAGE008
Whether equal r,
The color histogram of b component Computational methods as follows:
Figure 497956DEST_PATH_IMAGE024
,
Figure 916299DEST_PATH_IMAGE022
Wherein, , i pixel of expression Lab color space level, vertical j the b of pixel place component
Figure 754253DEST_PATH_IMAGE026
Whether equal r,
A, the two-dimensional histogram of b component
Figure 714119DEST_PATH_IMAGE020
Computational methods as follows:
Figure 365680DEST_PATH_IMAGE027
,
Figure 83101DEST_PATH_IMAGE028
Figure 478310DEST_PATH_IMAGE029
Wherein, , i pixel of expression Lab color space level, vertical j a of pixel place component Whether equal r and b component Whether equal q,
Figure 705712DEST_PATH_IMAGE031
Be with 256 computings that round up divided by T, expression will be divided into the T five equilibrium between 256 gray areas, and T can get the arbitrary integer between 2 to 256,
3. calculate the colour cast factor:
After the one dimension of a in calculating the Lab color space, b component, the two-dimensional histogram information, just can be according to one dimension histogram and two-dimensional histogram information, the Absolute Central Moment that difference computed image one peacekeeping two-dimensional color distributes, the mean value of combining image colouring information just can calculate the colour cast factor, the colour cast factor is used for the colour cast degree whether Description Image exists colour cast phenomenon and image, and computational process is as follows:
1) mean value of computed image colouring information,
In the Lab color space, the mean value calculation method of image a, b component color information is as follows:
Figure 367954DEST_PATH_IMAGE033
Figure 807770DEST_PATH_IMAGE034
Wherein, In the Lab color space aThe mean value of component,
Figure 333746DEST_PATH_IMAGE036
Be the mean value of b component in the Lab color space, DBe image in the Lab color space a, bThe mean value of component,
2) Absolute Central Moment of computed image one dimension distribution of color,
The computational methods of the Absolute Central Moment M of image one dimension distribution of color are as follows:
Figure 435694DEST_PATH_IMAGE037
Wherein,
Figure 677320DEST_PATH_IMAGE038
Be coloured image a component one dimension distribution of color absolute center distance in the Lab color space, ,
Figure 782865DEST_PATH_IMAGE040
Be coloured image b component one dimension distribution of color absolute center distance in the Lab color space,
Figure 383610DEST_PATH_IMAGE041
,
Figure 784636DEST_PATH_IMAGE042
For coloured image divides the probability that measures r at Lab color space a, For coloured image divides the probability that measures r at Lab color space b, r is variable, all values between the traversal 0 to 225, and computational methods are as follows:
Figure 361428DEST_PATH_IMAGE044
,
Figure 821490DEST_PATH_IMAGE022
Figure 772129DEST_PATH_IMAGE045
,
Figure 592317DEST_PATH_IMAGE022
Wherein, t is variable, traversal all integer values between 0 to 255, about be the closed interval,
Figure 944801DEST_PATH_IMAGE046
Expression expression Lab color space a divide the value of the statistics with histogram when measuring t, computational methods with
Figure 887349DEST_PATH_IMAGE047
Identical, use
Figure 512235DEST_PATH_IMAGE048
Expression Lab color space b divide the value of the statistics with histogram when measuring t, computational methods with
Figure 198431DEST_PATH_IMAGE019
It is identical,
3) Absolute Central Moment of image two-dimensional color distribution:
The Absolute Central Moment that the image two-dimensional color distributes EdComputational methods are as follows:
Figure 405421DEST_PATH_IMAGE049
Wherein,
Figure 456554DEST_PATH_IMAGE050
,
Figure 381784DEST_PATH_IMAGE051
, T represents can get the arbitrary integer between 2 to 256 with being divided into the T five equilibrium between 256 gray areas, and concrete value is consistent with the value of front T,
4) calculate the colour cast factor:
After the Absolute Central Moment of the mean value that calculates color of image information and the distribution of image one peacekeeping two-dimensional color, the computing formula that can obtain the colour cast factor is as follows:
Figure 291578DEST_PATH_IMAGE052
Wherein, K is the colour cast factor of coloured image, when
Figure 618654DEST_PATH_IMAGE053
The time, think that there is colour cast in image; When
Figure 637426DEST_PATH_IMAGE054
The time, think that there is not colour cast in image, the K value is larger, and the colour cast phenomenon is more serious.
The present invention utilizes image processing techniques that the colour cast situation of video image is analyzed, added on the basis of traditional detection method and to have reacted the Absolute Central Moment that the image two-dimensional color of deviation in various degree distributes, so that exist the chromaticity range of image of colour cast larger, and the chromaticity range of the less image of bias colour or colour cast is little, more concentrated.This factor is joined in the colour cast factor, greatly improved the accuracy that detects.
Description of drawings:
Fig. 1 is the system block diagram of video image color cast detection method in the video quality diagnosis system provided by the invention;
Fig. 2 is the flow chart of video image color cast detection method in the video quality diagnosis system provided by the invention;
Embodiment:
The invention provides the method that a kind of video quality diagnosis system detects the video image colour cast, the system block diagram of the method comprises video image acquisition unit, video image color cast detection unit and alarm unit as shown in Figure 1.
The major function of video image acquisition unit is monitoring scene to be taken and obtained analog video image by the general-purpose simulation camera, then is converted to DID by general video frequency collection card.
The major function of video image color cast detection unit is to be the Lab color space to the color digital image data that will send into computer by computer by the RGB color space conversion, then judges the colour cast factor of video image at the Lab color space.
If at video image color cast detection unit inspection to the colour cast factor of current video image greater than setting threshold, then report to the police, current video image is uploaded alarm unit, the alarm unit here can simply be regarded a display commonly used as, when the colour cast warning occurs, show the printed words of " colour cast occurs reports to the police " at display.
The invention provides the video image color cast detection method in a kind of video quality diagnosis system, the method specifically comprises the steps: shown in Fig. 2
1.RGB color space is to the Lab color space conversion
The DID that gets access to is the RGB three primary colors, compares with the RGB color space, and the design of Lab color space is more near human eye vision, so be the Lab color space with video image by the RGB color space conversion at first.L component in the Lab color space is used for the brightness of expression pixel, and span is [0,100], and expression is from black to pure white; A represents the scope from the redness to the green, and span is [128,127]; B represents the scope from the yellow to the blueness, and span is [128,127].
With The abscissa position of certain point in the expression coloured image,
Figure 15635DEST_PATH_IMAGE002
The ordinate position of certain point in the expression coloured image,
Figure 197217DEST_PATH_IMAGE003
The expression pixel
Figure 839420DEST_PATH_IMAGE004
The red R component value of the RGB color space at place,
Figure 473664DEST_PATH_IMAGE005
The expression pixel
Figure 977458DEST_PATH_IMAGE004
The green G component value of the RGB color space at place,
Figure 279126DEST_PATH_IMAGE006
The expression pixel
Figure 905279DEST_PATH_IMAGE004
The blue B component value of the RGB color space at place,
Figure 715235DEST_PATH_IMAGE007
The expression pixel The L component value of the Lab color space at place,
Figure 241211DEST_PATH_IMAGE008
The expression pixel
Figure 975949DEST_PATH_IMAGE004
The a component value of the Lab color space at place, The expression pixel
Figure 679648DEST_PATH_IMAGE004
The b component value of the Lab color space at place,
Figure 690330DEST_PATH_IMAGE004
Each pixel of traversal coloured image.
The RGB color space to the method for Lab color space conversion shown in formula (1):
Figure 658286DEST_PATH_IMAGE055
(1-a),
(1-b),
Figure 403705DEST_PATH_IMAGE057
(1-c),
Wherein,
Figure 268893DEST_PATH_IMAGE013
Be the width of coloured image,
Figure 93236DEST_PATH_IMAGE014
Height for coloured image.
Because the colour gamut of Lab color space is very large, is unfavorable for the calculating of computer, therefore this Lab color space is done the conversion such as formula (2), make it be beneficial to processing.
Figure 676664DEST_PATH_IMAGE058
(2-a),
Figure 316593DEST_PATH_IMAGE059
(2-b,
Figure 36287DEST_PATH_IMAGE060
(2-c),
Wherein,
Figure 346046DEST_PATH_IMAGE013
Be the width of coloured image,
Figure 354453DEST_PATH_IMAGE014
Height for coloured image.
After conversion,
Figure 407860DEST_PATH_IMAGE015
,
Figure 936055DEST_PATH_IMAGE016
,
Figure 416715DEST_PATH_IMAGE017
2.Lab color space calculates color histogram:
After color space is converted to the Lab space by rgb space, will add up the colouring information of image in the Lab space.The statistical information of color of image obtains by a of image in the Lab color space, the histogram information of b component.With
Figure 974735DEST_PATH_IMAGE018
Expression Lab color space a divide the value of the statistics with histogram when measuring r, uses
Figure 503937DEST_PATH_IMAGE019
Expression Lab color space b divide the value of the statistics with histogram when measuring r, uses Expression Lab color space a divides and measures r, and b divides the two-dimensional histogram when measuring q, and wherein, r is variable, all integer values between the traversal 0 to 255, q is variable, all integer values between the traversal 0 to 255, about be the closed interval.
The color histogram of a component
Figure 115364DEST_PATH_IMAGE018
Computational methods as follows:
Figure 82052DEST_PATH_IMAGE021
,
Figure 477261DEST_PATH_IMAGE022
(3)
Wherein,
Figure 229316DEST_PATH_IMAGE023
, i pixel of expression Lab color space level, vertical j a of pixel place component
Figure 51779DEST_PATH_IMAGE008
Whether equal r.
The color histogram of b component
Figure 318812DEST_PATH_IMAGE019
Computational methods as follows:
Figure 203198DEST_PATH_IMAGE024
,
Figure 872077DEST_PATH_IMAGE022
(4)
Wherein,
Figure 865440DEST_PATH_IMAGE025
, i pixel of expression Lab color space level, vertical j the b of pixel place component
Figure 557453DEST_PATH_IMAGE026
Whether equal r.
A, the two-dimensional histogram of b component
Figure 294465DEST_PATH_IMAGE020
Computational methods as follows:
Figure 817850DEST_PATH_IMAGE027
,
Figure 676271DEST_PATH_IMAGE062
(5)
Wherein,
Figure 889077DEST_PATH_IMAGE030
, i pixel of expression Lab color space level, vertical j a of pixel place component
Figure 532548DEST_PATH_IMAGE008
Whether equal r and b component Whether equal q,
Figure 285052DEST_PATH_IMAGE063
For with 256 divided by the computing that rounds up behind the T, expression can be got the arbitrary integer between 2 to 256 with being divided into the T five equilibrium between 256 gray areas, in embodiments of the present invention, with
Figure 363866DEST_PATH_IMAGE064
For example describes, two-dimensional histogram then Computational methods as follows:
Figure 571174DEST_PATH_IMAGE065
,
Figure 521812DEST_PATH_IMAGE066
Figure 591268DEST_PATH_IMAGE067
(6)
3. calculate the colour cast factor
After the one dimension of a in calculating the Lab color space, b component, the two-dimensional histogram information, just can be according to one dimension histogram and two-dimensional histogram information, the Absolute Central Moment that difference computed image one peacekeeping two-dimensional color distributes, the mean value of combining image colouring information just can calculate the colour cast factor.The colour cast factor is used for the colour cast degree whether Description Image exists colour cast phenomenon and image, and computational process is as follows:
4. the mean value of computed image colouring information
In the Lab color space, the mean value calculation method of image a, b component color information is as follows:
Figure 943752DEST_PATH_IMAGE032
(7)
Figure 886300DEST_PATH_IMAGE033
(8)
Figure 261918DEST_PATH_IMAGE034
(9)
Wherein,
Figure 682535DEST_PATH_IMAGE035
In the Lab color space aThe mean value of component,
Figure 155105DEST_PATH_IMAGE036
Be the mean value of b component in the Lab color space, DBe image in the Lab color space a, bThe mean value of component.
5. the Absolute Central Moment of computed image one dimension distribution of color
The computational methods of the Absolute Central Moment M of image one dimension distribution of color are as follows:
Figure 954040DEST_PATH_IMAGE037
(10)
Wherein,
Figure 879271DEST_PATH_IMAGE038
Be coloured image a component one dimension distribution of color absolute center distance in the Lab color space, ,
Figure 102759DEST_PATH_IMAGE040
Be coloured image b component one dimension distribution of color absolute center distance in the Lab color space,
Figure 387109DEST_PATH_IMAGE041
, For coloured image divides the probability that measures r at Lab color space a,
Figure 14586DEST_PATH_IMAGE043
For coloured image divides the probability that measures r at Lab color space b, computational methods are as follows:
Figure 196168DEST_PATH_IMAGE044
,
Figure 323524DEST_PATH_IMAGE022
(11)
Figure 223347DEST_PATH_IMAGE045
,
Figure 789458DEST_PATH_IMAGE022
(12)
Wherein, t is variable, traversal all integer values between 0 to 255, about be the closed interval,
Figure 779542DEST_PATH_IMAGE046
Expression expression Lab color space a divide the value of the statistics with histogram when measuring t, in computational methods and the formula (3) Computational methods identical, use
Figure 464918DEST_PATH_IMAGE048
Expression Lab color space b divide the value of the statistics with histogram when measuring t, in computational methods and the formula (4)
Figure 834719DEST_PATH_IMAGE019
Computational methods identical.
6. the Absolute Central Moment that distributes of computed image two-dimensional color
The Absolute Central Moment that the image two-dimensional color distributes EdComputational methods are as follows:
Figure 725315DEST_PATH_IMAGE049
(13)
Wherein,
Figure 709320DEST_PATH_IMAGE050
,
Figure 318156DEST_PATH_IMAGE051
, T represents can get the arbitrary integer between 2 to 256 with being divided into the T five equilibrium between 256 gray areas, identical in concrete value and the formula (5), in embodiments of the present invention, with
Figure 491649DEST_PATH_IMAGE064
For example describes, the Absolute Central Moment that distributes of image two-dimensional color then EdComputational methods as follows:
(14)
Wherein,
Figure 407969DEST_PATH_IMAGE069
,
Figure 213024DEST_PATH_IMAGE070
7. calculate the colour cast factor
After the Absolute Central Moment of the mean value that calculates color of image information and the distribution of image one peacekeeping two-dimensional color, the computing formula that can obtain the colour cast factor is as follows:
Figure 924628DEST_PATH_IMAGE052
(15)
Wherein, K is the colour cast factor of coloured image, when
Figure 789816DEST_PATH_IMAGE053
The time, think that there is colour cast in image; When
Figure 866357DEST_PATH_IMAGE054
The time, think that there is not colour cast in image, the K value is larger, and the colour cast phenomenon is more serious.In embodiments of the present invention,
Figure 449785DEST_PATH_IMAGE071
, during colour cast,
Figure 886451DEST_PATH_IMAGE072
Be worth greatlyr, the colour cast phenomenon is more serious.

Claims (1)

1. video quality diagnosis system detects the method for video image colour cast, it is characterized in that system comprises:
The video image acquisition unit: obtain analog video image with the simulation camera from monitoring scene, analog video image is converted to DID by video frequency collection card,
Video image color cast detection unit: be the Lab color space with DID by the RGB color space conversion, calculate the colour cast factor of video image at the Lab color space, detect the colour cast factor greater than setting threshold, current video image is passed alarm unit,
Alarm unit: send alarm signal,
Detection method comprises the steps:
(1) the RGB color space is to the Lab color space conversion:
L component in the Lab color space is used for the brightness of expression pixel, and expression is from black to pure white, and a represents the scope from the redness to the green, and b represents the scope from the yellow to the blueness,
With
Figure 298318DEST_PATH_IMAGE001
The abscissa position of certain point in the expression coloured image,
Figure 813613DEST_PATH_IMAGE002
The ordinate position of certain point in the expression coloured image,
Figure 736570DEST_PATH_IMAGE003
The expression pixel Redness (R) component value of the RGB color space at place,
Figure 851474DEST_PATH_IMAGE005
The expression pixel
Figure 842563DEST_PATH_IMAGE004
Green (G) component value of the RGB color space at place,
Figure 682343DEST_PATH_IMAGE006
The expression pixel Blueness (B) component value of the RGB color space at place,
Figure 157242DEST_PATH_IMAGE007
The expression pixel
Figure 748760DEST_PATH_IMAGE004
The L component value of the Lab color space at place,
Figure 708626DEST_PATH_IMAGE008
The expression pixel
Figure 297870DEST_PATH_IMAGE004
The a component value of the Lab color space at place,
Figure 77607DEST_PATH_IMAGE009
The expression pixel
Figure 472817DEST_PATH_IMAGE004
The b component value of the Lab color space at place,
Figure 224872DEST_PATH_IMAGE004
Each pixel of traversal coloured image,
The RGB color space is as follows to the method for Lab color space conversion:
Figure 47335DEST_PATH_IMAGE010
Figure 252051DEST_PATH_IMAGE011
Figure 450951DEST_PATH_IMAGE012
Wherein,
Figure 119830DEST_PATH_IMAGE013
Be the width of coloured image,
Figure 549412DEST_PATH_IMAGE014
Be the height of coloured image, ,
Figure 306332DEST_PATH_IMAGE016
,
Figure 767401DEST_PATH_IMAGE017
,
(2) the Lab color space calculates color histogram:
In the Lab space colouring information of image is added up, the statistical information of color of image obtains by a of image in the Lab color space, the histogram information of b component, uses
Figure 931666DEST_PATH_IMAGE018
Expression Lab color space a divide the value of the statistics with histogram when measuring r, uses
Figure 173291DEST_PATH_IMAGE019
Expression Lab color space b divide the value of the statistics with histogram when measuring r, uses
Figure 651677DEST_PATH_IMAGE020
Expression Lab color space a divides and measures r, and b divides the two-dimensional histogram when measuring q, and wherein, r is variable, all integer values between the traversal 0 to 255, q is variable, all integer values between the traversal 0 to 255, about be the closed interval,
The color histogram of a component
Figure 29569DEST_PATH_IMAGE018
Computational methods as follows:
Figure 630314DEST_PATH_IMAGE021
,
Figure 31340DEST_PATH_IMAGE022
,
Wherein,
Figure 375734DEST_PATH_IMAGE023
, i pixel of expression Lab color space level, vertical j a of pixel place component
Figure 608132DEST_PATH_IMAGE008
Whether equal r,
The color histogram of b component
Figure 815997DEST_PATH_IMAGE019
Computational methods as follows:
,
Figure 649141DEST_PATH_IMAGE022
Wherein,
Figure 939308DEST_PATH_IMAGE025
, i pixel of expression Lab color space level, vertical j the b of pixel place component
Figure 881856DEST_PATH_IMAGE026
Whether equal r,
A, the two-dimensional histogram of b component
Figure 319791DEST_PATH_IMAGE020
Computational methods as follows:
,
Figure 150660DEST_PATH_IMAGE028
Figure 264110DEST_PATH_IMAGE029
Wherein, , i pixel of expression Lab color space level, vertical j a of pixel place component
Figure 351332DEST_PATH_IMAGE008
Whether equal r and b component
Figure 114626DEST_PATH_IMAGE026
Whether equal q,
Figure 133398DEST_PATH_IMAGE031
Be with 256 computings that round up divided by T, expression will be divided into the T five equilibrium between 256 gray areas, and T can get the arbitrary integer between 2 to 256,
(3) calculate the colour cast factor:
After the one dimension of a in calculating the Lab color space, b component, the two-dimensional histogram information, just can be according to one dimension histogram and two-dimensional histogram information, the Absolute Central Moment that difference computed image one peacekeeping two-dimensional color distributes, the mean value of combining image colouring information just can calculate the colour cast factor, the colour cast factor is used for the colour cast degree whether Description Image exists colour cast phenomenon and image, and computational process is as follows:
1) mean value of computed image colouring information,
In the Lab color space, the mean value calculation method of image a, b component color information is as follows:
Figure 511606DEST_PATH_IMAGE033
Wherein,
Figure 148441DEST_PATH_IMAGE035
In the Lab color space aThe mean value of component,
Figure 720368DEST_PATH_IMAGE036
Be the mean value of b component in the Lab color space, DBe image in the Lab color space a, bThe mean value of component,
2) Absolute Central Moment of computed image one dimension distribution of color,
The computational methods of the Absolute Central Moment M of image one dimension distribution of color are as follows:
Figure 286479DEST_PATH_IMAGE037
Wherein, Be the one dimension distribution of color absolute center distance of coloured image at Lab color space a component,
Figure 151983DEST_PATH_IMAGE039
, Be the one dimension distribution of color absolute center distance of coloured image at Lab color space image b component,
Figure 643325DEST_PATH_IMAGE041
,
Figure 235718DEST_PATH_IMAGE042
For coloured image divides the probability that measures r at Lab color space a,
Figure 32772DEST_PATH_IMAGE043
For coloured image divides the probability that measures r at Lab color space b, r is variable, all values between the traversal 0 to 255, and computational methods are as follows:
Figure 579291DEST_PATH_IMAGE044
,
Figure 487205DEST_PATH_IMAGE022
Figure 497886DEST_PATH_IMAGE045
,
Figure 403525DEST_PATH_IMAGE022
Wherein, t is variable, traversal all integer values between 0 to 255, about be the closed interval,
Figure 499657DEST_PATH_IMAGE046
Expression Lab color space a divide the value of the statistics with histogram when measuring t, computational methods with
Figure 211261DEST_PATH_IMAGE047
Identical, use
Figure 14132DEST_PATH_IMAGE048
Expression Lab color space b divide the value of the statistics with histogram when measuring t, computational methods with
Figure 152989DEST_PATH_IMAGE019
It is identical,
3) Absolute Central Moment of image two-dimensional color distribution:
The Absolute Central Moment that the image two-dimensional color distributes EdComputational methods are as follows:
Wherein, ,
Figure 431062DEST_PATH_IMAGE051
, T represents can get the arbitrary integer between 2 to 256 with being divided into the T five equilibrium between 256 gray areas, and concrete value is consistent with the value of front T,
4) calculate the colour cast factor:
After the Absolute Central Moment of the mean value that calculates color of image information and the distribution of image one peacekeeping two-dimensional color, the computing formula that can obtain the colour cast factor is as follows:
Figure 740821DEST_PATH_IMAGE052
Wherein, K is the colour cast factor of coloured image, when
Figure 811545DEST_PATH_IMAGE053
The time, think that there is colour cast in image; When
Figure 802635DEST_PATH_IMAGE054
The time, think that there is not colour cast in image, the K value is larger, and the colour cast phenomenon is more serious.
CN201210532307.7A 2012-12-12 2012-12-12 Video image color cast detecting method of video quality diagnostic system Expired - Fee Related CN103067734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210532307.7A CN103067734B (en) 2012-12-12 2012-12-12 Video image color cast detecting method of video quality diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210532307.7A CN103067734B (en) 2012-12-12 2012-12-12 Video image color cast detecting method of video quality diagnostic system

Publications (2)

Publication Number Publication Date
CN103067734A true CN103067734A (en) 2013-04-24
CN103067734B CN103067734B (en) 2014-10-08

Family

ID=48110169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210532307.7A Expired - Fee Related CN103067734B (en) 2012-12-12 2012-12-12 Video image color cast detecting method of video quality diagnostic system

Country Status (1)

Country Link
CN (1) CN103067734B (en)

Cited By (14)

* 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
CN103402117A (en) * 2013-08-06 2013-11-20 夏东 Method for detecting color cast of video image based on Lab chrominance space
CN104168478A (en) * 2014-07-29 2014-11-26 银江股份有限公司 Video image off-color detection method based on Lab space and correlation function
CN104243972A (en) * 2014-08-20 2014-12-24 徐丽雅 Device and method for wireless intelligent early warning of camera
CN104702945A (en) * 2015-03-25 2015-06-10 信利光电股份有限公司 Color cast color tape detection method
CN104766276A (en) * 2014-01-07 2015-07-08 厦门美图网科技有限公司 Off-color correction method based on color space
CN104766348A (en) * 2014-01-07 2015-07-08 厦门美图网科技有限公司 Off-color detection method based on color space
CN105761282A (en) * 2014-12-15 2016-07-13 北京文安科技发展有限公司 Detection method and device of image color cast
CN105809648A (en) * 2016-03-25 2016-07-27 上海博康智能信息技术有限公司 Color deviation judgment and normalization method based on Lab color space
CN106572343A (en) * 2015-10-13 2017-04-19 中兴通讯股份有限公司 Color cast preventing method and terminal
CN106791753A (en) * 2016-11-28 2017-05-31 北京空间机电研究所 A kind of ground integrated area array cameras color correcting method of star
CN106993185A (en) * 2015-12-10 2017-07-28 青岛海信网络科技股份有限公司 A kind of video quality diagnosing method and system
CN107644437A (en) * 2016-07-21 2018-01-30 宁波舜宇光电信息有限公司 Color cast detection system and method based on piecemeal
CN109102473A (en) * 2018-07-23 2018-12-28 浙江智彩科技有限公司 A method of improving color digital image quality

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202085261U (en) * 2010-12-14 2011-12-21 广东鑫程电子科技有限公司 Intelligent video diagnosing and monitoring system
CN102421008A (en) * 2011-12-07 2012-04-18 浙江捷尚视觉科技有限公司 Intelligent video quality detecting system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202085261U (en) * 2010-12-14 2011-12-21 广东鑫程电子科技有限公司 Intelligent video diagnosing and monitoring system
CN102421008A (en) * 2011-12-07 2012-04-18 浙江捷尚视觉科技有限公司 Intelligent video quality detecting system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐晓昭等: "基于图像分析的偏色检测及颜色校正方法", 《测控技术》 *
郑建铧等: "利用色彩直方图特征进行偏色图象的自动检测和校正", 《中国图象图形学报》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020996B (en) * 2012-12-28 2016-01-20 昆山市工业技术研究院有限责任公司 Based on the detection method of the image color cast of Lab space
CN103020996A (en) * 2012-12-28 2013-04-03 昆山市工业技术研究院有限责任公司 Lab-space-based detection method based on image color cast
CN103402117A (en) * 2013-08-06 2013-11-20 夏东 Method for detecting color cast of video image based on Lab chrominance space
CN104766348B (en) * 2014-01-07 2018-08-10 厦门美图网科技有限公司 A kind of color cast detection method based on color space
CN104766276B (en) * 2014-01-07 2017-12-19 厦门美图网科技有限公司 A kind of color cast correction based on color space
CN104766276A (en) * 2014-01-07 2015-07-08 厦门美图网科技有限公司 Off-color correction method based on color space
CN104766348A (en) * 2014-01-07 2015-07-08 厦门美图网科技有限公司 Off-color detection method based on color space
CN104168478B (en) * 2014-07-29 2016-06-01 银江股份有限公司 Based on the video image color cast detection method of Lab space and relevance function
CN104168478A (en) * 2014-07-29 2014-11-26 银江股份有限公司 Video image off-color detection method based on Lab space and correlation function
CN104243972A (en) * 2014-08-20 2014-12-24 徐丽雅 Device and method for wireless intelligent early warning of camera
CN104243972B (en) * 2014-08-20 2017-08-08 徐丽雅 Camera intelligent wireless prior-warning device and method
CN105761282A (en) * 2014-12-15 2016-07-13 北京文安科技发展有限公司 Detection method and device of image color cast
CN105761282B (en) * 2014-12-15 2019-05-14 北京文安科技发展有限公司 The detection method and device of image color cast
CN104702945B (en) * 2015-03-25 2017-02-01 信利光电股份有限公司 Color cast color tape detection method
CN104702945A (en) * 2015-03-25 2015-06-10 信利光电股份有限公司 Color cast color tape detection method
CN106572343A (en) * 2015-10-13 2017-04-19 中兴通讯股份有限公司 Color cast preventing method and terminal
CN106993185A (en) * 2015-12-10 2017-07-28 青岛海信网络科技股份有限公司 A kind of video quality diagnosing method and system
CN105809648B (en) * 2016-03-25 2019-02-12 上海博康智能信息技术有限公司 A kind of colour cast judgement and method for normalizing based on Lab color space
CN105809648A (en) * 2016-03-25 2016-07-27 上海博康智能信息技术有限公司 Color deviation judgment and normalization method based on Lab color space
CN107644437A (en) * 2016-07-21 2018-01-30 宁波舜宇光电信息有限公司 Color cast detection system and method based on piecemeal
CN107644437B (en) * 2016-07-21 2021-01-26 宁波舜宇光电信息有限公司 Color cast detection system and method based on blocks
CN106791753A (en) * 2016-11-28 2017-05-31 北京空间机电研究所 A kind of ground integrated area array cameras color correcting method of star
CN106791753B (en) * 2016-11-28 2019-03-26 北京空间机电研究所 A kind of integrated area array cameras color correcting method in star ground
CN109102473A (en) * 2018-07-23 2018-12-28 浙江智彩科技有限公司 A method of improving color digital image quality
CN109102473B (en) * 2018-07-23 2022-01-18 浙江智彩科技有限公司 Method for improving color digital image quality

Also Published As

Publication number Publication date
CN103067734B (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN103067734A (en) Video image color cast detecting method of video quality diagnostic system
EP3534326A1 (en) Method and apparatus for merging infrared image and visible light image
CN103402117B (en) Based on the video image color cast detection method of Lab chrominance space
CN104168478B (en) Based on the video image color cast detection method of Lab space and relevance function
CN103020996B (en) Based on the detection method of the image color cast of Lab space
CN111965626B (en) Echo detection and correction method and device for laser radar and environment sensing system
CN106228579B (en) A kind of video image dynamic water table information extracting method based on geographical space-time scene
CN105933617A (en) High dynamic range image fusion method used for overcoming influence of dynamic problem
US9872004B2 (en) On-vehicle image capture device
CN103389042A (en) Ground automatic detecting and scene height calculating method based on depth image
CN110428762B (en) OLED panel aging test luminescence characteristic detection method based on pixel brightness
CN103281513B (en) Pedestrian recognition method in the supervisory control system of a kind of zero lap territory
CN102750713B (en) Image color shift detection method
CN103500457B (en) A kind of method of video image color cast detection
CN109596054A (en) The size detection recognition methods of strip workpiece
CN107360418A (en) A kind of panorama camera colour consistency evaluation system and method
CN102565044A (en) Method for detecting pesticide residue by adopting rapid-determination card on basis of image processing
CN111444837A (en) Temperature measurement method and temperature measurement system for improving face detection availability in extreme environment
CN116188316A (en) Water area defogging method based on fog concentration sensing
CN110120073B (en) Method for guiding recovery of unmanned ship based on lamp beacon visual signal
CN103971479A (en) Forest fire positioning method based on camera calibration technology
CN115065814A (en) Screen color accuracy detection method and device
CN108288344A (en) A kind of efficient forest fire early-warning system
EP2672718A1 (en) Color calibration of an image capture device in a way that is adaptive to the scene to be captured
Prasser et al. Probabilistic visual recognition of artificial landmarks for simultaneous localization and mapping

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: CHENGDU SANTAI HOLDINGS GROUP CO., LTD.

Free format text: FORMER NAME: CHENGDU SANTAI ELECTRONIC INDUSTRY CO., LTD.

CP03 Change of name, title or address

Address after: 610041 No. 42 Shu West Road, Jinniu District hi tech Industrial Park, Sichuan, Chengdu

Patentee after: CHENGDU SANTAI HOLDING GROUP CO.,LTD.

Address before: 610091 No. 42 Shu West Road, Chengdu, Sichuan, Jinniu District

Patentee before: CHENGDU SANTAI ELECTRONIC INDUSTRY Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Video image color cast detecting method of video quality diagnostic system

Effective date of registration: 20160317

Granted publication date: 20141008

Pledgee: The Agricultural Bank of Chengdu branch of Limited by Share Ltd. China Chengdu

Pledgor: CHENGDU SANTAI HOLDING GROUP CO.,LTD.

Registration number: 2016510000008

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20210129

Granted publication date: 20141008

Pledgee: The Agricultural Bank of Chengdu branch of Limited by Share Ltd. China Chengdu

Pledgor: CHENGDU SANTAI HOLDING GROUP Co.,Ltd.

Registration number: 2016510000008

PC01 Cancellation of the registration of the contract for pledge of patent right
TR01 Transfer of patent right

Effective date of registration: 20210301

Address after: No. 1305, unit 1, building 1, No. 1700, North Tianfu Avenue, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610093

Patentee after: CHENGDU SANTAI INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: No.42 Shuxi Road, high tech Industrial Park, Jinniu District, Chengdu, Sichuan 610041

Patentee before: CHENGDU SANTAI HOLDING GROUP Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141008

CF01 Termination of patent right due to non-payment of annual fee