CN106791737A - The color calibration method and device of projected picture - Google Patents

The color calibration method and device of projected picture Download PDF

Info

Publication number
CN106791737A
CN106791737A CN201510831371.9A CN201510831371A CN106791737A CN 106791737 A CN106791737 A CN 106791737A CN 201510831371 A CN201510831371 A CN 201510831371A CN 106791737 A CN106791737 A CN 106791737A
Authority
CN
China
Prior art keywords
primary
light source
component
value
projection light
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
CN201510831371.9A
Other languages
Chinese (zh)
Other versions
CN106791737B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510831371.9A priority Critical patent/CN106791737B/en
Priority to PCT/CN2016/070732 priority patent/WO2016184142A1/en
Publication of CN106791737A publication Critical patent/CN106791737A/en
Application granted granted Critical
Publication of CN106791737B publication Critical patent/CN106791737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Projection Apparatus (AREA)
  • Video Image Reproduction Devices For Color Tv Systems (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention provides the color calibration method and device of a kind of projected picture, wherein, the method includes:Using the projected background picture in the view field that acquired projections light source is formed;The colouring information of each primary color component in analytical projection's background frame, wherein, the colouring information is at least used to indicate the brightness of the primary color component;The colouring information according to the projected background picture obtains the misalignment value of the primary color component respectively;Misalignment value according to the primary color component corrects the colouring information of primary colours projection light source corresponding with the primary color component in projection light source respectively.By the present invention, solve the problems, such as in correlation technique due to the color adjustment mode of projecting apparatus it is more fixed caused by projected picture there is misalignment, and then reached color correction is carried out to the projected background picture of different colours, to realize being shown on the projected background picture of different colours the effect of the normal projected picture of white balance.

Description

The color calibration method and device of projected picture
Technical field
The present invention relates to the communications field, in particular to the color calibration method and device of a kind of projected picture.
Background technology
SPROII projections in correlation technique, are the intelligent terminals with projection, support that three kinds of colors are adjusted on SPROII Section, be respectively cold, normal, warm, represent respectively it is cold, in, warm up three kinds of tones, these three tones are by changing Become the brightness of the LED bulb for projecting to realize, but these settings are all changeless.SPROIII begins with planning One function of automatic adaptation wall color.
Traditional projecting apparatus only supports that colour temperature is adjusted, and it is partially yellow that the image for projecting can be presented for fixed several colour temperatures, Partial neutral, the color compensation of partially blue several fixations, and also the compensation range fixed is very limited.
In for correlation technique, because there is color in the more fixed caused projected picture of the color adjustment mode of projecting apparatus The problem of deviation, not yet proposes to efficiently solve scheme.
The content of the invention
The invention provides the color calibration method and device of a kind of projected picture, at least to solve in correlation technique due to throwing There is misalignment in the more fixed caused projected picture of the color adjustment mode of shadow instrument.
According to an aspect of the invention, there is provided a kind of color calibration method of projected picture, including:Acquired projections light Projected background picture in the view field that source is formed;Parse the color of each primary color component in the projected background picture Information, wherein, the colouring information is at least used to indicate the brightness of the primary color component;According to the projected background picture The colouring information obtain the misalignment value of the primary color component respectively;The color according to the primary color component is inclined Difference corrects the colouring information of primary colours projection light source corresponding with the primary color component in the projection light source respectively.
Alternatively, the colouring information of each primary color component includes in the parsing projected background picture:From the projection Grey decision-making, the green primary point of red primary component in described each pixel are parsed in each pixel of background frame respectively The grey decision-making of amount and the grey decision-making of blue primary component;The red primary of the whole pixels according to the projected background picture point The grey decision-making of amount obtains the average gray-scale value of red primary component;Whole pixels according to the projected background picture it is described green The grey decision-making of primary color component obtains the average GTG of green primary component;The institute of the whole pixels according to the projected background picture The grey decision-making for stating blue primary component obtains the average GTG of blue primary component.
Alternatively, the colouring information according to the projected background picture obtains the color of the primary color component respectively Deviation includes:Red primary components R, the green primary described in the projected background picture point are calculated in the following manner Amount G, the misalignment value of the blue primary component B, D_R=(R-A_RGB)/A_RGB, D_G=(G-A_RGB) / A_RGB, D_B=(B-A_RGB)/A_RGB, wherein, the A_RGB is used to represent that the projected background is drawn The average gray-scale value of red primary components R described in face, the average gray-scale value of the green primary component G and the blue primary The average value of the average gray-scale value three of component B;The R is used to represent the average gray-scale value of the red primary components R, The D_R is used to represent the misalignment value of the red primary components R;The G is used to represent the green primary component The average gray-scale value of G, the D_G is used to represent the misalignment value of the green primary component G;The B is used for table Show the average gray-scale value of the blue primary component B, the D_B is used to represent the misalignment of the blue primary component B Value.
Alternatively, the misalignment value according to the primary color component correct respectively in the projection light source with it is described The colouring information of the corresponding primary colours projection light source of primary color component includes:Obtain each primary colours projection light source in the projection light source Normal brightness value, wherein, the primary colours projection light source includes red primary projection light source, green primary projection light source and blue base Color projection light source;The brightness value of the primary colours projection light source after the correction is calculated in the following manner, New_L_R=L_R-A_L_RGB*D_R, New_L_G=L_G-A_L_RGB*D_G, New_L_B=L_B-A_L_RGB*D_B, wherein, the A_L_RGB is used to represent the red primary projection light source Normal brightness value, the normal brightness value of the green primary projection light source and the blue primary projection light source normal brightness value The average value of three;The R is used to represent the average gray-scale value of the red primary components R, and the D_R is used to represent The misalignment value of the red primary components R, the L_R is used to represent the normal brightness of the red primary projection light source Value, the New_L_R is used to represent the brightness value of the red primary projection light source after correction;The G is used to represent described The average gray-scale value of green primary component G, the D_G is used to represent the misalignment value of the green primary component G, institute After L_G is stated for representing that the normal brightness value of the green primary projection light source, the New_L_G are used to represent correction Green primary projection light source brightness value;The B is used to represent the average gray-scale value of the blue primary component B, described D_B is used to represent the misalignment value of the blue primary component B, and the L_B is used to represent the blue primary projected light The normal brightness value in source, the New_L_B is used to represent the brightness value of the blue primary projection light source after correction.
Alternatively, the projected background picture in the view field that the acquired projections light source is formed includes:By projecting apparatus Camera the projected background picture is gathered in the view field, wherein, the area of the projected background picture is small In the area equal to the view field.
Alternatively, in the projection light source is corrected respectively according to the misalignment value of the primary color component with the base After the colouring information of the corresponding primary colours projection light source of colouring component, also include:According to the primary colours projection light source after correction Colouring information project picture to be projected.
According to another aspect of the present invention, there is provided a kind of color correction device of projected picture, including:Acquisition module, Projected background picture in the view field formed for acquired projections light source;Parsing module, for parsing the projection The colouring information of each primary color component in background frame, wherein, the colouring information is at least used to indicate the primary color component Brightness;Acquisition module, for obtaining the primary color component respectively according to the colouring information of the projected background picture Misalignment value;Correction module, the projection is corrected for the misalignment value according to the primary color component respectively The colouring information of primary colours projection light source corresponding with the primary color component in light source.
Alternatively, the parsing module includes:Resolution unit, for from each pixel of the projected background picture Grey decision-making, the grey decision-making of green primary component and the blue primary component of red primary component in described each pixel are parsed respectively Grey decision-making;First acquisition unit, for the red primary component of the whole pixels according to the projected background picture Grey decision-making obtains the average gray-scale value of red primary component;The green primary of the whole pixels according to the projected background picture The grey decision-making of component obtains the average GTG of green primary component;The indigo plant of the whole pixels according to the projected background picture The grey decision-making of primary color component obtains the average GTG of blue primary component.
Alternatively, the acquisition module is additionally operable to calculate in the following manner red primary described in the projected background picture point Amount R, the green primary component G, the misalignment value of the blue primary component B, D_R=(R-A_RGB)/A_RGB, D_G=(G-A_RGB)/A_RGB, D_B=(B-A_RGB)/A_RGB, wherein, the A_RGB is used for Represent the average gray-scale value of red primary components R described in the projected background picture, the green primary component G it is average The average value of the average gray-scale value three of grey decision-making and the blue primary component B;The R is used to represent the red primary The average gray-scale value of components R, the D_R is used to represent the misalignment value of the red primary components R;The G is used In the average gray-scale value for representing the green primary component G, the D_G is used to represent the color of the green primary component G Deviation;The B is used to represent the average gray-scale value of the blue primary component B, and the D_B is used to represent the indigo plant The misalignment value of primary color component B.
Alternatively, the correction module includes:Second acquisition unit, throws for obtaining each primary colours in the projection light source The normal brightness value of shadow light source, wherein, the primary colours projection light source includes red primary projection light source, green primary projection light source And blue primary projection light source;Computing unit, for calculating the bright of the primary colours projection light source after the correction in the following manner Angle value, New_L_R=L_R-A_L_RGB*D_R, New_L_G=L_G-A_L_RGB*D_G, New_L_B=L_B-A_L_RGB*D_B, wherein, the A_L_RGB is used to represent the red primary projection light source Normal brightness value, the normal brightness value of the green primary projection light source and the blue primary projection light source normal brightness value The average value of three;The R is used to represent the average gray-scale value of the red primary components R, and the D_R is used to represent The misalignment value of the red primary components R, the L_R is used to represent the normal brightness of the red primary projection light source Value, the New_L_R is used to represent the brightness value of the red primary projection light source after correction;The G is used to represent described The average gray-scale value of green primary component G, the D_G is used to represent the misalignment value of the green primary component G, institute After L_G is stated for representing that the normal brightness value of the green primary projection light source, the New_L_G are used to represent correction The brightness value of green primary projection light source;The B is used to represent the average gray-scale value of the blue primary component B, the D_B Misalignment value for representing the blue primary component B, the L_B is used to represent the blue primary projection light source Normal brightness value, the New_L_B is used to represent the brightness value of the blue primary projection light source after correction.
Alternatively, the acquisition module is additionally operable to gather the projection in the view field by the camera of projecting apparatus Background frame, wherein, the area of the area less than or equal to the view field of the projected background picture.
Alternatively, described device also includes:Projection module, in the misalignment value according to the primary color component After correcting the colouring information of primary colours projection light source corresponding with the primary color component in the projection light source respectively, according to school The colouring information of the primary colours projection light source after just projects picture to be projected.
By the present invention, the projected background picture in the view field that acquired projections light source is formed;Analytical projection's background painting The colouring information of each primary color component in face, wherein, the colouring information is at least used to indicate the brightness of the primary color component;Root Obtain the misalignment value of the primary color component respectively according to the colouring information of the projected background picture;According to the primary color component Misalignment value corrects the colouring information of primary colours projection light source corresponding with the primary color component in projection light source respectively.In other words, The present invention obtains the misalignment value of primary color component by the colouring information of projected background picture respectively, according to the primary color component Misalignment value dynamic calibration projection light source in primary colours projection light source corresponding with primary color component colouring information so that real Now the color to projected background picture carries out dynamic calibration, to solve in correlation technique due to the color adjustment mode of projecting apparatus There is misalignment in more fixed caused projected picture, and then reached the projected background picture to different colours Face carries out color correction, to realize being shown on the projected background picture of different colours the effect of the normal projected picture of white balance Really.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the color calibration method of projected picture according to embodiments of the present invention;
Fig. 2 is digital light treatment DLP system theory of constitution figure according to embodiments of the present invention;
Fig. 3 is the fundamental diagram of dmd chip according to embodiments of the present invention;
Fig. 4 is the method schematic diagram of projecting apparatus display picture according to embodiments of the present invention;
Fig. 5 is the structured flowchart of the color correction device of projected picture according to embodiments of the present invention;
Fig. 6 is the structured flowchart () of the color correction device of projected picture according to embodiments of the present invention;
Fig. 7 is the structured flowchart (two) of the color correction device of projected picture according to embodiments of the present invention;
Fig. 8 is the structured flowchart (three) of the color correction device of projected picture according to embodiments of the present invention.
Specific embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings not conflicted Under condition, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing Etc. being for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
A kind of color calibration method of projected picture is provided in the present embodiment, and Fig. 1 is throwing according to embodiments of the present invention The flow chart of the color calibration method of shadow picture, as shown in figure 1, the flow comprises the following steps:
Step S102, the projected background picture in the view field that acquired projections light source is formed;
Step S104, the colouring information of each primary color component in analytical projection's background frame, wherein, the colouring information is extremely Few brightness for being used to indicate the primary color component;
Step S106, the colouring information according to projected background picture obtains the misalignment value of primary color component respectively;
Step S108, the misalignment value according to primary color component corrects corresponding with the primary color component in the projection light source respectively Primary colours projection light source colouring information.
Alternatively, in the present embodiment, the color calibration method of above-mentioned projected picture can including but not limited to based on number In word light treatment (Digital Light Processing, referred to as DLP) system, formed by acquired projections light source Projected background picture in view field, the colouring information of each primary color component, obtains respectively in analytical projection's background frame The misalignment value of primary color component, to realize correcting projection respectively for the corresponding projected background picture of different colours information The colouring information of primary colours projection light source corresponding with primary color component in light source, so as to the projected background reached to different colours is drawn Face carries out color correction, and the effect of the normal projected picture of white balance is shown on the projected background picture of different colours.Enter And overcome in the prior art due to by fix three kinds of tones (such as it is cold, in, warm up three kinds of tones) change projection LED There is the problem of misalignment in projected picture caused by the mode of the brightness of bulb.
Alternatively, in the present embodiment, above-mentioned projected background picture can be included but is not limited to by the camera of projecting apparatus The background frame for showing projected picture that shooting is obtained.For example, above-mentioned background frame can be metope, curtain etc.. That is, by the color calibration method of above-mentioned projected picture color can be carried out to the projected background picture of different colours Adjustment, so as to realize when picture to be projected is projected, it is to avoid shadow of the projected background picture of different colours to projected picture Ring, to reach the effect of the display normal projected picture of white balance.
Alternatively, in the present embodiment, above-mentioned each primary color component can be included but is not limited to:Red primary component, green base Colouring component and blue primary component.Wherein, above-mentioned colouring information can include but is not limited to be used to indicate the bright of the primary color component Degree, wherein, the colouring information of each primary color component can be included but is not limited in above-mentioned projected background picture:Each primary colours The grey decision-making of component.The colouring information of above-mentioned primary colours projection light source can be included but is not limited to:The brightness value of light source.
Alternatively, in the present embodiment, for the key components of above-mentioned DLP system, carried out mainly in combination with Fig. 2 Explanation.Fig. 2 is digital light treatment DLP system theory of constitution figure according to embodiments of the present invention.As shown in Fig. 2 DLP System has following several key components:
Light source:The light source of DLP system is made up of three LEDs (i.e. R-LED, G-LED and B-LED), point The light of RED (being represented with R) color Dui Ying not be sent, the light of GREEN (being represented with G) color, BLUE (is used B is represented) light of color, the picture brightness of the brightness projection higher of LED is higher.
DMD (Digital Micro mirror Device, referred to as DMD) chip:Dmd chip is DLP Core display device in optical projection system, it is made up of many rotatable small mirrors.Fig. 3 is according to of the invention real The fundamental diagram of the dmd chip of example is applied, as shown in figure 3, small mirror is arranged according to the row of pixel, each small mirror Son is corresponding with each pixel of image, and each pixel of image controls a deflection angle for small mirror in other words.Work as image Each pixel RGB data decomposite come after, control LED RGB lamps switch respectively, R lamps open when Wait small mirror to be deflected according to the numerical value of R, the light of R numerical value more large mirror reflection is more, and G, B lamp are opened similarly, The correct brightness of RGB is reflected away in the image of a frame by this process.
Camera lens:The light of primary reflecting mirror is converged, is then projected on curtain according to focal length, by the lens set in camera lens Different focal lengths are realized, the imaging definition and size in curtain can be adjusted by focal length.
By above-mentioned key components DLP is realized to project, specific projection schematic flow sheet as shown in figure 4, its In, the projection light source on projecting apparatus shown in Fig. 4, the projection light for sending focused on and be imaged on curtain.Taking the photograph on projecting apparatus As head is focused to the reflected light that projection light is obtained after picture foveal reflex, defocused is taken the photograph by projecting apparatus then As the picture at head capture view field center, camera uses fixed ISO in the case of the white light of projection R=B=G, Shutter, aperture shoots photo.
Further, the principle of DLP projection system, the image data on dmd chip can change the mirror of dmd chip Son is overturn so as to change the power of RGB light, realizes that each pixel color of picture is different with brightness, by changing R, Tri- brightness of LED of G, B, can be with the color balance of overall control picture.
Alternatively, in the present embodiment, after the projected background picture in the view field that acquired projections light source is formed, The method of the colouring information of each primary color component is included but is not limited in analytical projection's background frame:From projected background picture Each pixel in parse the grey decision-making of three primary colours component, whole pixels of projected background picture are then parsed respectively Three primary colours component average gray-scale value;Or, parsed from each pixel of the center picture of projected background picture The grey decision-making of three primary colours component, then parses the average ash of the three primary colours component of whole pixels of projected background picture respectively Rank is worth.
Alternatively, in the present embodiment, projected background picture in the view field that the projection light source for collecting is formed Area is included but is not limited to the area of view field:The area of projected background picture is less than or equal to the view field Area.
Alternatively, in the present embodiment, the color of primary colours projection light source corresponding with primary color component is believed in correction projection light source Breath is included but is not limited to:Primary colours corresponding with primary color component in misalignment value correction projection light source according to primary color component The colouring information of projection light source, or, it is corresponding with primary color component in the predetermined threshold value correction projection light source according to primary color component Primary colours projection light source colouring information.
Alternatively, in the present embodiment, in the projection light source is corrected respectively according to the misalignment value of primary color component with should After the colouring information of the corresponding primary colours projection light source of primary color component, also include but is not limited to:According to the primary colours after correction The colouring information of projection light source projects picture to be projected.
In an optional implementation method, the colouring information of each primary color component at least includes in analytical projection's background frame Following steps:
Step S11, parses red primary component in each pixel respectively from each pixel of projected background picture The grey decision-making of grey decision-making, the grey decision-making of green primary component and blue primary component;
Step S12, the grey decision-making of the red primary component of the whole pixels according to projected background picture obtains red primary component Average gray-scale value;The grey decision-making of the green primary component of the whole pixels according to the projected background picture obtains green primary component Average gray-scale value;The grey decision-making of the blue primary component of the whole pixels according to the projected background picture obtains blue primary component Average gray-scale value.
It should be noted that red primary point in each pixel parsed in each pixel of different projected background pictures The grey decision-making of the grey decision-making, the grey decision-making of green primary component and blue primary component of amount is differed.
The example below is specifically combined, above-mentioned steps S11 is illustrated.
In the present embodiment, it is red mainly for blueness, white, the camera background frame obtained under yellow metope and The grey decision-making of the RGB channel of each background frame.
If background color is blue, then the grey decision-making of the R component for obtaining between 0-100, the grey decision-making of G components Between 100-255, the grey decision-making of B component is close to 255;If background color is red, then the R component for obtaining Grey decision-making between 100-255, G, B component grey decision-making between 100-255, the grey decision-making of channel B is approached 255;If background color is white, the value of R, G, B is similar, probably between 100-255;If background Color is yellow, and the grey decision-making of R, G is close to the value of 255, B close to 100.
Further, the grey decision-making of the RGB of the photo for being obtained on the metope of different colors is differed.It is red Metope:R component is big;Blue metope:B component is big;White metope:RGB is similar;Yellow metope:R and G Component is more than B.
Alternatively, in the present embodiment, the average of red, green, blue three primary colours primary color component can in the following manner be calculated Grey decision-making:
Assuming that X is picture traverse, Y is picture altitude, a total of n=X*Y pixel, and the color of each pixel is by RGB The value of each 16bit is constituted, altogether 48 bytes, and 16 byte representation R high, middle 16 byte representation G are low 16 Byte representation B.Such as 0xFF0000 represents red, and 0x00FF00 represents green, and 0x0000FF represents blue, 0x333333 It is exactly grey.The color component of each pixel is obtained by taking 16 bytes of senior middle school's low level, is between a 0-255 Value.For example, by taking red primary component as an example, it is assumed that mRi is the grey decision-making of the red primary component of pixel i, wherein, i It is the natural number in 1 to n.Further, the grey decision-making to the red primary component of whole pixels in projected background picture is made even Average, then the colouring information of red primary components R can be the average gray-scale value of R in projected background picture:R=sum (mR1…mRn)/n.Similarly can be in the hope of G, the average gray-scale value of B.
By above-mentioned steps, the grey decision-making of the red, green, blue primary color component of the whole pixels according to projected background picture is obtained The average gray-scale value of red, green, blue three primary colours component, primary colours corresponding with primary color component are thrown in improve correction projection light source The accuracy of the colouring information of shadow light source, further solve in correlation technique due to projecting apparatus color adjustment mode more There is misalignment in the projected picture caused by fixed, and then reached to enter the projected background picture of different colours Row color correction, to realize being shown on the projected background picture of different colours the effect of the normal projected picture of white balance.
In one alternatively implementation method, the colouring information according to projected background picture obtains the color of primary color component respectively Deviation is comprised the following steps:
Step S21, calculate in the following manner the red primary components R in the projected background picture, green primary component G, The misalignment value of blue primary component B,
D_R=(R-A_RGB)/A_RGB,
D_G=(G-A_RGB)/A_RGB,
D_B=(B-A_RGB)/A_RGB.
It should be noted that A_RGB be used for represent the red primary components R in the projected background picture average gray-scale value, The average gray-scale value of green primary component G and the average value of the average gray-scale value three of blue primary component B;The R is used In the average gray-scale value for representing the red primary components R, the D_R is used to represent the misalignment value of the red primary components R; The G is used to represent the average gray-scale value of green primary component G, and the D_G is used to represent the color of green primary component G Deviation;The B is used to represent the average gray-scale value of blue primary component B, and the D_B is used to represent the blue primary component The misalignment value of B.
By above-mentioned steps, three groups of difference components can be obtained, D_R, D_G, D_B are instructed using these three values respectively Tri- brightness adjustments of lamp of R, G, B, further solve in correlation technique due to projecting apparatus color adjustment mode compared with There is misalignment in the projected picture caused by fixation, and then reached the projected background picture to different colours Color correction is carried out, to realize being shown on the projected background picture of different colours the effect of the normal projected picture of white balance.
In an optional implementation method, the misalignment value according to primary color component correct respectively in projection light source with the base The colouring information of the corresponding primary colours projection light source of colouring component is comprised the following steps:
Step S31, obtains the normal brightness value of each primary colours projection light source in projection light source, wherein, the primary colours projected light Source includes red primary projection light source, green primary projection light source and blue primary projection light source;
Step S32, calculates the brightness value of the primary colours projection light source after the correction in the following manner,
New_L_R=L_R-A_L_RGB*D_R,
New_L_G=L_G-A_L_RGB*D_G,
New_L_B=L_B-A_L_RGB*D_B.
It should be noted that above-mentioned A_L_RGB is used to represent normal brightness value, green base of the red primary projection light source The normal brightness value of color projection light source and the average value of the normal brightness value three of the blue primary projection light source;The R is used for table Show the average gray-scale value of the red primary components R, the D_R is used to represent the misalignment value of the red primary components R, should L_R is used to represent the normal brightness value of the red primary projection light source, and the New_L_R is used to represent the red primary after correction The brightness value of projection light source;The G is used to represent the average gray-scale value of green primary component G, and the D_G is used to represent this The misalignment value of green primary component G, the L_G is used to represent the normal brightness value of the green primary projection light source, should New_L_G is used to represent the brightness value of the green primary projection light source after correction;The B is used to represent blue primary component B Average gray-scale value, the D_B is used to represent the misalignment value of blue primary component B that the L_B to be used to represent the indigo plant The normal brightness value of primary colours projection light source, the New_L_B is used to represent the brightness value of the blue primary projection light source after correction.
By above-mentioned steps, by by tri- lamps of R, G, B through the brightness calculation after overcompensation out, i.e., it is new New_L_R, New_L_G, New_L_B are set onto the LED bulb of projecting apparatus ray machine, it is possible to realize color Compensate for.Further solve in correlation technique due to the color adjustment mode of projecting apparatus it is more fixed caused by shadowgraph There is misalignment in face, and then reached and carry out color correction to the projected background picture of different colours, to realize The effect of the normal projected picture of white balance is shown on the projected background picture of different colours.
In an optional implementation method, the projected background picture in the view field that acquired projections light source is formed includes Following steps:
Step S41, the projected background picture is gathered by the camera of projecting apparatus in the view field.
It should be noted that in the present embodiment, the area of the area less than or equal to the view field of projected background picture; The camera of projecting apparatus can be with the front camera of projecting apparatus.
By above-mentioned steps, using camera (such as front camera) acquired projections background frame of projection, further Analysis projected background picture is realized, according to analysis result, the colouring information of primary colours projection light source is corrected, further solved In correlation technique due to the color adjustment mode of projecting apparatus it is more fixed caused by projected picture there is misalignment Problem, and then reached color correction is carried out to the projected background picture of different colours, to realize the projection in different colours The effect of the normal projected picture of white balance is shown on background frame.
In an optional implementation method, in the projection light source is corrected respectively according to the misalignment value of primary color component with It is further comprising the steps of after the colouring information of the corresponding primary colours projection light source of the primary color component:
Step S51, picture to be projected is projected according to the colouring information of the primary colours projection light source after correction.
By above-mentioned steps, picture to be projected is projected according to the colouring information of the primary colours projection light source after correction so that can To see the normal image of white balance on the wall of different colors, and then the different face according to projected background picture are reached Color dynamically adjusts the effect of projected picture.
With reference to specific example, the present invention is illustrated.
In the present embodiment, mainly include the following steps that:
Step S61, the light of projector projects white, the brightness of the RGB lamps of software design patterns is respectively L_R=L_G=L_B =N;
Step S62, drives camera to use specific iso, shutter aperture to take pictures, and obtains the picture of projection centre;
Step S63, the R of the picture of analysis center's picture, G, the average gray-scale value of B component, the meter of average gray-scale value Calculate formula as follows:
Assuming that X is picture traverse, Y is picture altitude, and the color of a total of n=X*Y pixel each pixel is by RGB The value of each 16bit is constituted, altogether 48 bytes, and 16 byte representation R high, middle 16 byte representation G are low 16 Byte representation B.Such as 0xFF0000 represents red, and 0x00FF00 represents green, and 0x0000FF represents blue, 0x333333 It is exactly grey.The color component of each pixel is obtained by taking 16 bytes of senior middle school's low level, is between a 0-255 Value, it is assumed that mR is the red component value of certain pixel.The component value of all of pixel is done the average ash for equalling red Rank value is:R=sum (mR1 ... mRn)/n.Similarly can be in the hope of G, the average gray-scale value of B;
Step S64, D_R, D_G, D_B are calculated according to formula below, and these three values represent red, green, blue phase respectively For the deviation percent of other colors:
A_RGB=(R+G+B)/3;
D_R=(R-A_RGB)/A_RGB;
D_G=(G-A_RGB)/A_RGB;
D_B=(B-A_RGB)/A_RGB;
Step S65, according to D_R, D_G, D_B calculate the R of the ray machine for needing adjustment, tri- lamps of G, B it is new Brightness value New_L_R, New_L_G, New_L_B,
A_L_RGB=(L_R+L_G+L_B)/3;
New_L_R=L_R-A_L_RGB*D_R;
New_L_G=L_G-A_L_RGB*D_G;
New_L_B=L_B-A_L_RGB*D_B;
Step S66, sets New_L_R, and New_L_G, New_L_B to LED Hardware drive module allow LED RGB lamps according to new brightness adjustment.
In sum, the present invention has camera (such as preposition camera) by the micro- throwing based on auto-focusing, Camera can be with the definition of capture images, brightness and color, and the function of being capable of capture images color using camera can be with Using this information as data source, and to the R of image, three data of G, B (red, green, blue) are calculated, root R, tri- brightness of LED of G, B in projection are instructed according to the result for calculating.Solve in correlation technique due to projection Be present misalignment in the more fixed caused projected picture of the color adjustment mode of instrument, and then reached to difference The projected background picture of color carries out color correction, to realize showing white balance just on the projected background picture of different colours The effect of normal projected picture.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment Method can add the mode of required general hardware platform by software to realize, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably implementation method.Based on such understanding, technical scheme is substantially in other words to existing The part for having technology to contribute can be embodied in the form of software product, and the computer software product is stored at one In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can Being mobile phone, computer, server, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiment 2
A kind of color correction device of projected picture is additionally provided in the present embodiment, and the device is used to realize above-described embodiment And preferred embodiment, carried out repeating no more for explanation.As used below, term " module " can be real The combination of the software and/or hardware of existing predetermined function.Although the device described by following examples preferably comes real with software It is existing, but hardware, or the realization of the combination of software and hardware is also that may and be contemplated.
Fig. 5 is the structured flowchart of the color correction device of projected picture according to embodiments of the present invention, as shown in figure 5, should Device includes:
1) acquisition module 52, the projected background picture in the view field formed for acquired projections light source;
2) parsing module 54, the colouring information for parsing each primary color component in the projected background picture, wherein, should Colouring information is at least used to indicate the brightness of the primary color component;
3) acquisition module 56, the face for obtaining the primary color component respectively according to the colouring information of the projected background picture Colour cast difference;
4) correction module 58, for the misalignment value according to the primary color component correct respectively in the projection light source with should The colouring information of the corresponding primary colours projection light source of primary color component.
Alternatively, in the present embodiment, the color correction device of above-mentioned projected picture can including but not limited to based on public affairs In department's digital light treatment (Digital Light Processing, referred to as DLP) system, by acquired projections light source institute shape Into view field in projected background picture, the colouring information of each primary color component in analytical projection's background frame, respectively The misalignment value of primary color component is obtained, to realize being corrected respectively for the corresponding projected background picture of different colours information The colouring information of primary colours projection light source corresponding with primary color component in projection light source, so as to reach the projection back of the body to different colours Scape picture carries out color correction, and the effect of the normal projected picture of white balance is shown on the projected background picture of different colours. And then overcome in the prior art due to by fix three kinds of tones (such as it is cold, in, warm up three kinds of tones) change projection There is the problem of misalignment in projected picture caused by the mode of the brightness of LED bulb.
Alternatively, in the present embodiment, above-mentioned projected background picture can be included but is not limited to by the camera of projecting apparatus The background frame for showing projected picture that shooting is obtained.For example, above-mentioned background frame can be metope, curtain etc.. That is, by the color calibration method of above-mentioned projected picture color can be carried out to the projected background picture of different colours Adjustment, so as to realize when picture to be projected is projected, it is to avoid shadow of the projected background picture of different colours to projected picture Ring, to reach the effect of the display normal projected picture of white balance.
Alternatively, in the present embodiment, above-mentioned each primary color component can be included but is not limited to:Red primary component, green base Colouring component and blue primary component.Wherein, above-mentioned colouring information can include but is not limited to be used to indicate the bright of the primary color component Degree, wherein, the colouring information of each primary color component can be included but is not limited in above-mentioned projected background picture:Each primary colours The grey decision-making of component.The colouring information of above-mentioned primary colours projection light source can be included but is not limited to:The brightness value of light source.
Alternatively, in the present embodiment, for the key components of above-mentioned DLP system, carried out mainly in combination with Fig. 2 Explanation.Fig. 2 is digital light treatment DLP system theory of constitution figure according to embodiments of the present invention.As shown in Fig. 2 DLP System has following several key components:
Light source:The light source of DLP system is made up of three LEDs (i.e. R-LED, G-LED and B-LED), point The light of RED (being represented with R) color Dui Ying not be sent, the light of GREEN (being represented with G) color, BLUE (is used B is represented) light of color, the picture brightness of the brightness projection higher of LED is higher.
DMD (Digital Micro mirror Device, referred to as DMD) chip:Dmd chip is DLP Core display device in optical projection system, it is made up of many rotatable small mirrors.Fig. 3 is according to of the invention real The fundamental diagram of the dmd chip of example is applied, as shown in figure 3, small mirror is arranged according to the row of pixel, each small mirror Son is corresponding with each pixel of image, and each pixel of image controls a deflection angle for small mirror in other words.Work as image Each pixel RGB data decomposite come after, control LED RGB lamps switch respectively, R lamps open when Wait small mirror to be deflected according to the numerical value of R, the light of R numerical value more large mirror reflection is more, and G, B lamp are opened similarly, The correct brightness of RGB is reflected away in the image of a frame by this process.
Camera lens:The light of primary reflecting mirror is converged, is then projected on curtain according to focal length, by the lens set in camera lens Different focal lengths are realized, the imaging definition and size in curtain can be adjusted by focal length.
By above-mentioned key components DLP is realized to project, specific projection schematic flow sheet as shown in figure 4, its In, the projection light source on projecting apparatus shown in Fig. 4, the projection light for sending focused on and be imaged on curtain.Taking the photograph on projecting apparatus As head is focused to the reflected light that projection light is obtained after picture foveal reflex, defocused is taken the photograph by projecting apparatus then As the picture at head capture view field center, camera uses fixed ISO in the case of the white light of projection R=B=G, Shutter, aperture shoots photo.
Further, the principle of DLP projection system, the image data on dmd chip can change the mirror of dmd chip Son is overturn so as to change the power of RGB light, realizes that each pixel color of picture is different with brightness, by changing R, Tri- brightness of LED of G, B, can be with the color balance of overall control picture.
Alternatively, in the present embodiment, after the projected background picture in the view field that acquired projections light source is formed, The device of the colouring information of each primary color component is included but is not limited in analytical projection's background frame:From projected background picture Each pixel in parse the grey decision-making of three primary colours component, whole pixels of projected background picture are then parsed respectively Three primary colours component average gray-scale value;Or, parsed from each pixel of the center picture of projected background picture The grey decision-making of three primary colours component, then parses the average ash of the three primary colours component of whole pixels of projected background picture respectively Rank is worth.
Alternatively, in the present embodiment, projected background picture in the view field that the projection light source for collecting is formed Area is included but is not limited to the area of view field:The area of projected background picture is less than or equal to the view field Area.
Alternatively, in the present embodiment, the color of primary colours projection light source corresponding with primary color component is believed in correction projection light source Breath is included but is not limited to:Primary colours corresponding with primary color component in misalignment value correction projection light source according to primary color component The colouring information of projection light source, or, it is corresponding with primary color component in the predetermined threshold value correction projection light source according to primary color component Primary colours projection light source colouring information.
Alternatively, in the present embodiment, in the projection light source is corrected respectively according to the misalignment value of primary color component with should After the colouring information of the corresponding primary colours projection light source of primary color component, also include but is not limited to:According to the primary colours after correction The colouring information of projection light source projects picture to be projected.
Fig. 6 is the structured flowchart () of the color correction device of projected picture according to embodiments of the present invention, such as Fig. 6 institutes Show, the parsing module 54 includes:
1) resolution unit 62, for parsing each pixel respectively from each pixel of the projected background picture The grey decision-making of the grey decision-making, the grey decision-making of green primary component and blue primary component of middle red primary component;
2) first acquisition unit 64, for the GTG of the red primary component of the whole pixels according to the projected background picture Value obtains the average gray-scale value of red primary component;The ash of the green primary component of the whole pixels according to the projected background picture Rank value obtains the average gray-scale value of green primary component;The blue primary component of the whole pixels according to the projected background picture Grey decision-making obtains the average gray-scale value of blue primary component.
It should be noted that red primary point in each pixel parsed in each pixel of different projected background pictures The grey decision-making of the grey decision-making, the grey decision-making of green primary component and blue primary component of amount is differed.
The example below is specifically combined, to parsing each pixel respectively from each pixel of the projected background picture The grey decision-making of the grey decision-making, the grey decision-making of green primary component and blue primary component of middle red primary component is illustrated.
In the present embodiment, it is red mainly for blueness, white, the camera background frame obtained under yellow metope and The grey decision-making of the RGB channel of each background frame.
If background color is blue, then the grey decision-making of the R component for obtaining between 0-100, the grey decision-making of G components Between 100-255, the grey decision-making of B component is close to 255;If background color is red, then the R component for obtaining Grey decision-making between 100-255, G, B component grey decision-making between 100-255, the grey decision-making of channel B is approached 255;If background color is white, the value of R, G, B is similar, probably between 100-255;If background Color is yellow, and the grey decision-making of R, G is close to the value of 255, B close to 100.
Further, the grey decision-making of the RGB of the photo for being obtained on the metope of different colors is differed.It is red Metope:R component is big;Blue metope:B component is big;White metope:RGB is similar;Yellow metope:R and G Component is more than B.
Alternatively, in the present embodiment, the average of red, green, blue three primary colours primary color component can in the following manner be calculated Grey decision-making:
Assuming that X is picture traverse, Y is picture altitude, a total of n=X*Y pixel, and the color of each pixel is by RGB The value of each 16bit is constituted, altogether 48 bytes, and 16 byte representation R high, middle 16 byte representation G are low 16 Byte representation B.Such as 0xFF0000 represents red, and 0x00FF00 represents green, and 0x0000FF represents blue, 0x333333 It is exactly grey.The color component of each pixel is obtained by taking 16 bytes of senior middle school's low level, is between a 0-255 Value,.For example, by taking red primary component as an example, it is assumed that mRi is the grey decision-making of the red primary component of pixel i, wherein, i It is the natural number in 1 to n.Further, the grey decision-making to the red primary component of whole pixels in projected background picture is made even Average, then the colouring information of red primary components R can be the average gray-scale value of R in projected background picture:R=sum (mR1…mRn)/n.Similarly can be in the hope of G, the average gray-scale value of B.
By above-mentioned steps, the grey decision-making of the red, green, blue primary color component of the whole pixels according to projected background picture is obtained The average gray-scale value of red, green, blue three primary colours component, primary colours corresponding with primary color component are thrown in improve correction projection light source The accuracy of the colouring information of shadow light source, further solve in correlation technique due to projecting apparatus color adjustment mode more There is misalignment in the projected picture caused by fixed, and then reached to enter the projected background picture of different colours Row color correction, to realize being shown on the projected background picture of different colours the effect of the normal projected picture of white balance.
Alternatively, in the present embodiment, during acquisition module 66 is additionally operable to calculate in the following manner the projected background picture The red primary components R, green primary component G, the misalignment value of blue primary component B,
D_R=(R-A_RGB)/A_RGB,
D_G=(G-A_RGB)/A_RGB,
D_B=(B-A_RGB)/A_RGB,
Wherein, the A_RGB is used to representing the average gray-scale value of the red primary components R in the projected background picture, this is green The average value of the average gray-scale value three of the average gray-scale value of primary color component G and blue primary component B;The R is used for table Show the average gray-scale value of the red primary components R, the D_R is used to represent the misalignment value of the red primary components R;Should G is used to represent the average gray-scale value of green primary component G, and the D_G is used to represent that the color of green primary component G is inclined Difference;The B is used to represent the average gray-scale value of blue primary component B, and the D_B is used to represent blue primary component B Misalignment value.
By above-mentioned steps, three groups of difference components can be obtained, D_R, D_G, D_B are instructed using these three values respectively Tri- brightness adjustments of lamp of R, G, B, further solve in correlation technique due to projecting apparatus color adjustment mode compared with There is misalignment in the projected picture caused by fixation, and then reached the projected background picture to different colours Color correction is carried out, to realize being shown on the projected background picture of different colours the effect of the normal projected picture of white balance.
Fig. 7 is the structured flowchart (two) of the color correction device of projected picture according to embodiments of the present invention, such as Fig. 7 institutes Show, the correction module 58 includes:
1) second acquisition unit 72, the normal brightness value for obtaining each primary colours projection light source in the projection light source, its In, the primary colours projection light source includes red primary projection light source, green primary projection light source and blue primary projection light source;
2) computing unit 74, the brightness value for calculating the primary colours projection light source after the correction in the following manner,
New_L_R=L_R-A_L_RGB*D_R,
New_L_G=L_G-A_L_RGB*D_G,
New_L_B=L_B-A_L_RGB*D_B,
Wherein, the A_L_RGB is used to represent normal brightness value, green primary projection light source of the red primary projection light source Normal brightness value and the blue primary projection light source normal brightness value three average value;The R is used to represent the red primary The average gray-scale value of components R, the D_R is used to represent the misalignment value of the red primary components R, and the L_R is used for table Show the normal brightness value of the red primary projection light source, the New_L_R is used to represent the red primary projection light source after correction Brightness value;The G is used to represent the average gray-scale value of green primary component G, and the D_G is used to represent the green primary component The misalignment value of G, the L_G is used to represent the normal brightness value of the green primary projection light source, and the New_L_G is used The brightness value of the green primary projection light source after correction is represented;The B is used to represent the average GTG of blue primary component B Value, the D_B is used to represent the misalignment value of blue primary component B, and the L_B is used to represent the blue primary projected light The normal brightness value in source, the New_L_B is used to represent the brightness value of the blue primary projection light source after correction.
By above-mentioned steps, by by tri- lamps of R, G, B through the brightness calculation after overcompensation out, i.e., it is new New_L_R, New_L_G, New_L_B are set onto the LED bulb of projecting apparatus ray machine, it is possible to realize color Compensate for.The color adjustment mode more fixation in correlation technique in correlation technique by projecting apparatus is further solved to be made Into projected picture there is a problem of misalignment, and then reached color school carried out to the projected background picture of different colours Just, realizing being shown on the projected background picture of different colours the effect of the normal projected picture of white balance.
Alternatively, in the present embodiment, acquisition module 62 is additionally operable to the camera by projecting apparatus in the view field The projected background picture is gathered, wherein, the area of the area less than or equal to the view field of the projected background picture.
It should be noted that in the present embodiment, the area of the area less than or equal to the view field of projected background picture; The camera of projecting apparatus can be with the front camera of projecting apparatus.
By above-mentioned steps, using camera (such as front camera) acquired projections background frame of projection, further Analysis projected background picture is realized, according to analysis result, the colouring information of primary colours projection light source is corrected, further solved In correlation technique due to the color adjustment mode of projecting apparatus it is more fixed caused by projected picture there is misalignment Problem, and then reached color correction is carried out to the projected background picture of different colours, to realize the projection in different colours The effect of the normal projected picture of white balance is shown on background frame.
Fig. 8 is the structured flowchart (three) of the color correction device of projected picture according to embodiments of the present invention, such as Fig. 8 institutes Show, the device also includes in addition to including all modules shown in Fig. 5:
1) projection module 82, for correcting the projection light source respectively in the misalignment value according to the primary color component in After the colouring information of the corresponding primary colours projection light source of the primary color component, according to the color of the primary colours projection light source after correction Information projects picture to be projected.
By above-mentioned steps, picture to be projected is projected according to the colouring information of the primary colours projection light source after correction so that can To see the normal image of white balance on the wall of different colors, and then the different face according to projected background picture are reached Color dynamically adjusts the effect of projected picture.
With reference to specific example, the present invention is illustrated.
In the present embodiment, mainly include the following steps that:
Step S61, the light of projector projects white, the brightness of the RGB lamps of software design patterns is respectively L_R=L_G=L_B =N;
Step S62, drives camera to use specific iso, shutter aperture to take pictures, and obtains the picture of projection centre;
Step S63, the R of the picture of analysis center's picture, G, the average gray-scale value of B component, the meter of average gray-scale value Calculate formula as follows:
Assuming that X is picture traverse, Y is picture altitude, and the color of a total of n=X*Y pixel each pixel is by RGB The value of each 16bit is constituted, altogether 48 bytes, and 16 byte representation R high, middle 16 byte representation G are low 16 Byte representation B.Such as 0xFF0000 represents red, and 0x00FF00 represents green, and 0x0000FF represents blue, 0x333333 It is exactly grey.The color component of each pixel is obtained by taking 16 bytes of senior middle school's low level, is between a 0-255 Value.For example, by taking red primary component as an example, it is assumed that mRi is the grey decision-making of the red primary component of pixel i, wherein, i It is the natural number in 1 to n.Further, the grey decision-making to the red primary component of whole pixels in projected background picture is made even Average, then the colouring information of red primary components R can be the average gray-scale value of R in projected background picture:R=sum (mR1…mRn)/n.Similarly can be in the hope of G, the average gray-scale value of B;
Step S64, D_R, D_G, D_B are calculated according to formula below, and these three values represent red, green, blue phase respectively For the deviation percent of other colors:
A_RGB=(R+G+B)/3;
D_R=(R-A_RGB)/A_RGB;
D_G=(G-A_RGB)/A_RGB;
D_B=(B-A_RGB)/A_RGB;
Step S65, according to D_R, D_G, D_B calculate the R of the ray machine for needing adjustment, tri- lamps of G, B it is new Brightness value New_L_R, New_L_G, New_L_B:
A_L_RGB=(L_R+L_G+L_B)/3;
New_L_R=L_R-A_L_RGB*D_R;
New_L_G=L_G-A_L_RGB*D_G;
New_L_B=L_B-A_L_RGB*D_B;
Step S66, sets New_L_R, and New_L_G, New_L_B to LED Hardware drive module allow LED RGB lamps according to new brightness adjustment.
In sum, the present invention has camera (such as preposition camera) by the micro- throwing based on auto-focusing, Camera can be with the definition of capture images, brightness and color, and the function of being capable of capture images color using camera can be with Using this information as data source, and to the R of image, three data of G, B (red, green, blue) are calculated, root R, tri- brightness of LED of G, B in projection are instructed according to the result for calculating.Solve in correlation technique due to projection Be present misalignment in the more fixed caused projected picture of the color adjustment mode of instrument, and then reached to difference The projected background picture of color carries out color correction, to realize showing white balance just on the projected background picture of different colours The effect of normal projected picture.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned module distinguishes position In multiple processors.
Embodiment 3
Embodiments of the invention additionally provide a kind of storage medium.The application scenarios and example of the embodiment may be referred to above-mentioned Embodiment 1 and embodiment 2, will not be described here.Alternatively, in the present embodiment, above-mentioned storage medium can be set It is used to perform the program code of following steps for storage:
S1, the projected background picture in the view field that acquired projections light source is formed;
S2, the colouring information of each primary color component in analytical projection's background frame, wherein, the colouring information is at least used to refer to Show the brightness of the primary color component;
S3, the colouring information according to projected background picture obtains the misalignment value of primary color component respectively;
S4, primary colours corresponding with the primary color component are thrown during the misalignment value according to primary color component corrects the projection light source respectively The colouring information of shadow light source.
Alternatively, in the present embodiment, above-mentioned storage medium can be included but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, Magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs above-mentioned steps according to the program code stored in storage medium S1, S2, S3 and S4.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment Example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned of the invention each module or each step can be with general Computing device realizes that they can be concentrated on single computing device, or is distributed in multiple computing devices and is constituted Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to by they Storage is performed by computing device in the storage device, and in some cases, can be held with different from order herein The shown or described step of row, or they are fabricated to each integrated circuit modules respectively, or will be many in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware Combined with software.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the technology of this area For personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made it is any Modification, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (12)

