The method for building up of rgb light spectrum response curve and system, light-sensitive image tuple
Technical field
The present invention relates to technical field of image processing, more specifically, relate to method for building up and system, the light-sensitive image tuple of a kind of rgb light spectrum response curve.
Background technology
At present, Baeyer filtering technique is the common technology that imageing sensor obtains colour information.Baeyer filtering technique is realized by Baeyer filter.Imageing sensor obtains colour information by Baeyer filter.In the process of processing, the photosensitive pixel of imageing sensor is provided with coating, and coating comprises red coating 01, green coating 02 and blue coating 03, as shown in Figure 1.On above-mentioned imageing sensor, each light-sensitive image unit responds a certain spectral band object according to coating, final acquisition relative to the response of this spectral band, last imageing sensor by the response of each photosensitive pixel of Baeyer filter by the computing such as difference, compensation finally formed imageing sensor obtain the colour information of image.
Please refer to accompanying drawing 2, Fig. 2 is RGB tri-kinds of spectral response curve schematic diagrames that current image sensor process is formulated.As can be seen from Figure 2, between RGB tri-kinds of spectral response curves, there is larger overlapping area (as oblique line portion), in overlapping area, two kinds of (red coating and green coating of mutual mixing, green coating and blue coating, or red coating and blue coating) or three kinds of coating (red coating, green coating and blue coating) all can produce response, and then cause each photosensitive pixel all can obtain the response that should not obtain, carry out with the response obtained in such cases the process such as subsequent calculations can cause acquisition image colour information reduction degree reduce.Such as, when taking red object, suppose that the spectrum segment that red object is launched is about 700mm, in the ideal response process of the photosensitive pixel of imageing sensor, the photosensitive pixel with red coating has stronger response, and the photosensitive pixel with green coating does not respond with the photosensitive pixel with blue coating or has less response.But, schematic diagram according to Fig. 2 can be found out, when taking red object, the photosensitive pixel with green coating and the photosensitive pixel with blue coating also have larger response, finally cause whole photosensitive pixel can obtain larger response, the response that the photosensitive pixel of imageing sensor obtains makes the color of image of captured object not red after subsequent calculations, and namely the color rendition degree of captured image is lower.
In sum, how to solve the imageing sensor caused more greatly due to RGB tri-kinds of spectral response curve overlapping area obtain the lower problem of the color rendition degree of image, be current those skilled in the art technical problems urgently to be resolved hurrily.
Summary of the invention
The invention provides a kind of rgb light spectrum method for building up of response curve and system, light-sensitive image tuple, with solve the imageing sensor that causes more greatly due to RGB tri-kinds of spectral response curve aliasing districts obtain the lower problem of the color rendition degree of image.
In order to solve the problems of the technologies described above, the invention provides following technical scheme:
The method for building up of rgb light spectrum response curve, comprises the following steps:
Set up light-sensitive image tuple, described light-sensitive image tuple at least comprises six photosensitive pixels, be respectively the first photosensitive pixel, the second photosensitive pixel, the 3rd photosensitive pixel, the 4th photosensitive pixel, the 5th photosensitive pixel and 6th sense light image unit, described first photosensitive pixel plates red coating, described second photosensitive pixel plates green coating, described 3rd photosensitive pixel plates blue coating, described 4th photosensitive pixel is coated with green red coating, described 5th photosensitive pixel is coated with bluish-green coating, the red blue coating of described 6th sense light image unit plating;
Obtain the response of described photosensitive pixel, the response of described first photosensitive pixel is the first response R, the response of described second photosensitive pixel is the second response G, the response of described 3rd photosensitive pixel is the 3rd response B, the response of described 4th photosensitive pixel is the 4th response GR, the response of described 5th photosensitive pixel is the 5th response BG, and the response of described 6th sense light image unit is the 6th response RB;
Calculate the RGB component value of described light-sensitive image tuple, described RGB component value comprises R component value R ', G component value G ' and B component value B ', wherein, and R '=R-RB-GR; G '=G-GR-BG; B '=B-RB-BG;
Rgb light spectrum response curve is set up according to the RGB component of different spectrum segment.
Preferably, in above-mentioned method for building up, set up light-sensitive image tuple and comprise:
Described red coating, green coating and blue coating is plated successively in six described photosensitive pixels, and then the photosensitive pixel of coating that formation two groups is identical;
The photosensitive pixel of coating described in one group plates green coating, blue coating and red coating again wherein, to form described green red coating, bluish-green coating and red blue coating.
Preferably, in above-mentioned method for building up, described green red coating, bluish-green coating and red blue coating adjacent distributions.
Preferably, in above-mentioned method for building up, also comprise:
Set up three and form square matrix of picture elements without the photosensitive pixel of coating and described light-sensitive image tuple.
A kind of light-sensitive image tuple, described light-sensitive image tuple at least comprises six photosensitive pixels, be respectively the first photosensitive pixel, the second photosensitive pixel, the 3rd photosensitive pixel, the 4th photosensitive pixel, the 5th photosensitive pixel and 6th sense light image unit, described first photosensitive pixel is coated with red coating, described second photosensitive pixel is coated with green coating, described 3rd photosensitive pixel is coated with blue coating, described 4th photosensitive pixel is coated with green red coating, described 5th photosensitive pixel is coated with bluish-green coating, described 6th sense light image unit is coated with red blue coating.
Preferably, above-mentioned rgb light spectrum response curve set up in system, comprising:
Light-sensitive image tuple, described light-sensitive image tuple at least comprises six photosensitive pixels, be respectively the first photosensitive pixel, the second photosensitive pixel, the 3rd photosensitive pixel, the 4th photosensitive pixel, the 5th photosensitive pixel and 6th sense light image unit, described first photosensitive pixel plates red coating, described second photosensitive pixel plates green coating, described 3rd photosensitive pixel plates blue coating, described 4th photosensitive pixel is coated with green red coating, described 5th photosensitive pixel is coated with bluish-green coating, and described 6th sense light image unit is coated with red blue coating;
Acquiring unit, be connected with described light-sensitive image tuple, for obtaining the response of described photosensitive pixel, the response of described first photosensitive pixel is the first response R, the response of described second photosensitive pixel is the second response G, and the response of described 3rd photosensitive pixel is the 3rd response B, and the response of described 4th photosensitive pixel is the 4th response GR, the response of described 5th photosensitive pixel is the 5th response BG, and the response of described 6th sense light image unit is the 6th response RB;
Computing unit, is connected with described acquiring unit, and for calculating the RGB component value of described light-sensitive image tuple, described RGB component value comprises R component value R ', G component value G ' and B component value B ', wherein, and R '=R-RB-GR; G '=G-GR-BG; B '=B-RB-BG;
Set up unit, be connected with described computing unit, for setting up rgb light spectrum response curve according to the RGB component of different spectrum segment.
Preferably, above-mentionedly set up in system, described green red coating, bluish-green coating and red blue coating adjacent distributions.
The camera lens rgb light spectrum response curve of method for building up to current imageing sensor of rgb light spectrum response curve provided by the invention is implemented to optimize, reduce the overlapping area of RGB tri-kinds of spectral response curves, and then the annoyance level that can be reduced in photosensitive response process between various coating response, finally can improve the reduction degree of image color information, reach good visual effect.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, for those of ordinary skills, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of the light-sensitive image tuple of current imageing sensor;
Fig. 2 is the schematic diagram of current rgb light spectrum response curve, and in Fig. 2, abscissa represents wavelength, and unit is nm, and ordinate represents responsiveness;
Fig. 3 is the method for building up schematic flow sheet of the rgb light spectrum response curve that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram of the light-sensitive image tuple of the imageing sensor that the embodiment of the present invention provides;
Fig. 5 is the schematic diagram of the rgb light spectrum response curve that the embodiment of the present invention provides, and in Fig. 5, abscissa represents wavelength, and unit is nm, and ordinate represents responsiveness.
In above-mentioned Fig. 1-Fig. 5:
Red coating 01, green coating 02, blue coating 03;
Red coating 11, green coating 12, blue coating 13, green red coating 14, bluish-green coating 15, the photosensitive pixel 18 of red blue coating the 16, first photosensitive pixel 17, second, the 3rd photosensitive pixel 19, the 4th photosensitive pixel 110, the 5th photosensitive pixel 111,6th sense light image unit 112.
Embodiment
Embodiments provide a kind of rgb light spectrum method for building up of response curve and system, light-sensitive image tuple, solve the imageing sensor caused more greatly due to RGB tri-kinds of spectral response curve aliasing districts obtain the lower problem of the color rendition degree of image.
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, the technical scheme in the embodiment of the present invention is described in further detail.
Please refer to the method for building up flow process that accompanying drawing 3, Fig. 3 shows the rgb light spectrum response curve that the embodiment of the present invention provides.Flow process shown in Fig. 3 comprises the following steps:
S101, set up light-sensitive image tuple.
Incorporated by reference to reference accompanying drawing 4, light-sensitive image tuple is set up in this step S101, wherein light-sensitive image tuple is made up of at least six light-sensitive image units, and at least six light-sensitive image tuples comprise the photosensitive pixel 18 of the first photosensitive pixel 17, second, the 3rd photosensitive pixel 19, the 4th photosensitive pixel 110, the 5th photosensitive pixel 111 and 6th sense light image unit 112.Wherein, first photosensitive pixel 17 is coated with red coating 11, second photosensitive pixel 18 is coated with green coating 12,3rd photosensitive pixel 19 is coated with the photosensitive pixel 110 of blue coating the 13, four and is coated with green red coating 14, described green red coating 14 refers to by red coating and the stacked composite deposite of green coating, red coating can be made to be positioned at upper strata, green coating is positioned at lower floor, and green coating also can be made to be positioned at upper strata, and red coating is positioned at lower floor.5th photosensitive pixel 111 is coated with bluish-green coating 15, described bluish-green coating 15 refers to by blue coating and the stacked composite deposite of green coating, blue coating can be made to be positioned at upper strata, green coating is positioned at lower floor, also green coating can be made to be positioned at lower floor, blue coating is positioned at upper strata, and the embodiment of the present invention is not restricted this.6th sense light image unit 112 is coated with red blue coating 16, described red blue coating 16 refers to by red coating and the stacked composite deposite of blue coating, and red coating can be made to be positioned at upper strata, and blue coating is positioned at lower floor, also blue coating can be made to be positioned at upper strata, and red coating is positioned at lower floor.
In the embodiment of the present invention, preferably, light-sensitive image tuple is made up of six light-sensitive image units, and six photosensitive pixels can in one linely distribute, and also can divide two row distributions, the embodiment of the present invention is not restricted the distribution form of light-sensitive image tuple.
S102, obtain the response of photosensitive pixel.
Step S102 be used for obtaining step S101 set up the response of each photosensitive pixel in light-sensitive image tuple.We know, each photosensitive pixel can have the response of response in the process of image taking, and this step is by obtaining the response of each photosensitive pixel in light-sensitive image tuple for the calculating in subsequent step S103.For the ease of understanding, needs are described as follows, the response of the first photosensitive pixel 17 is the first response R, the response of the second photosensitive pixel 18 is the second response G, the response of the 3rd photosensitive pixel 19 is the 3rd response B, the response of the 4th photosensitive pixel 110 is the 4th response GR, and the response of the 5th photosensitive pixel 111 is the 5th response BG, and the response of 6th sense light image unit 112 is the 6th response RB.
The RGB component value of S103, calculating light-sensitive image tuple.
Step S103 is for calculating the RGB component value of light-sensitive image tuple.Wherein, RGB component value comprises R component value R ', G component value G ' and B component value B ', wherein, and R '=R-RB-GR; G '=G-GR-BG; B '=B-RB-BG.In this step, by the response filtering doped with other components in light-sensitive image tuple, thus obtain R component value, G component value and B component value.
S104, set up rgb light spectrum response curve.
Calculate RGB component value in different spectrum segment according to the response of light-sensitive image tuple in step S104, finally set up rgb light spectrum response curve, as shown in Figure 5, the aliasing district area as can be seen from the figure in rgb light spectrum response curve between each curve obviously reduces.
The camera lens rgb light spectrum response curve of method for building up to current imageing sensor of the rgb light spectrum response curve that the embodiment of the present invention provides is implemented to optimize, the overlapping area (dash areas as 5) of three kinds of spectral response curves can be reduced, and then the annoyance level that can be reduced in photosensitive response process between various coating, finally can improve the reduction degree of image color information, good visual effect can be reached.
Please refer to accompanying drawing 4, the red coating of embodiment of the present invention medium green 14, bluish-green coating 15 and red blue coating 16 adjacent distributions, i.e. the 4th photosensitive pixel 110, the 5th photosensitive pixel 111 and 6th sense light image unit 112 adjacent distributions.Certainly, above-mentioned green red coating 14, bluish-green coating 15 and red blue coating 16 also can be spaced apart, and the embodiment of the present invention does not limit the distribution mode of each photosensitive pixel in light-sensitive image tuple.
Embodiments provide a kind of method setting up light-sensitive image tuple, specifically comprise the following steps:
Red coating 11, green coating 12 and blue coating 13 is coated with successively in A, six photosensitive pixels adjacent in multiple light-sensitive image tuple, and then the photosensitive pixel of coating that formation two groups is identical.
The photosensitive pixel of B, wherein one group coating plates again green coating, blue coating and red coating, to form described green red coating 14, bluish-green coating 15 and red blue coating 16.
Above-mentioned just a kind of concrete light-sensitive image tuple method for building up, the light-sensitive image tuple described in the embodiment of the present invention can also be made by other modes, is not restricted this embodiment of the present invention.
More preferred, in the method for building up of the rgb light spectrum response curve that the embodiment of the present invention provides, also comprise and set up three and form square matrix of picture elements without the photosensitive pixel of coating in light-sensitive image tuple, square matrix of picture elements (namely surface is square surface) can be obtained like this, and then conveniently can form the pixel combination of various shape.
Please refer again to accompanying drawing 4, the method for building up of the rgb light spectrum response curve provided based on the embodiment of the present invention, what the embodiment of the present invention also provided a kind of rgb light to compose response curve sets up system, comprising:
Light-sensitive image tuple, in the embodiment of the present invention, light-sensitive image tuple is made up of at least six light-sensitive image units, and at least six light-sensitive image tuples comprise the photosensitive pixel 18 of the first photosensitive pixel 17, second, the 3rd photosensitive pixel 19, the 4th photosensitive pixel 110, the 5th photosensitive pixel 111 and 6th sense light image unit 112.Wherein, first photosensitive pixel 17 is coated with red coating 11, second photosensitive pixel 18 is coated with green coating 12,3rd photosensitive pixel 19 is coated with the photosensitive pixel 110 of blue coating the 13, four and is coated with green red coating 14, and described green red coating 14 refers to by green coating and the stacked composite deposite of red coating, green coating can be made to be positioned at upper strata, red coating is positioned at lower floor, and red coating also can be made to be positioned at upper strata, and green coating is positioned at lower floor.5th photosensitive pixel 111 is coated with bluish-green coating 15, described bluish-green coating 15 refers to by blue coating and the stacked composite deposite of green coating, blue coating can be made to be positioned at upper strata, green coating is positioned at lower floor, also green coating can be made to be positioned at lower floor, blue coating is positioned at upper strata, and the embodiment of the present invention is not restricted this.6th sense light image unit 112 is coated with red blue coating 16, described red blue coating 16 refers to by red coating and the stacked composite deposite of blue coating, and red coating can be made to be positioned at upper strata, and blue coating is positioned at lower floor, also blue coating can be made to be positioned at upper strata, and red coating is positioned at lower floor.
Preferably, in the embodiment of the present invention, light-sensitive image tuple can be made up of six light-sensitive image units, and six photosensitive pixels can in one linely distribute, and also can divide two row distributions, the embodiment of the present invention is not restricted the distribution form of light-sensitive image tuple.
Acquiring unit, for obtaining the response of each photosensitive pixel in light-sensitive image tuple.Each photosensitive pixel can produce response in the process of image taking, and this step is by obtaining the response of each photosensitive pixel in light-sensitive image tuple for follow-up calculating.For the ease of understanding, needs are described as follows, the response of the first photosensitive pixel 17 is the first response R, the response of the second photosensitive pixel 18 is the second response G, the response of the 3rd photosensitive pixel 19 is the 3rd response B, the response of the 4th photosensitive pixel 110 is the 4th response GR, and the response of the 5th photosensitive pixel 111 is the 5th response BG, and the response of 6th sense light image unit 112 is the 6th response RB.
Computing unit, for calculating the RGB component value of light-sensitive image tuple.Wherein, RGB component value comprises R component value R ', G component value G ' and B component value B ', wherein, and R '=R-RB-GR; G '=G-GR-BG; B '=B-RB-BG.In this step, by the response filtering doped with other components in light-sensitive image tuple, thus obtain R, G and B component value.
Set up unit, RGB component value is calculated according to the response of light-sensitive image tuple for being based upon different spectrum segment, finally set up rgb light spectrum response curve, as shown in Figure 5, the aliasing district area as can be seen from the figure in rgb light spectrum response curve between each curve obviously reduces.
The method for building up that the rgb light that the system of setting up of rgb light that the embodiment of the present invention provides spectrum response curve is above provided with the embodiment of the present invention composes response curve is corresponding, corresponding beneficial effect please refer to the description of above appropriate section, and this does not repeat.
Please refer to accompanying drawing 4, the red coating of embodiment of the present invention medium green 14, bluish-green coating 15 and red blue coating 16 adjacent distributions, i.e. the 4th photosensitive pixel 110, the 5th photosensitive pixel 111 and 6th sense light image unit 112 adjacent distributions.Certainly, above-mentioned green red coating 14, bluish-green coating 15 and red blue coating 16 also can be spaced apart, and the embodiment of the present invention does not limit the distribution mode of each photosensitive pixel in light-sensitive image tuple.
The method for building up of the rgb light spectrum response curve provided based on the embodiment of the present invention and system, the embodiment of the present invention additionally provides a kind of light-sensitive image tuple, the light-sensitive image tuple provided is the above described light-sensitive image tuple of the embodiment of the present invention, specifically please refer to above described, do not repeat them here.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.