CN102572448A - Device and method for shooting color image based on red, white and blue (RWB) three-color light - Google Patents

Device and method for shooting color image based on red, white and blue (RWB) three-color light Download PDF

Info

Publication number
CN102572448A
CN102572448A CN2012100469227A CN201210046922A CN102572448A CN 102572448 A CN102572448 A CN 102572448A CN 2012100469227 A CN2012100469227 A CN 2012100469227A CN 201210046922 A CN201210046922 A CN 201210046922A CN 102572448 A CN102572448 A CN 102572448A
Authority
CN
China
Prior art keywords
image
color
rwb
channel value
composograph
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
CN2012100469227A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2012100469227A priority Critical patent/CN102572448A/en
Publication of CN102572448A publication Critical patent/CN102572448A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Television Image Signal Generators (AREA)

Abstract

The invention discloses a device and a method for shooting a color image based on red, white and blue (RWB) three-color light. The method comprises the following steps of: shooting the same position of the same object under RB two-color light and W light by using the same color camera to obtain a first image and a second image respectively; and synthesizing the first and second images by using point-by-point computation to obtain a synthetic image. According to the device and the method, the same zone position is shot twice according to the principle of interference of the RWB three-color light, the shot images are synthesized into a target color image, the interference of red, green and blue (RGB) light in the synthetic image is low, and the synthetic image is remarkably layered, so that the quality of the image is optimized.

Description