1. a kind of color calibration method of projected picture, it is characterised in that including:
Projected background picture in the view field that acquired projections light source is formed;
The colouring information of each primary color component in the projected background picture is parsed, wherein, the colouring information is at least Brightness for indicating the primary color component;
The colouring information according to the projected background picture obtains the misalignment value of the primary color component respectively;
The misalignment value according to the primary color component is divided in correcting the projection light source respectively with the primary colours Measure the colouring information of corresponding primary colours projection light source.
2. method according to claim 1, it is characterised in that each primary colours in the parsing projected background picture The colouring information of component includes:
Parse red primary point in described each pixel respectively from each pixel of the projected background picture The grey decision-making of the grey decision-making, the grey decision-making of green primary component and blue primary component of amount;
The grey decision-making of the red primary component of the whole pixels according to the projected background picture obtains red primary point The average gray-scale value of amount;The grey decision-making of the green primary component of the whole pixels according to the projected background picture is obtained Take the average gray-scale value of green primary component;The blue primary component of the whole pixels according to the projected background picture Grey decision-making obtain blue primary component average gray-scale value.
3. method according to claim 2, it is characterised in that the color according to the projected background picture The misalignment value that information obtains the primary color component respectively includes:
Calculate in the following manner red primary components R described in the projected background picture, the green primary component G, The misalignment value of the blue primary component B,
D_R=(R-A_RGB)/A_RGB,
D_G=(G-A_RGB)/A_RGB,
D_B=(B-A_RGB)/A_RGB,
Wherein, the A_RGB is used to represent the average GTG of red primary components R described in the projected background picture The average gray-scale value three's of value, the average gray-scale value of the green primary component G and the blue primary component B is average Value;The R is used to represent the average gray-scale value of the red primary components R, and the D_R is used to represent the red base The misalignment value of colouring component R;The G is used to represent the average gray-scale value of the green primary component G, described D_G is used to represent the misalignment value of the green primary component G;The B is used to represent the blue primary component B Average gray-scale value, the D_B is used to represent the misalignment value of the blue primary component B.
4. method according to claim 3, it is characterised in that the misalignment according to the primary color component The colouring information that value corrects primary colours projection light source corresponding with the primary color component in the projection light source respectively includes:
The normal brightness value of each primary colours projection light source in the projection light source is obtained, wherein, the primary colours projected light Source includes red primary projection light source, green primary projection light source and blue primary projection light source;
The brightness value of the primary colours projection light source after the correction is calculated in the following manner,
New_L_R=L_R-A_L_RGB*D_R,
New_L_G=L_G-A_L_RGB*D_G,
New_L_B=L_B-A_L_RGB*D_B,
Wherein, the A_L_RGB is used to represent the normal brightness value of the red primary projection light source, the green primary The average value of the normal brightness value three of the normal brightness value of projection light source and the blue primary projection light source;The R Average gray-scale value for representing the red primary components R, the D_R is used to represent the red primary components R Misalignment value, the L_R is used to represent the normal brightness value of the red primary projection light source, the New_L_R Brightness value for representing the red primary projection light source after correction;The G is used to represent the green primary component G's Average gray-scale value, the D_G is used to represent the misalignment value of the green primary component G, and the L_G is used for table Show the normal brightness value of the green primary projection light source, the New_L_G is used to represent that the green primary after correction to be thrown The brightness value of shadow light source;The B is used to represent the average gray-scale value of the blue primary component B, and the D_B is used for The misalignment value of the blue primary component B is represented, the L_B is used to represent the mark of the blue primary projection light source Quasi- brightness value, the New_L_B is used to represent the brightness value of the blue primary projection light source after correction.
5. method according to claim 1, it is characterised in that in the view field that the acquired projections light source is formed Projected background picture include:
The projected background picture is gathered in the view field by the camera of projecting apparatus, wherein, the throwing Area of the area of shadow background frame less than or equal to the view field.
6. method according to claim 1, it is characterised in that in the misalignment value according to the primary color component Correct respectively after the colouring information of primary colours projection light source corresponding with the primary color component in the projection light source, go back Including:
Colouring information according to the primary colours projection light source after correction projects picture to be projected.
7. a kind of color correction device of projected picture, it is characterised in that including:
Acquisition module, the projected background picture in the view field formed for acquired projections light source;
Parsing module, the colouring information for parsing each primary color component in the projected background picture, wherein, institute Stating colouring information is at least used to indicate the brightness of the primary color component;
Acquisition module, for obtaining the primary color component respectively according to the colouring information of the projected background picture Misalignment value;
Correction module, in correcting the projection light source respectively according to the misalignment value of the primary color component The colouring information of primary colours projection light source corresponding with the primary color component.
8. device according to claim 7, it is characterised in that the parsing module includes:
Resolution unit, for parsing described each picture respectively from each pixel of the projected background picture The grey decision-making of the grey decision-making of red primary component, the grey decision-making of green primary component and blue primary component in element;
First acquisition unit, for the ash of the red primary component of the whole pixels according to the projected background picture Rank value obtains the average gray-scale value of red primary component;The described green base of the whole pixels according to the projected background picture The grey decision-making of colouring component obtains the average gray-scale value of green primary component;According to whole pixels of the projected background picture The blue primary component grey decision-making obtain blue primary component average gray-scale value.
9. device according to claim 8, it is characterised in that the acquisition module is additionally operable to calculate in the following manner Red primary components R described in the projected background picture, the green primary component G, the blue primary component B Misalignment value,
D_R=(R-A_RGB)/A_RGB,
D_G=(G-A_RGB)/A_RGB,
D_B=(B-A_RGB)/A_RGB,
Wherein, the A_RGB is used to represent the average GTG of red primary components R described in the projected background picture The average gray-scale value three's of value, the average gray-scale value of the green primary component G and the blue primary component B is average Value;The R is used to represent the average gray-scale value of the red primary components R, and the D_R is used to represent the red base The misalignment value of colouring component R;The G is used to represent the average gray-scale value of the green primary component G, described D_G is used to represent the misalignment value of the green primary component G;The B is used to represent the blue primary component B Average gray-scale value, the D_B is used to represent the misalignment value of the blue primary component B.
10. device according to claim 9, it is characterised in that the correction module includes:
Second acquisition unit, the normal brightness value for obtaining each primary colours projection light source in the projection light source, its In, the primary colours projection light source includes red primary projection light source, green primary projection light source and blue primary projection light source;
Computing unit, the brightness value for calculating the primary colours projection light source after the correction in the following manner,
New_L_R=L_R-A_L_RGB*D_R,
New_L_G=L_G-A_L_RGB*D_G,
New_L_B=L_B-A_L_RGB*D_B,
Wherein, the A_L_RGB is used to represent the normal brightness value of the red primary projection light source, the green primary The average value of the normal brightness value three of the normal brightness value of projection light source and the blue primary projection light source;The R Average gray-scale value for representing the red primary components R, the D_R is used to represent the red primary components R Misalignment value, the L_R is used to represent the normal brightness value of the red primary projection light source, the New_L_R Brightness value for representing the red primary projection light source after correction;The G is used to represent the green primary component G's Average gray-scale value, the D_G is used to represent the misalignment value of the green primary component G, and the L_G is used for table Show the normal brightness value of the green primary projection light source, the New_L_G is used to represent that the green primary after correction to be thrown The brightness value of shadow light source;The B is used to represent the average gray-scale value of the blue primary component B, and the D_B is used for The misalignment value of the blue primary component B is represented, the L_B is used to represent the mark of the blue primary projection light source Quasi- brightness value, the New_L_B is used to represent the brightness value of the blue primary projection light source after correction.
11. devices according to claim 7, it is characterised in that the acquisition module is additionally operable to by the shooting of projecting apparatus Head gathers the projected background picture in the view field, wherein, the area of the projected background picture is less than Equal to the area of the view field.
12. devices according to claim 7, it is characterised in that described device also includes:
Projection module, for correcting the projection light source respectively in the misalignment value according to the primary color component In primary colours projection light source corresponding with the primary color component colouring information after, according to after correction the primary colours throw The colouring information of shadow light source projects picture to be projected.
CN201510831371.9A 2015-11-25 2015-11-25 Color correction method and device for projection picture Active CN106791737B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510831371.9A CN106791737B (en) 2015-11-25 2015-11-25 Color correction method and device for projection picture
PCT/CN2016/070732 WO2016184142A1 (en) 2015-11-25 2016-01-12 Color correction method and apparatus for projection picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510831371.9A CN106791737B (en) 2015-11-25 2015-11-25 Color correction method and device for projection picture

