CN103884429B - Color acquisition method and device - Google Patents
Color acquisition method and device Download PDFInfo
- Publication number
- CN103884429B CN103884429B CN201410129711.9A CN201410129711A CN103884429B CN 103884429 B CN103884429 B CN 103884429B CN 201410129711 A CN201410129711 A CN 201410129711A CN 103884429 B CN103884429 B CN 103884429B
- Authority
- CN
- China
- Prior art keywords
- color component
- color
- voltage
- collection
- component
- 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.)
- Expired - Fee Related
Links
Abstract
The invention provides a kind of color acquisition method and device, said method comprising the steps of: the first color component of RGB tri-color under collection current time; Judge whether the magnitude of voltage of the first color component collected is greater than predetermined threshold value; If not, then disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.A kind of color acquisition method of the present invention and device solve that control signal ON time is short, short brought magnitude of voltage integral time problem less than normal, the restriction that uncontrolled signal duration is short, and can realize adding up to improve R, G, B collection voltage signal values the integral time in multiple moment by Systematical control, guarantee to obtain reliable and stable image data, substantially increase acquisition precision and stability.
Description
Technical field
The present invention relates to field of video applications, particularly relate to a kind of color acquisition method and a kind of color sampling device.
Background technology
Current field of video applications widely, wherein relating to the color collection of Video Applications and adjustment is a wherein gordian technique, usual system is restored image color by display device (as ray machine, projector etc.) more realistically through vision signal excitation, can intuitively obtain by human eye.Image color generally comprises brightness, tone, these three elements of saturation degree, and video equipment also needs to adjust image color to make it reach people to glance up the most comfortable state clearly.The adjustment of video equipment to image color is by adjusting its LED (LightEmittingDiode, light emitting diode) the current value size of lamp or bulb realizes, system gathers the light signal that the display devices such as ray machine are got by color sensor, carry out the adjustment of LED or lamp current to controller in this, as feedback signal transmission after being converted into electric signal, thus form a complete closed-loop color adjustment control system.
As everyone knows, any one color all can use RGB (i.e. red, green, blue) three color to form, and each R, G, B are made up of Ix, Iy, Iz tri-current component driving LED.Three color components of RGB in time not and deposit, but do not have sequencing, and R component was passed through before this, then was that G component passes through, and was finally that B component passes through, so circulated, as shown in Fig. 1 control signal waveform.
In traditional color acquisition method, as shown in Figure 2, be gathering the voltage signal VR of R sometime when gathering color signal, gather the voltage signal VG of G in next moment, the next moment gathers VB signal again.But traditional problem existing for color acquisition method is the current signal that photoelectric sensor sensor changes is very faint, and the control signal of some system (STROBE_R, STROBE_G, STROBE_B) lasting time is very short, namely to convert integral time of voltage to very short for electric current, therefore be very disadvantageous to signals collecting, discrimination is not had when small area analysis, and a little little disturbance fluctuation, the value collected will change a lot, and precision and stability is lower.
Summary of the invention
Based on this, the invention provides a kind of color acquisition method and device, acquisition precision and stability can be improved.
For achieving the above object, the present invention adopts following technical scheme:
A kind of color acquisition method, comprises the following steps:
First color component of RGB tri-color under collection current time;
Judge whether the magnitude of voltage of the first color component collected is greater than predetermined threshold value;
If not, then disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.
A kind of color sampling device, comprising:
Acquisition module, for gathering the first color component of RGB tri-color under current time;
Judge module, for judging whether the magnitude of voltage of the first collected color component is greater than predetermined threshold value;
Accumulation module, for when the judged result of described judge module is no, disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.
As can be seen from above scheme, a kind of color acquisition method of the present invention and device, after collecting the first color component, judge whether the magnitude of voltage of the first color component is greater than predetermined threshold value, if not, then disconnect the second color component of RGB tri-color and the collection of third color component, by accumulating the magnitude of voltage of first color component in multiple moment, until the magnitude of voltage of accumulation is greater than predetermined threshold value.The invention solves that control signal ON time is short, short brought magnitude of voltage integral time problem less than normal, the restriction that uncontrolled signal duration is short, and can realize adding up to improve R, G, B collection voltage signal values the integral time in multiple moment by Systematical control, guarantee to obtain reliable and stable image data, substantially increase acquisition precision and stability.
Accompanying drawing explanation
Fig. 1 is control signal waveform schematic diagram of the present invention;
Fig. 2 is the schematic diagram of point moment collection color signal in classic method;
Fig. 3 is the schematic flow sheet of a kind of color acquisition method of the present invention;
Fig. 4 is the schematic diagram that the present invention carries out color collection;
Fig. 5 is the schematic diagram that the present invention is gathered by switch control rule color;
Fig. 6 is the structural representation of a kind of color sampling device of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Shown in Figure 3, a kind of color acquisition method, comprises the following steps:
Step S101, under collection current time, the first color component of RGB tri-color, then enters step S102.
It should be noted that, the first color component in the present invention and comprise the second color component of follow-up appearance, third color component is all the words defined in the present invention, it can be any one color component in RGB tri-color.Such as, wherein in an embodiment, if what transmit under current time is R component, then this R component can be called the first color component by us, and now, the second color component is G component, and third color component is B component.Similar, if what transmit under current time being detected is B component, then the first color component now, the second color component, third color component will be respectively: B, G, R.
As a good embodiment, as shown in Figure 4, the process gathering described first color component specifically can comprise as follows:
Step S1011, gathers the illumination of the first color component by color sensor and changes into three road current signals;
Described three road current signals are changed into three road voltage signals by integrating circuit by step S1012;
Step S1013, carries out amplification process to described three road voltage signals;
Step S1014, carries out ADC collection to amplification process Hou tri-road voltage signal, and the data after being gathered by ADC (Analog-to-DigitalConverter, A/D converter) send controller (or MCU) to processes.
Step S102, judges whether the magnitude of voltage of the first color component collected is greater than predetermined threshold value; If not, then step S103 is entered.
It should be noted that, above-mentioned threshold value can be arranged based on experience value, and the fluctuation situation of the voltage signal values that can collect according to ADC to adjust in real time.
Step S103, if the judged result of step S102 is no, then disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.
As a good embodiment, show that the magnitude of voltage of the first collected color component is greater than predetermined threshold value if judge in the present invention, illustrate that the magnitude of voltage of the first color component of accumulation is enough large, then can start the collection (concrete acquisition method is identical with the collection of the first color component) of the second color component, and judge whether the magnitude of voltage of the second color component collected is greater than described predetermined threshold value; If not, then disconnect the collection of third color component and the first color component, and detecting that next second color component continues to gather described second color component when gathering moment arrival, until the magnitude of voltage of the second color component of accumulation is greater than described predetermined threshold value; If so, the collection of third color component is then started.The gatherer process of third color component is similar to the collection of the first color component, the second color component, and it will not go into details herein.
As a good embodiment, described second color component of disconnection RGB tri-color and the collection of third color component, and the process of described first color component of continuation collection specifically can comprise as follows when detecting that next first color component gathers moment arrival: disconnect the second color component of RGB tri-color and the collection of third color component by the switch controlled between reference voltage and color sensor, and when detecting that described next first color component gathers moment arrival, by closed for described switch to continue to gather described first color component.As shown in Figure 4, the present invention adds a Switch switch between reference voltage VREF and photoelectric sensor sensor, this Switch can be controlled by system controller, in time gathering VR value, unwanted VG, VB signal suppressing, namely control Switch switch disconnects, and allow signal pass through closed for Switch switch when gathering moment arrival to next VR, the magnitude of voltage nVR in multiple moment can be run up to like this, nVR value can be enough large, be beneficial to the collection of ADC device, and by repeatedly accumulating the acquisition precision and the stability that improve signal.Also similar when collection VG signal and VB signal, detailed process as shown in Figure 5.
As a good embodiment, the present invention is after the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value, step can also be comprised: filtering process is carried out to the first color component of described accumulation, to improve acquisition precision and the stability of signal further.
Corresponding with above-mentioned a kind of color acquisition method, the present invention also provides a kind of color sampling device, as shown in Figure 6, comprising:
Acquisition module 101, for gathering the first color component of RGB tri-color under current time;
Judge module 102, for judging whether the magnitude of voltage of the first collected color component is greater than predetermined threshold value;
Accumulation module 103, for when the judged result of described judge module is no, disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.
As a good embodiment, color sampling device of the present invention can also comprise: filtration module, for carrying out filtering process to the first color component of described accumulation, to improve acquisition precision and the stability of signal further.
As a good embodiment, described acquisition module can comprise:
Color sensor, for gathering the illumination of the first color component and changing into three road current signals;
Integrating circuit, for changing into three road voltage signals by described three road current signals;
Amplifying circuit, for carrying out amplification process to described three road voltage signals;
ADC module, for carrying out ADC collection to amplification process Hou tri-road voltage signal, and the data after being gathered by ADC send controller to processes.
As a good embodiment, color sampling device of the present invention can also comprise: switch control module, for controlling switch between reference voltage and color sensor to the collection of the second color component and third color component that disconnect RGB tri-color, and when detecting that described next first color component gathers moment arrival, by closed for described switch to continue to gather described first color component.
Other technical characteristic of above-mentioned a kind of color sampling device is identical with a kind of color acquisition method of the present invention, and it will not go into details herein.
Can be found out by above scheme, a kind of color acquisition method of the present invention and device, after collecting the first color component, judge whether the magnitude of voltage of the first color component is greater than predetermined threshold value, if not, then disconnect the second color component of RGB tri-color and the collection of third color component, by accumulating the magnitude of voltage of first color component in multiple moment, until the magnitude of voltage of accumulation is greater than predetermined threshold value.The invention solves that control signal ON time is short, short brought magnitude of voltage integral time problem less than normal, the restriction that uncontrolled signal duration is short, and can realize adding up to improve R, G, B collection voltage signal values the integral time in multiple moment by Systematical control, guarantee to obtain reliable and stable image data, substantially increase acquisition precision and stability.
Unless context separately has the description of specific distinct, the element in the present invention and assembly, the form that quantity both can be single exists, and form that also can be multiple exists, and the present invention does not limit this.Although the step in the present invention arranges with label, and be not used in and limit the precedence of step, the order of step or the execution of certain step need based on other steps unless expressly stated, otherwise the relative rank of step is adjustable.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a color acquisition method, is characterized in that, comprises the following steps:
First color component of RGB tri-color under collection current time;
Judge whether the magnitude of voltage of the first color component collected is greater than predetermined threshold value;
If not, then disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.
2. color acquisition method according to claim 1, it is characterized in that, show that the magnitude of voltage of the first collected color component is greater than predetermined threshold value if judge, then start the collection of the second color component, and judge whether the magnitude of voltage of the second color component collected is greater than described predetermined threshold value, if then start the collection of third color component.
3. color acquisition method according to claim 2, is characterized in that, described first color component is R component, and described second color component is G component, and described third color component is B component.
4. color acquisition method according to claim 1, is characterized in that, after the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value, also comprises step:
Filtering process is carried out to the first color component of described accumulation.
5. the color acquisition method according to claim 1-4 any one, is characterized in that, the process gathering described first color component comprises:
Gather the illumination of the first color component by color sensor and change into three road current signals;
Described three road current signals are changed into three road voltage signals by integrating circuit;
Amplification process is carried out to described three road voltage signals;
ADC collection is carried out to amplification process Hou tri-road voltage signal, and the data after being gathered by ADC send controller to processes.
6. color acquisition method according to claim 5, it is characterized in that, described second color component of disconnection RGB tri-color and the collection of third color component, and the process of described first color component of continuation collection comprises when detecting that next first color component gathers moment arrival:
The second color component of RGB tri-color and the collection of third color component is disconnected by the switch controlled between reference voltage and color sensor, and when detecting that described next first color component gathers moment arrival, by closed for described switch to continue to gather described first color component.
7. a color sampling device, is characterized in that, comprising:
Acquisition module, for gathering the first color component of RGB tri-color under current time;
Judge module, for judging whether the magnitude of voltage of the first collected color component is greater than predetermined threshold value;
Accumulation module, for when the judged result of described judge module is no, disconnect the second color component of RGB tri-color and the collection of third color component, and detecting that next first color component continues to gather described first color component when gathering moment arrival, until the magnitude of voltage of the first color component of accumulation is greater than described predetermined threshold value.
8. color sampling device according to claim 7, is characterized in that, also comprises:
Filtration module, for carrying out filtering process to the first color component of described accumulation.
9. the color sampling device according to claim 7 or 8, is characterized in that, described acquisition module comprises:
Color sensor, for gathering the illumination of the first color component and changing into three road current signals;
Integrating circuit, for changing into three road voltage signals by described three road current signals;
Amplifying circuit, for carrying out amplification process to described three road voltage signals;
ADC module, for carrying out ADC collection to amplification process Hou tri-road voltage signal, and the data after being gathered by ADC send controller to processes.
10. color sampling device according to claim 9, is characterized in that, also comprises:
Switch control module, for controlling switch between reference voltage and color sensor to the collection of the second color component and third color component that disconnect RGB tri-color, and when detecting that described next first color component gathers moment arrival, by closed for described switch to continue to gather described first color component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410129711.9A CN103884429B (en) | 2014-03-31 | 2014-03-31 | Color acquisition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410129711.9A CN103884429B (en) | 2014-03-31 | 2014-03-31 | Color acquisition method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103884429A CN103884429A (en) | 2014-06-25 |
CN103884429B true CN103884429B (en) | 2016-03-30 |
Family
ID=50953449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410129711.9A Expired - Fee Related CN103884429B (en) | 2014-03-31 | 2014-03-31 | Color acquisition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103884429B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH063193A (en) * | 1992-06-23 | 1994-01-11 | Fuji Electric Co Ltd | Color sensor circuit |
CN1982857A (en) * | 2005-12-14 | 2007-06-20 | 深圳迈瑞生物医疗电子股份有限公司 | Method, apparatus and system for automatically measuring luminescent device |
CN101651770A (en) * | 2008-08-14 | 2010-02-17 | 北京书生国际信息技术有限公司 | Color correcting method |
CN102096822A (en) * | 2010-12-24 | 2011-06-15 | 华为终端有限公司 | Color discrimination method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7251358B2 (en) * | 2003-11-13 | 2007-07-31 | Canon Kabushiki Kaisha | Color measurement profile with embedded characterization |
JP5135724B2 (en) * | 2005-08-11 | 2013-02-06 | セイコーエプソン株式会社 | Color evaluation method for image display device |
-
2014
- 2014-03-31 CN CN201410129711.9A patent/CN103884429B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH063193A (en) * | 1992-06-23 | 1994-01-11 | Fuji Electric Co Ltd | Color sensor circuit |
CN1982857A (en) * | 2005-12-14 | 2007-06-20 | 深圳迈瑞生物医疗电子股份有限公司 | Method, apparatus and system for automatically measuring luminescent device |
CN101651770A (en) * | 2008-08-14 | 2010-02-17 | 北京书生国际信息技术有限公司 | Color correcting method |
CN102096822A (en) * | 2010-12-24 | 2011-06-15 | 华为终端有限公司 | Color discrimination method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103884429A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103781261B (en) | The infrared lamp control method of infrared network video camera | |
CN101136181B (en) | Back light source brightness regulating mechanism, method and display apparatus thereof | |
CN104616626B (en) | A kind of display device brightness regulating apparatus and method | |
CN104284486A (en) | Intelligent lighting device and system and intelligent lighting control method | |
CN103531174A (en) | Brightness adjusting device and method | |
CN102427516A (en) | Method and system for adjusting brightness of digital television displayer | |
CN104144353A (en) | Multi-zone ambient light management control method based on intelligent television | |
US20130128074A1 (en) | Display unit, image sensing unit and display system | |
CN103547024A (en) | Lighting system and sensing device | |
CN106657801A (en) | Video information acquiring method and apparatus | |
CN103686154A (en) | Television curtain wall system and adjusting method thereof | |
CN104468377A (en) | Router equipment and wireless transmitting power adjusting method thereof | |
CN110691452A (en) | Intelligent illumination control system and control method | |
CN205722735U (en) | A kind of screen intensity chroma correction means of LED display | |
CN104936364A (en) | Multifunctional intelligent LED lamp and intelligent control method of underground parking lot | |
CN103884429B (en) | Color acquisition method and device | |
CN105469774A (en) | Display screen brightness adjusting method and apparatus | |
CN204131599U (en) | A kind of automatic monitoring camera head | |
CN104252826A (en) | LED (Light Emitting Diode) display screen brightness monitoring method and device and LED display controller | |
CN116744515B (en) | Intelligent illumination management system for human body induction | |
CN104853163A (en) | LED lighting device, video monitoring system based on device and method thereof | |
CN109040534A (en) | A kind of image processing method and image capture device | |
CN204761551U (en) | Novel webcam | |
KR100995399B1 (en) | Lighting system and lighing method using the same | |
CN103533284A (en) | Security and protection camera |
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 | ||
CP03 | Change of name, title or address |
Address after: 510670 Guangdong Province, Guangzhou high tech Industrial Development Zone Kezhu Road No. 233 Patentee after: Wei Chong group Limited by Share Ltd Address before: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233 Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160330 Termination date: 20210331 |
|
CF01 | Termination of patent right due to non-payment of annual fee |