Device and method based on RWB three coloured light color image shots
Technical field
The present invention relates to image processing techniques, especially relate to a kind of for reducing the device and method of the color image shot of interfering each other between each coloured light of RGB.
Background technology
RGB is the color mode of coloured light, and R represents red, and G represents green, and B represents blue.Because each all has 256 luminance level levels three kinds of colors, so three kinds of colors stacks just can form 1,670 ten thousand kinds of colors (being commonly called as " very coloured silk ").
The RGB pattern is because be to form other colors by the stack of red, green, blue three form and aspect, so this pattern also is the additive color pattern.Under this color mode, each primary colors will form a color channel (Channel) separately, and the brightness of color is respectively 256 rank on each passage, by 0-255.Again by three monochromatic channel group synthetic a composite channel, i.e. RGB passage.Therefore, the color of image each several part determines by the numerical value on three color channels of RGB.
In the process of photographic images; Find following phenomenon: under the green primary light source in the color image shot process; Image is except that green channel, and the value of red channel and blue passage is 0 in theory, and in fact in the image red channel and blue channel all possess certain brightness; Under the blue primary light source, take in the color image process, image is except that blue channel, and red channel is 0 with the value of the passage of green in theory, and the value of red channel very little (being almost 0) in fact, green channel possesses certain brightness; Under the red primary light source, take in the color image process, image is except that red channel, and green channel is 0 with the value of the passage of blueness in theory, and the value of blue channel very little (being almost 0) in fact, green channel possesses certain brightness.
Can reach a conclusion thus: in the coloured image shooting process; Exist the phenomenon of mutual interference (colour contamination) between redness and the green; Exist mutual interference (colour contamination) phenomenon between green and the blueness; Interfere (colour contamination) phenomenon but very little between redness and the blueness each other, Here it is the mutual principle of interference of RGB three primary colors.
Owing to exist three primary colors to interfere each other, the image level sense that causes taking is relatively poor, influence display effect; Even in the commercial Application process, owing to three primary colors are interfered each other and made image can't reflect the true colors of article or scene really.
Summary of the invention
The present invention proposes image processing apparatus and the corresponding processing method that the mutual principle of interference of a kind of RWB of utilization three primary colors is realized, has the technical problem that the image level sense is relatively poor, can't accurately reflect the defectives such as true colors of article or scene to solve present image because of the mutual interference of three primary colors phase.
The present invention adopts following technical scheme to realize: a kind of method based on RWB three coloured light color image shots, and it comprises step:
Under RB dichroscope and W coloured light, the same position of same object is taken respectively, obtain first image and second image respectively by same color camera;
Calculate through pointwise, with first image and the synthetic composograph that is treated to of second image.
Wherein, the said synthetic step that is treated to composograph specifically comprises:
With the red color channel value rr and the blue channel value bb of each pixel in first image, calculate the red color channel value R0 and the blue channel value B0 of each pixel in the composograph respectively according to linear programming R0=m * rr+n and B0=m * bb+n;
With the green channel value gg of each pixel in second image, calculate the green channel value G0 of each pixel in the composograph according to linear programming G 0=m * gg+n;
Wherein, m, n are the parameters of linear programming.
Wherein, m is 0.9 ~ 1.1.In a preferred embodiment, m=1, n=0.
In addition, the present invention also discloses a kind of device based on RWB three coloured light color image shots, and it comprises: color camera, RWB three-color light source and be used to control the light-source control system of RWB three-color light source, and the synthetic processing unit that is connected with color camera;
By color camera the same position of same object is taken under RB dichroscope and W coloured light respectively, obtain first image and second image respectively;
By synthetic processing unit with the synthetic composograph that is treated to of first image and second image.
Compared with prior art, the present invention has following beneficial effect:
The present invention is according to the mutual principle of interference of RGB three coloured light; Secondary is taken the same area position respectively under RB dichroscope and W coloured light; The synthetic width of cloth object color component image of the image that utilizes secondary to take; Interference is little each other between each coloured light of RGB in the final composograph, and the image level sense is obvious, thereby has optimized picture quality.And the coloured image of under white (W) coloured light, taking has preferable application aspect the vision-based detection of engineering reality.
Description of drawings
Fig. 1 is the sketch map of filming apparatus;
Fig. 2 is a schematic flow sheet of the present invention.
Embodiment
As shown in Figure 1; The filming apparatus that the present invention is practical; Comprise that (the RWB three-color light source is the light source with redness (R), white (W) and blue (B) three coloured light composition, has no special requirements, for example for a color camera (being generally industrial camera), RWB three-color light source; The annular light source arranged of R, W, B respectively from top to bottom, also can be from outward in be respectively the flat-plate light source of B, W, R arrangement), a light-source control system that is used to control the RWB three-color light source.
The object that is taken is placed on the shooting platform, sends background light at light-source control system control RWB three-color light source, by color camera to the subject photographic images.
In conjunction with shown in Figure 2, the present invention comprises following performing step in order to obtain stereovision more significantly image, optimize image quality:
Step S11, obtain under RB two primary colours light first image of taking.
Because there is mutual interference hardly in red and blueness; The RB dichroscope is opened (this moment, W coloured light was closed) simultaneously in the light-source control system control RWB three-color light source; Under the RB dichroscope,, exist the mutual interference of red channel and blue channel in the image pixel hardly by the color camera photographic images.
Therefore, under the control of light-source control system, make the RWB three-color light source send RB dichroscope (send red lamp and open entirely, close), subject is taken first image by color camera and send white lamp with blueness.
Step S12, obtain at second image of taking under the W coloured light (being the coloured image under the white light), wherein second image and first image are by the same color camera image captured to the same position of same object.
Under the control of light-source control system, make the RWB three-color light source only send W coloured light (send the lamp contract fully of red light and blue light, and the lamp that sends white light being opened), by color camera at same second image to the subject and first image.
Second image mass-tone visually of under white lamps, taking separately is adjusted to green, and in engineering reality, second image possesses very big application on vision-based detection, for example the application of plane color detection.
Step S13, with the synthetic width of cloth composograph that is treated to of first image and second image.
Wherein composition rule is following:
Y?=?m?*?X?+?n
Wherein m, n are the parameters of linear programming, and m, m be empirical value, and the value of m is 0.9 ~ 1.1, and the m value that different color cameras is corresponding different, m value directly influence the quality that image synthesizes.
Wherein Y representes the channel brightness value of the pixel access in the composograph, and X representes the channel brightness value of photographic images passage brightness.
The channel value B0 of the channel value R0 of the redness of each pixel (R) and blueness (B) is respectively the channel value rr of the redness (R) of corresponding each pixel in first image and the channel value bb of blueness (B) in the composograph; And the channel value G0 of the green of each pixel (G) is the channel value gg of the green (G) of corresponding each pixel in second image in the composograph; Therefore, then above-mentioned linear programming is following:
R0=m * rr+n; Wherein, the scope of R0 (0,255)
G0=m * gg+n; Wherein, the scope of G0 (0,255)
B0=m * bb+n; Wherein, the scope of B0 (0,255)
In a preferred embodiment, m=1, n=0.Convert above-mentioned 3 sub-conversion formulas into through linear programming, individual element point calculates, and through point-to-point image transitions, accomplishes the synthetic conversion of image, obtains composograph at last.
Above-mentioned rule just is meant that the red channel in the composograph is the linear programming variation of red channel in first image; Blue channel in the composograph is that the linear programming of the first image Smalt passage changes, and the green channel in the composograph is that the linear programming of green channel in second image changes.
In addition; Above-mentioned steps S13 can be realized that this synthetic processing unit is the software of computer programing, in the computer that it can be arranged on color camera is connected by synthetic processing unit; Also can be built in the color camera; Behind execution in step S11 and step S12, call synthetic processing unit completing steps S13 by color camera automatically, obtain interfering each other between each coloured light of RGB little, the tangible composograph of image level sense at last.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.  