Publications (2)

Publication Number Publication Date
CN106791737A true CN106791737A (en) 2017-05-31
CN106791737B CN106791737B (en) 2021-04-20

Family

ID=57319312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510831371.9A Active CN106791737B (en) 2015-11-25 2015-11-25 Color correction method and device for projection picture

Country Status (2)

Country Link
CN (1) CN106791737B (en)
WO (1) WO2016184142A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600595A (en) * 2017-09-30 2019-04-09 优酷网络技术(北京)有限公司 Image processing method and device
CN110177265A (en) * 2019-06-11 2019-08-27 成都极米科技股份有限公司 Method for controlling projection, projection control and optical projection system
CN112601062A (en) * 2021-02-22 2021-04-02 深圳市火乐科技发展有限公司 Projection equipment control method, device, medium and electronic equipment
CN115499630A (en) * 2021-06-17 2022-12-20 中强光电股份有限公司 Projection system and color correction method thereof
WO2024001922A1 (en) * 2022-06-27 2024-01-04 青岛海信激光显示股份有限公司 Rojection image source correction method and ultra-short throw projection device
WO2024055793A1 (en) * 2022-09-15 2024-03-21 海信视像科技股份有限公司 Projection device and projection image quality adjustment method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111179362B (en) * 2019-12-14 2022-02-22 西安交通大学 Test paper color uniformity detection method based on dynamic illumination correction algorithm
CN115695742A (en) * 2021-07-23 2023-02-03 青岛海尔科技有限公司 Projection method and apparatus, storage medium, and electronic apparatus
CN113885195B (en) * 2021-08-17 2023-10-03 成都九天画芯科技有限公司 Color field correction method for eliminating image deviation of light combining prism

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226685A (en) * 1998-01-28 1999-08-25 鸿友科技股份有限公司 Method and device for compensating brightness false of image
CN1882040B (en) * 2005-06-15 2011-05-11 精工爱普生株式会社 Image display device and method
CN102355567A (en) * 2011-10-27 2012-02-15 王悦 Automatic color cast interference processing method
CN102547306A (en) * 2012-03-14 2012-07-04 海信集团有限公司 Projector and method for correcting colors of projected image of projector
CN102611822A (en) * 2012-03-14 2012-07-25 海信集团有限公司 Projector and projection image rectifying method thereof
CN102883124A (en) * 2011-07-11 2013-01-16 精工爱普生株式会社 Image processing method, image processor, and image display system
CN103561223A (en) * 2013-09-05 2014-02-05 苏州佳世达光电有限公司 Method for projecting according to display background and system thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009031441A (en) * 2007-07-25 2009-02-12 Sony Corp Projection type display device
US20090153749A1 (en) * 2007-12-14 2009-06-18 Stephen Randall Mixon Portable projector background color correction scheme

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226685A (en) * 1998-01-28 1999-08-25 鸿友科技股份有限公司 Method and device for compensating brightness false of image
CN1882040B (en) * 2005-06-15 2011-05-11 精工爱普生株式会社 Image display device and method
CN102883124A (en) * 2011-07-11 2013-01-16 精工爱普生株式会社 Image processing method, image processor, and image display system
CN102355567A (en) * 2011-10-27 2012-02-15 王悦 Automatic color cast interference processing method
CN102547306A (en) * 2012-03-14 2012-07-04 海信集团有限公司 Projector and method for correcting colors of projected image of projector
CN102611822A (en) * 2012-03-14 2012-07-25 海信集团有限公司 Projector and projection image rectifying method thereof
CN104869377A (en) * 2012-03-14 2015-08-26 海信集团有限公司 Method for correcting colors of projected images and projector
CN103561223A (en) * 2013-09-05 2014-02-05 苏州佳世达光电有限公司 Method for projecting according to display background and system thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600595A (en) * 2017-09-30 2019-04-09 优酷网络技术(北京)有限公司 Image processing method and device
CN109600595B (en) * 2017-09-30 2021-09-24 阿里巴巴(中国)有限公司 Image processing method and device
CN110177265A (en) * 2019-06-11 2019-08-27 成都极米科技股份有限公司 Method for controlling projection, projection control and optical projection system
CN112601062A (en) * 2021-02-22 2021-04-02 深圳市火乐科技发展有限公司 Projection equipment control method, device, medium and electronic equipment
CN112601062B (en) * 2021-02-22 2021-07-02 深圳市火乐科技发展有限公司 Projection equipment control method, device, medium and electronic equipment
CN115499630A (en) * 2021-06-17 2022-12-20 中强光电股份有限公司 Projection system and color correction method thereof
WO2024001922A1 (en) * 2022-06-27 2024-01-04 青岛海信激光显示股份有限公司 Rojection image source correction method and ultra-short throw projection device
WO2024055793A1 (en) * 2022-09-15 2024-03-21 海信视像科技股份有限公司 Projection device and projection image quality adjustment method