Claims (8)

1. the method based on RWB three coloured light color image shots is characterized in that, comprises step:
Under RB dichroscope and W coloured light, the same position of same object is taken respectively, obtain first image and second image respectively by same color camera;
Calculate through pointwise, with first image and the synthetic composograph that is treated to of second image.
2. according to the said method of claim 1, it is characterized in that the said synthetic step that is treated to composograph specifically comprises based on RWB three coloured light color image shots:
With the red color channel value rr and the blue channel value bb of each pixel in first image, calculate the red color channel value R0 and the blue channel value B0 of each pixel in the composograph respectively according to linear programming R0=m * rr+n and B0=m * bb+n;
With the green channel value gg of each pixel in second image, calculate the green channel value G0 of each pixel in the composograph according to linear programming G 0=m * gg+n;
Wherein, m, n are the parameters of linear programming.
3. according to the said method of claim 2, it is characterized in that m is 0.9 ~ 1.1 based on RWB three coloured light color image shots.
4. according to the said method of claim 3, it is characterized in that m=1, n=0 based on RWB three coloured light color image shots.
5. device based on RWB three coloured light color image shots, it comprises: color camera, RWB three-color light source and be used to control the light-source control system of RWB three-color light source, it is characterized in that, also comprise the synthetic processing unit that is connected with color camera;
By color camera the same position of same object is taken under RB dichroscope and W coloured light respectively, obtain first image and second image respectively;
Calculate through pointwise by synthetic processing unit, with first image and the synthetic composograph that is treated to of second image.
6. according to the said device of claim 5, it is characterized in that said synthetic processing unit is treated to composograph and specifically comprises first image and second image are synthetic based on RWB three coloured light color image shots:
With the red color channel value rr and the blue channel value bb of each pixel in first image, calculate the red color channel value R0 and the blue channel value B0 of each pixel in the composograph respectively according to linear programming R0=m * rr+n and B0=m * bb+n;
With the green channel value gg of each pixel in second image, calculate the green channel value G0 of each pixel in the composograph according to linear programming G 0=m * gg+n;
Wherein, m, n are the parameters of linear programming.
7. according to the said device of claim 6, it is characterized in that m is 0.9 ~ 1.1 based on RWB three coloured light color image shots.
8. according to the said device of claim 7, it is characterized in that m=1, n=0 based on RWB three coloured light color image shots.
CN2012100469227A 2012-02-28 2012-02-28 Device and method for shooting color image based on red, white and blue (RWB) three-color light Pending CN102572448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100469227A CN102572448A (en) 2012-02-28 2012-02-28 Device and method for shooting color image based on red, white and blue (RWB) three-color light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100469227A CN102572448A (en) 2012-02-28 2012-02-28 Device and method for shooting color image based on red, white and blue (RWB) three-color light

Publications (1)

Publication Number Publication Date
CN102572448A true CN102572448A (en) 2012-07-11

Family

ID=46416751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100469227A Pending CN102572448A (en) 2012-02-28 2012-02-28 Device and method for shooting color image based on red, white and blue (RWB) three-color light

Country Status (1)

Country Link
CN (1) CN102572448A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559687A (en) * 2013-10-28 2014-02-05 上海理工大学 Processing method for enabling black and white photographing system to recover color information
CN104394391A (en) * 2014-11-25 2015-03-04 广东威创视讯科技股份有限公司 Method and system for processing image data of dot matrix images acquired by camera
CN104811675A (en) * 2014-01-29 2015-07-29 精工爱普生株式会社 Electronic apparatus and control method of electronic apparatus
CN104869371A (en) * 2014-02-26 2015-08-26 精工爱普生株式会社 Electronic apparatus and control method of electronic apparatus
CN108604367A (en) * 2016-03-09 2018-09-28 华为技术有限公司 A kind of display methods and hand-hold electronic equipments

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6507667B1 (en) * 1999-11-24 2003-01-14 Umax Data Systems, Inc. Color digital imaging apparatus having a rule-based hue-shift processor
CN1747555A (en) * 2004-09-09 2006-03-15 麦克奥迪实业集团有限公司 Method for synthesizing color dynamic image from monochrome CCD/CMOS system
CN1837949A (en) * 2006-04-19 2006-09-27 王锦峰 Imaging system employing black-and-white camera to photograph colorful images
CN101078856A (en) * 2006-05-26 2007-11-28 三星电子株式会社 Image capturing device and method
CN101150735A (en) * 2006-09-19 2008-03-26 三星电子株式会社 Image photographing apparatus, method and medium
CN101150732A (en) * 2006-09-20 2008-03-26 王锦峰 Imaging method and device for color image shot by black and white camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6507667B1 (en) * 1999-11-24 2003-01-14 Umax Data Systems, Inc. Color digital imaging apparatus having a rule-based hue-shift processor
CN1747555A (en) * 2004-09-09 2006-03-15 麦克奥迪实业集团有限公司 Method for synthesizing color dynamic image from monochrome CCD/CMOS system
CN1837949A (en) * 2006-04-19 2006-09-27 王锦峰 Imaging system employing black-and-white camera to photograph colorful images
CN101078856A (en) * 2006-05-26 2007-11-28 三星电子株式会社 Image capturing device and method
CN101150735A (en) * 2006-09-19 2008-03-26 三星电子株式会社 Image photographing apparatus, method and medium
CN101150732A (en) * 2006-09-20 2008-03-26 王锦峰 Imaging method and device for color image shot by black and white camera

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘效东等: "三片式液晶投影仪的立体视觉研究", 《光学技术》, vol. 29, no. 6, 30 November 2003 (2003-11-30) *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559687A (en) * 2013-10-28 2014-02-05 上海理工大学 Processing method for enabling black and white photographing system to recover color information
CN104811675A (en) * 2014-01-29 2015-07-29 精工爱普生株式会社 Electronic apparatus and control method of electronic apparatus
CN104811675B (en) * 2014-01-29 2017-11-24 精工爱普生株式会社 The control method of electronic equipment and electronic equipment
CN104869371A (en) * 2014-02-26 2015-08-26 精工爱普生株式会社 Electronic apparatus and control method of electronic apparatus
CN104869371B (en) * 2014-02-26 2018-01-12 精工爱普生株式会社 The control method of electronic equipment and electronic equipment
CN104394391A (en) * 2014-11-25 2015-03-04 广东威创视讯科技股份有限公司 Method and system for processing image data of dot matrix images acquired by camera
CN108604367A (en) * 2016-03-09 2018-09-28 华为技术有限公司 A kind of display methods and hand-hold electronic equipments
US10950200B2 (en) 2016-03-09 2021-03-16 Huawei Technologies Co., Ltd. Display method and handheld electronic device
CN108604367B (en) * 2016-03-09 2022-02-01 华为技术有限公司 Display method and handheld electronic device

Similar Documents

Publication Publication Date Title
CN107197225B (en) Color digital camera white balance correcting based on chromatic adaptation model
CN105185314B (en) LED display uniformity compensation method
CN102026003B (en) Method for correcting colors of multi-screen splicing wall
CN102427504B (en) Image processing method, device and system based on background splicing wall
CN104464623B (en) A kind of method and device for adjusting the low GTG of light emitting diode
CN102572448A (en) Device and method for shooting color image based on red, white and blue (RWB) three-color light
KR20180107779A (en) Improved image formation
CN101600121B (en) Computing method of white balance correct value
CN105578165A (en) Method and device for processing white balance of image, and vidicon
CN102158727B (en) Method and system for detecting color reducibility of camera of mobile phone
RU2013114372A (en) AUTOMATIC PROCESSING OF WHITE BALANCE WITH FLEXIBLE SELECTION OF COLOR SPACE
CN101895770B (en) Uniformity correcting method for separating brightness and chromaticity of LED display screen
WO2018196472A1 (en) Projection method, apparatus and system, and storage medium
TW200643848A (en) Method and apparatus for four-color data conversion
CN104639923A (en) Method and device for processing image data, and terminal
CN104243793B (en) Have the camera device and method of image identification mechanism
JP2018511088A (en) Image processing method and apparatus used for LED display
CN103617779B (en) Color white balance calibration method and system
CN101556758B (en) Method for realizing displaying of high dynamic luminance range images by a plurality of projecting cameras
CN103366680A (en) Led display screen white balance correction technology
CN105100550A (en) Shadow correction method and device and imaging system
CN102426828A (en) Screen edge color adjusting method and device
CN105872500A (en) Adjusting method and device for white balance of image
CN104994371A (en) Image acquiring apparatus and image adjusting method
CN102572449A (en) Image processing device and image processing method based on three primary colors of RGB (red, green and blue)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120711