Also Published As

Publication number Publication date
WO2016184142A1 (en) 2016-11-24
CN106791737B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN106791737A (en) The color calibration method and device of projected picture
ES2311061T3 (en) PROCEDURE AND SYSTEM TO PROVIDE FORMATED INFORMATION TO MEDIA TREATMENT MEANS.
ES2282429T3 (en) PROCEDURE AND SYSTEM TO PRODUCE FORMATED INFORMATION RELATED TO GEOMETRIC DISTORSIONS.
CN109584352B (en) Three-dimensional scanning image acquisition and processing method and device and three-dimensional scanning equipment
Damjanovski CCTV: Networking and digital technology
CN106534820B (en) A kind of multihead display color calibrating method and system
CN108024056B (en) Imaging method and device based on dual camera
CN106664363B (en) Glisten collision detection and compensation system, method, equipment and computer-readable media
WO2010031252A1 (en) Method for correcting lightness of electrical display screen
CN109068025A (en) A kind of camera lens shadow correction method, system and electronic equipment
CN108111731A (en) A kind of camera module
US20180146176A1 (en) Thermal compensation in image projection
CN107396079B (en) White balance adjustment method and device
US8040412B2 (en) Imaging apparatus and image data correcting method
CN109064415A (en) Image processing method, system, readable storage medium storing program for executing and terminal
CN105812661B (en) A kind of digital camera uniformity correcting method based on light box and gray card
CN116486048A (en) Virtual-real fusion picture generation method, device, equipment and system
US10621769B2 (en) Simplified lighting compositing
JP2007202128A (en) Imaging apparatus and image data correcting method
US10484622B2 (en) Method for improving image quality in images acquired by a near-infrared sensitive video camera and such a camera
CN108270914A (en) A kind of Intelligent photographing method and device, intelligent terminal
CN110087068A (en) Measurement method, device, equipment and the computer readable storage medium of brightness of image
JP4747616B2 (en) Image presentation system and image presentation program
CN109672828A (en) Low-light (level) lifting device and low-light (level) method for improving based on optical path white balance
CN111275774A (en) Method for acquiring image under microscope and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant