CN108053451A - Color computational methods and system under a kind of state based on mesopic vision - Google Patents
Color computational methods and system under a kind of state based on mesopic vision Download PDFInfo
- Publication number
- CN108053451A CN108053451A CN201711216665.6A CN201711216665A CN108053451A CN 108053451 A CN108053451 A CN 108053451A CN 201711216665 A CN201711216665 A CN 201711216665A CN 108053451 A CN108053451 A CN 108053451A
- Authority
- CN
- China
- Prior art keywords
- under
- vision
- brightness value
- value
- brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Color Image Communication Systems (AREA)
Abstract
The invention belongs to the color computational methods and system under visual color, lighting technical field more particularly to a kind of state based on mesopic vision.Color computational methods under the state provided by the invention based on mesopic vision, the brightness value of target is obtained first and luminance adaptation coefficient is calculated, brightness value and chromatic value under the brightness value and chromatic value and noctovision that are calculated respectively under photopic vision using luminance adaptation coefficient;Most the brightness value under photopic vision and the brightness value under noctovision carry out the photochromic brightness value for synthesizing to obtain under mesopic vision and the chromatic value under the photopic vision and the chromatic value under noctovision are carried out photochromic synthesis on the chromatic diagram to obtain the chromatic value under mesopic vision on a chromaticity diagram at last.So as to can fast and accurately obtain corresponding color under mesopic vision by method provided by the present invention.
Description
Technical field
The invention belongs to the colors under visual color, lighting technical field more particularly to a kind of state based on mesopic vision
Computational methods and system.
Background technology
Mesopic vision is a kind of a kind of state between photopic vision and noctovision.In recent years, mesopic vision is increasingly
It attracts attention, there are many models in terms of mesopic vision light measurement at present.For example, CIE International Commission on Illumination was in 2010
It is proposed mesopic vision light measurement model.
Mesopic vision light measurement model can use Vmes(λ)=m × V (λ)+(1-m) × V ' (λ) expressions, wherein, Vmes(λ)
Represent the spectrum sensitive linearity curve under mesopic vision, λ represents wavelength, and m represents that the luminance adaptation coefficient based on S/P values (represents
Ratio, between 0-1), S/P represent noctovision under with the light efficiency ratio under photopic vision, when adapt to brightnessWhen, m=1;When adaptation brightnessWhen, m=0.V (λ) is represented under photopic vision
Spectrum sensitive linearity curve, V ' (λ) represent noctovision under spectrum sensitive linearity curve, L represent brightness,adaptIt represents to adapt to brightness
(i.e. the subscript of L), cd/m2For brill.It can be treated as under mesopic vision state as rhabdocyte and cone cell while risen
Effect.
Although being proposed mesopic vision light measurement model in light measurement, there is no on mesopic vision in the prior art
The further investigation of color under state, it is impossible to fast and accurately obtain corresponding color under mesopic vision.
The content of the invention
The present invention provides the color computational methods and system under a kind of state based on mesopic vision, it is intended to solve existing skill
The problem of corresponding color under mesopic vision cannot be fast and accurately obtained in art.
In order to solve the above technical problems, the present invention provides the color computational methods under a kind of state based on mesopic vision,
The described method includes:
Obtain the brightness value of target, the adaptation brightness value brightness value of the target being converted under mesopic vision;
Luminance adaptation coefficient is calculated using the adaptation brightness value under the mesopic vision;
It is calculated using the spectrum sensitive linearity curve under photopic vision and the luminance adaptation coefficient bright under photopic vision
Angle value and chromatic value;
It is calculated using the spectrum sensitive linearity curve under noctovision and the luminance adaptation coefficient bright under noctovision
Angle value and chromatic value;
Brightness value under the photopic vision and the brightness value under noctovision are carried out to photochromic synthesis on a chromaticity diagram to obtain
Brightness value under the mesopic vision and chromatic value under the photopic vision and the chromatic value under noctovision is enterprising in the chromatic diagram
Row is photochromic to be synthesized to obtain the chromatic value under mesopic vision.
Further, the chromatic value under the chromatic value and noctovision by under the photopic vision is enterprising in the chromatic diagram
The photochromic synthesis of row is specifically included with obtaining the chromatic value under mesopic vision:
If the chromatic value under the photopic vision is (xp,yp), corresponding colourity tristimulus values is Xp,Yp,Zp, three thorn
It is l to swash the sum of valuep=Xp+Yp+Zp;
If the chromatic value under the noctovision is (xs,ys), corresponding colourity tristimulus values is Xs,Ys,Zs, three thorn
It is l to swash the sum of values=Xs+Ys+Zs;
Photochromic synthesis is then carried out on the chromatic diagram to obtain the chromatic value under mesopic vision as (xm,ym);Wherein, xm=
(lpxp+lsxs)/(lp+ls), ym=(lpyp+lsys)/(lp+ls)。
Further, the brightness value for obtaining target specifically includes:
If the target is scene, the brightness of the scene is measured using brightness measurement instrument, and passes through photograph
Measurement result is changed into the brightness value of the target by degree instrument;
If the target is picture, the gray value or brightness value of the picture are corrected, obtain the target
Brightness value.
Further, the spectrum sensitive linearity curve using under photopic vision and the luminance adaptation coefficient calculate
Brightness value and chromatic value under to photopic vision specifically include:
If the target be scene, using under the photopic vision spectrum sensitive linearity curve, obtain light source light set a song to music
Line and the object spectra reflectivity curve obtained and the luminance adaptation coefficient, pass through default brightness calculation formula and colourity
Calculation formula calculates respectively, obtains the brightness value and chromatic value under the photopic vision;
If the target is picture, using the luminance adaptation coefficient, brightness value using the target is as being stated clearly
Brightness value under vision, and the pixel color of the picture is converted into chromatic value to obtain the chromatic value under the photopic vision;
The spectrum sensitive linearity curve using under noctovision and the luminance adaptation coefficient are calculated under noctovision
Brightness value and chromatic value specifically include:
If the target be scene, using under the noctovision spectrum sensitive linearity curve, obtain light source light set a song to music
Line and the object spectra reflectivity curve obtained and the luminance adaptation coefficient, are calculated by default brightness calculation formula
Brightness value under the noctovision, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as institute
State the chromatic value under noctovision;
If the target is picture, brightness value and the luminance adaptation coefficient using the target are calculated
Brightness value under the noctovision, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as described in
Chromatic value under noctovision.
Further, the luminance adaptation coefficient is obtained by equation below:M=0.767+0.3334log10 (Lmes);
Wherein, m represents the luminance adaptation coefficient, LmesRepresent the adaptation brightness value under the mesopic vision.
In order to solve the above technical problems, the present invention also provides the colors under a kind of state based on mesopic vision to calculate system
System, the system comprises:
The brightness value of the target for obtaining the brightness value of target, is converted into Intermediate View by object brightness acquisition module
Adaptation brightness value under feeling;
Luminance adaptation coefficients calculation block is fitted for brightness to be calculated using the adaptation brightness value under the mesopic vision
Answer coefficient;
Color acquisition module under photopic vision, for being fitted using the spectrum sensitive linearity curve under photopic vision and the brightness
Answer the brightness value and chromatic value that coefficient is calculated under photopic vision;
Color acquisition module under noctovision, for being fitted using the spectrum sensitive linearity curve under noctovision and the brightness
Answer the brightness value and chromatic value that coefficient is calculated under noctovision;
Color acquisition module under mesopic vision, for the brightness value under the photopic vision and the brightness value under noctovision to be existed
Photochromic synthesis is carried out on chromatic diagram to obtain brightness value under mesopic vision and by the chromatic value and noctovision under the photopic vision
Under chromatic value photochromic synthesis is carried out on the chromatic diagram to obtain the chromatic value under mesopic vision.
Further, color acquisition module is specifically used under the mesopic vision:
If the chromatic value under the photopic vision is (xp,yp), corresponding colourity tristimulus values is Xp,Yp,Zp, three thorn
It is l to swash the sum of valuep=Xp+Yp+Zp;
If the chromatic value under the noctovision is (xs,ys), corresponding colourity tristimulus values is Xs,Ys,Zs, three thorn
It is l to swash the sum of values=Xs+Ys+Zs;
Photochromic synthesis is then carried out on the chromatic diagram to obtain the chromatic value under mesopic vision as (xm,ym);Wherein, xm=
(lpxp+lsxs)/(lp+ls), ym=(lpyp+lsys)/(lp+ls)。
Further, the object brightness acquisition module is specifically used for:
If the target is scene, the brightness of the scene is measured using brightness measurement instrument, and passes through photograph
Measurement result is changed into the brightness value of the target by degree instrument;
If the target is picture, the gray value or brightness value of the picture are corrected, obtain the target
Brightness value.
Further, color acquisition module is specifically used under the photopic vision:
If the target be scene, using under the photopic vision spectrum sensitive linearity curve, obtain light source light set a song to music
Line and the object spectra reflectivity curve obtained and the luminance adaptation coefficient, pass through default brightness calculation formula and colourity
Calculation formula calculates respectively, obtains the brightness value and chromatic value under the photopic vision;
If the target is picture, using the luminance adaptation coefficient, brightness value using the target is as being stated clearly
Brightness value under vision, and the pixel color of the picture is converted into chromatic value to obtain the chromatic value under the photopic vision;
Color acquisition module is specifically used under the noctovision:
If the target be scene, using under the noctovision spectrum sensitive linearity curve, obtain light source light set a song to music
Line and the object spectra reflectivity curve obtained and the luminance adaptation coefficient, are calculated by default brightness calculation formula
Brightness value under the noctovision, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as institute
State the chromatic value under noctovision;
If the target is picture, brightness value and the luminance adaptation coefficient using the target are calculated
Brightness value under the noctovision, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as described in
Chromatic value under noctovision.
Further, the luminance adaptation coefficient is obtained by equation below:M=0.767+0.3334log10 (Lmes);
Wherein, m represents the luminance adaptation coefficient, LmesRepresent the adaptation brightness value under the mesopic vision.
Compared with prior art, the present invention advantageous effect is:
Color computational methods under the state provided by the invention based on mesopic vision obtain the brightness value and meter of target first
Calculation obtains luminance adaptation coefficient, using luminance adaptation coefficient be calculated respectively brightness value under photopic vision and chromatic value and
Brightness value and chromatic value under noctovision;Most at last the brightness value under photopic vision and the brightness value under noctovision on a chromaticity diagram into
The photochromic synthesis of row is to obtain brightness value under mesopic vision and by the chromatic value under the photopic vision and the chromatic value under noctovision
Photochromic synthesis is carried out on the chromatic diagram to obtain the chromatic value under mesopic vision.So as to pass through method provided by the present invention
Corresponding color under mesopic vision can fast and accurately be obtained.
Description of the drawings
Fig. 1 is the color computational methods flow chart under a kind of state based on mesopic vision provided in an embodiment of the present invention;
Fig. 2 is the color computing system schematic diagram under a kind of state based on mesopic vision provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As one embodiment of the present invention, as shown in Figure 1, provided by the invention a kind of based under mesopic vision state
Color computational methods, this method includes:
Step S101:The brightness value of target is obtained, the adaptation that the brightness value of the target is converted under mesopic vision is bright
Angle value.Specifically, when target is certain real scene, then the brightness of the scene is measured using brightness measurement instrument,
And pass through the brightness value that measurement result is changed into target by illumination instrument (or other instruments with transformation function);When target is
Picture is that then the gray value or brightness value of picture are corrected, so as to obtain the brightness value of target (known to other parameter value
In the case of, it is calculated using corresponding formula).
Step S102:Luminance adaptation coefficient, the luminance adaptation is calculated using the adaptation brightness value under mesopic vision
Coefficient is used to determine the mutual ratio of photopic vision and noctovision under the mesopic vision.Luminance adaptation coefficient passes through in this implementation
Equation below obtains:M=0.767+0.3334log10 (Lmes);Wherein, m represents luminance adaptation coefficient, LmesRepresent mesopic vision
Under adaptation brightness value.Luminance adaptation Coefficient m is equivalent under photopic vision what rhabdocyte under cone cell and noctovision worked
Ratio.Therefore, it is that can determine that the ratio of photopic vision (i.e. m) and the ratio of noctovision (i.e. 1-m) by step S102.At this
In embodiment, the relevant parameter employed in the calculation formula of luminance adaptation Coefficient m is 0.767,0.3334, which can need
It is modified or changes, that is, calculating the calculation formula of luminance adaptation Coefficient m can be modified or change as needed.
Further, step S102 can also utilize the luminance adaptation on the basis of luminance adaptation Coefficient m has been obtained
Coefficient and mesopic vision luminosity model Vmes(λ)=m × V (λ)+(1-m) × V ' (λ) is calculated, and is drawn under mesopic vision
Spectrum sensitive linearity curve Vmes.Photopic vision ratio at this time is m, and noctovision ratio is 1-m.
Step S103:Corresponding ratio is calculated using the spectrum sensitive linearity curve under photopic vision and luminance adaptation coefficient
Example (brightness value and chromatic value under i.e. above-mentioned photopic vision ratio m) photopic visions.Specifically, when target is scene, then using bright
Spectrum sensitive linearity curve (known) under vision, the light source light spectrum curve obtained and acquisition object spectra reflectivity curve and
The luminance adaptation coefficient by default brightness calculation formula and chrominance distortion formula is calculated, obtains corresponding proportion (m) respectively
Brightness value and chromatic value under photopic vision;When target is picture, then using the brightness value of the step S101 targets obtained as bright
Brightness value (brightness value refers to the brightness value under corresponding proportion photopic vision) under vision, and the pixel color of picture is converted into
Chromatic value is to obtain the chromatic value under photopic vision.
Step S104:Phase is calculated using the spectrum sensitive linearity curve under noctovision and the luminance adaptation coefficient
Answer the brightness value and chromatic value under ratio (i.e. above-mentioned noctovision ratio 1-m) noctovision.Specifically, when the target is scene
When, then using under noctovision spectrum sensitive linearity curve (known), obtain light source light spectrum curve and acquisition object spectra it is anti-
Curve and the luminance adaptation coefficient are penetrated, corresponding proportion (i.e. above-mentioned scotopia is calculated by default brightness calculation formula
The ratio 1-m of feel) brightness value under noctovision, while utilize the luminance adaptation coefficient, i.e., by corresponding proportion (i.e. above-mentioned scotopia
The ratio 1-m of feel) achromatization when equal-energy white chromatic value as the chromatic value under the noctovision.It can be by the achromatization
When equal-energy white chromatic value be transformed under computer colorimetric system or cie color system and be indicated, for example, in CIE colors
Under degree system, equal-energy white chromatic value during achromatization is exactly (0.33333,0.3333) this coordinate;When the target is figure
During piece, then the brightness value using the target and the luminance adaptation coefficient, are calculated corresponding proportion (i.e. above-mentioned noctovision
Ratio 1-m) brightness value under noctovision, while equal-energy white chromatic value during using achromatization is as the color under the noctovision
Angle value (it should be noted that the chromatic value refers to the chromatic value under corresponding proportion 1-m noctovisions).When can be by the achromatization
Equal-energy white chromatic value is transformed under computer colorimetric system or cie color system and is indicated, for example, in cie color body
Under system, equal-energy white chromatic value during achromatization is exactly (0.33333,0.3333) this coordinate.
Step S105:Brightness value under the photopic vision and the brightness value under noctovision are subjected to photochromic conjunction on a chromaticity diagram
Into to obtain brightness value under mesopic vision and by the chromatic value under the photopic vision and the chromatic value under noctovision in the color
Photochromic synthesis is carried out on degree figure to obtain the chromatic value under mesopic vision.Step S105 calculates the tool of the chromatic value under mesopic vision
Body process is as follows:
In the calculation during brightness value under mesopic vision, directly by the brightness value under photopic vision and the brightness value phase under noctovision
Add the brightness value that can obtain under mesopic vision.It should be noted that the light in the case where step S102 from which further follows that mesopic vision
Compose sensitivity curves Vmes, then the brightness value under mesopic vision can also directly utilize spectrum sensitive linearity curve VmesCalculate
It arrives.
In the calculation during chromatic value under mesopic vision, if the chromatic value under the photopic vision is (xp,yp), corresponding color
Degree tristimulus values is Xp,Yp,Zp, the sum of the tristimulus values is lp=Xp+Yp+Zp;If the chromatic value under the noctovision is (xs,
ys), corresponding colourity tristimulus values is Xs,Ys,Zs, the sum of the tristimulus values is ls=Xs+Ys+Zs;Then on the chromatic diagram
Photochromic synthesis is carried out to obtain the chromatic value under mesopic vision as (xm,ym);Wherein, xm=(lpxp+lsxs)/(lp+ls), ym=
(lpyp+lsys)/(lp+ls).It should be noted that the chromatic value under noctovision provided by the present invention is (xs,ys), and pass through
Formula ls=Xs+Ys+ZsThe sum of tristimulus values is calculated, and under actual lighting condition, due to only rod-shaped under noctovision
Cell works, and is equivalent to achromatization under noctovision, so the equal-energy white chromatic value when present invention is using achromatization is as institute
The chromatic value (referring to the explanation of above-mentioned steps S104) under noctovision is stated, then the corresponding chromatic value of noctovision in the present embodiment
(xs,ys) for (0.3333,0.3333), then formula x in the present embodimentm=(lpxp+lsxs)/(lp+ls) beFormula ym=(lpyp+lsys)/(lp+ls) it is ym=(lpyp+0.3333ls)/(lp+ls)。
In conclusion first embodiment of the invention provide based on the color computational methods under mesopic vision state, it is first
It first obtains the brightness value of target and luminance adaptation coefficient is calculated, be calculated respectively under photopic vision using luminance adaptation coefficient
Brightness value and brightness value and chromatic value under chromatic value and noctovision;The most brightness value and noctovision under photopic vision at last
Under brightness value carry out photochromic synthesis on a chromaticity diagram to obtain brightness value under mesopic vision and by the color under the photopic vision
Chromatic value under angle value and noctovision carries out photochromic synthesis to obtain the chromatic value under mesopic vision on the chromatic diagram.So as to
Corresponding color under mesopic vision can fast and accurately be obtained by method provided by the present invention.This method can be used for
Actual illumination place can also be applied to handle picture.
As second embodiment of the present invention, as shown in Fig. 2, being based on mesopic vision state for one kind provided by the invention
Under color computing system, the system comprises:
Object brightness acquisition module 101:For obtaining the brightness value of target, the brightness value of the target is converted into centre
Adaptation brightness value under vision.Specifically, when target is certain real scene, then using brightness measurement instrument to the scene
Brightness measures, and passes through illumination instrument (or other instruments with transformation function) and measurement result is changed into the bright of target
Angle value;When target is for picture, then the gray value or brightness value of picture are corrected, so as to obtain the brightness value of target (
It in the case of other parameter value is known, is calculated using corresponding formula).
Luminance adaptation coefficients calculation block 102:It is fitted for brightness to be calculated using the adaptation brightness value under mesopic vision
Coefficient is answered, the luminance adaptation coefficient is used to determine the mutual ratio of photopic vision and noctovision under the mesopic vision.This reality
Middle luminance adaptation coefficient is applied to obtain by equation below:M=0.767+0.3334log10 (Lmes);Wherein, m represents luminance adaptation
Coefficient, LmesRepresent the adaptation brightness value under mesopic vision.Luminance adaptation Coefficient m is equivalent to cone cell and scotopia under photopic vision
Feel the ratio that lower rhabdocyte works.Therefore, the ratio that can determine that photopic vision by 102 is (i.e. m) and noctovision
Ratio (i.e. 1-m).In the present embodiment, the relevant parameter employed in the calculation formula of luminance adaptation Coefficient m for 0.767,
0.3334, which can need to be modified or change, that is, the calculation formula for calculating luminance adaptation Coefficient m can be as needed
It is modified or changes.
Further, 102 on the basis of luminance adaptation Coefficient m has been obtained, and can also utilize the luminance adaptation coefficient
And mesopic vision luminosity model Vmes(λ)=m × V (λ)+(1-m) × V ' (λ) is calculated, and draws the spectrum under mesopic vision
Sensitivity curves Vmes.Photopic vision ratio at this time is m, and noctovision ratio is 1-m.
Color acquisition module 103 under photopic vision:For utilizing the spectrum sensitive linearity curve and luminance adaptation under photopic vision
Corresponding proportion (brightness value and chromatic value under i.e. above-mentioned photopic vision ratio m) photopic visions is calculated in coefficient.Specifically, target is worked as
For scene when, then utilize the object of spectrum sensitive linearity curve (known) under photopic vision, the light source light spectrum curve obtained and acquisition
Spectral reflectance curve and the luminance adaptation coefficient, are counted respectively by default brightness calculation formula and chrominance distortion formula
It calculates, obtains the brightness value and chromatic value under corresponding proportion (m) photopic vision;When target is picture, then by the target of 101 acquisitions
Brightness value is as the brightness value (brightness value refers to the brightness value under corresponding proportion photopic vision) under photopic vision, and by the picture of picture
Plain color conversion is chromatic value to obtain the chromatic value under photopic vision.
Color acquisition module 104 under noctovision:For utilizing the spectrum sensitive linearity curve under noctovision and the brightness
Brightness value and chromatic value under corresponding proportion (i.e. above-mentioned noctovision ratio 1-m) noctovision is calculated in accommodation coefficient.Specifically,
When the target be scene when, then using under noctovision spectrum sensitive linearity curve (known), obtain light source light spectrum curve and
Phase is calculated by default brightness calculation formula in the object spectra reflectivity curve of acquisition and the luminance adaptation coefficient
The brightness value under ratio (the ratio 1-m of i.e. above-mentioned noctovision) noctovision is answered, while utilizes the luminance adaptation coefficient, Ji Jiangxiang
The equal-energy white chromatic value during achromatization of ratio (the ratio 1-m of i.e. above-mentioned noctovision) is answered as the colourity under the noctovision
Value.Equal-energy white chromatic value when can be by the achromatization is transformed under computer colorimetric system or cie color system and carries out
Represent, for example, under cie color system, equal-energy white chromatic value during achromatization be exactly (0.33333,0.3333) this sit
Mark;When the target is picture, then the brightness value using the target and the luminance adaptation coefficient, are calculated corresponding
Brightness value under ratio (the ratio 1-m of i.e. above-mentioned noctovision) noctovision, while equal-energy white chromatic value during by achromatization is made
For the chromatic value (it should be noted that the chromatic value refers to the chromatic value under corresponding proportion noctovision) under the noctovision.It can
Equal-energy white chromatic value during with by the achromatization is transformed under computer colorimetric system or cie color system and is indicated,
For example, under cie color system, equal-energy white chromatic value during achromatization is exactly (0.33333,0.3333) this coordinate.
Color acquisition module 105 under mesopic vision:For by the brightness value under the photopic vision and the brightness under noctovision
Value carries out the photochromic brightness value for synthesizing to obtain under mesopic vision and on a chromaticity diagram by the chromatic value under the photopic vision and secretly
Chromatic value under vision carries out photochromic synthesis to obtain the chromatic value under mesopic vision on the chromatic diagram.Among 105 calculating
The detailed process of chromatic value under vision is as follows:
In the calculation during brightness value under mesopic vision, directly by the brightness value under photopic vision and the brightness value phase under noctovision
Add the brightness value that can obtain under mesopic vision.It should be noted that the light in the case where step S102 from which further follows that mesopic vision
Compose sensitivity curves Vmes, then the brightness value under mesopic vision can also directly utilize spectrum sensitive linearity curve VmesCalculate
It arrives.
In the calculation during chromatic value under mesopic vision, if the chromatic value under the photopic vision is (xp,yp), corresponding color
Degree tristimulus values is Xp,Yp,Zp, the sum of the tristimulus values is lp=Xp+Yp+Zp;If the chromatic value under the noctovision is (xs,
ys), corresponding colourity tristimulus values is Xs,Ys,Zs, the sum of the tristimulus values is ls=Xs+Ys+Zs;Then on the chromatic diagram
Photochromic synthesis is carried out to obtain the chromatic value under mesopic vision as (xm,ym);Wherein, xm=(lpxp+lsxs)/(lp+ls), ym=
(lpyp+lsys)/(lp+ls).It should be noted that the chromatic value under noctovision provided by the present invention is (xs,ys), and pass through
Formula ls=Xs+Ys+ZsThe sum of tristimulus values is calculated, and under actual lighting condition, due to only rod-shaped under noctovision
Cell works, and is equivalent to achromatization under noctovision, so the equal-energy white chromatic value when present invention is using achromatization is as institute
The chromatic value (referring to the explanation of above-mentioned steps S104) under noctovision is stated, then the corresponding chromatic value of noctovision in the present embodiment
(xs,ys) for (0.3333,0.3333), then formula x in the present embodimentm=(lpxp+lsxs)/(lp+ls) beFormula ym=(lpyp+lsys)/(lp+ls) it is ym=(lpyp+0.3333ls)/(lp+ls)。
In conclusion first embodiment of the invention provide based on the color computational methods under mesopic vision state, it is first
It first obtains the brightness value of target and luminance adaptation coefficient is calculated, be calculated respectively under photopic vision using luminance adaptation coefficient
Brightness value and brightness value and chromatic value under chromatic value and noctovision;The most brightness value and noctovision under photopic vision at last
Under brightness value carry out photochromic synthesis on a chromaticity diagram to obtain brightness value under mesopic vision and by the color under the photopic vision
Chromatic value under angle value and noctovision carries out photochromic synthesis to obtain the chromatic value under mesopic vision on the chromatic diagram.So as to
Corresponding color under mesopic vision can fast and accurately be obtained by method provided by the present invention.This method can be used for
Actual illumination place can also be applied to handle picture.
In conclusion second embodiment of the invention provide based on the color computing system under mesopic vision state, it is first
It first obtains the brightness value of target and luminance adaptation coefficient is calculated, be calculated respectively under photopic vision using luminance adaptation coefficient
Brightness value and brightness value and chromatic value under chromatic value and noctovision;The most brightness value and noctovision under photopic vision at last
Under brightness value carry out photochromic synthesis on a chromaticity diagram to obtain brightness value under mesopic vision and by the color under the photopic vision
Chromatic value under angle value and noctovision carries out photochromic synthesis to obtain the chromatic value under mesopic vision on the chromatic diagram.So as to
Corresponding color under mesopic vision can fast and accurately be obtained by method provided by the present invention.The system can be used for
Actual illumination place can also be applied to handle picture.
As the 3rd embodiment of the present invention, the method that one embodiment is provided is applied to road lighting scene
In, corresponding brightness value (i.e. target brightness value) is measured according to road lighting scene first, further obtains luminance adaptation system
Number (i.e. the mutual ratio of photopic vision and noctovision) so according to the photopic vision ratio be calculated brightness value under photopic vision and
Chromatic value, the brightness value and chromatic value being calculated according to the noctovision ratio under noctovision, finally by by under photopic vision and
Brightness value, chromatic value under noctovision are respectively synthesized, and obtain the color state under the mesopic vision state of road lighting.This method
It is simple and convenient, the application of road lighting is more conducive to, road lighting is helped to reach higher, more targeted illumination effect
Fruit.
As the 4th embodiment of the present invention, the method that one embodiment is provided is applied in picture processing,
The gray value of picture or brightness value are corrected to corresponding brightness value (i.e. target brightness value) first, further obtain brightness
It accommodation coefficient (i.e. the mutual ratio of photopic vision and noctovision) and then is calculated according to the photopic vision ratio bright under photopic vision
Angle value and chromatic value, the brightness value and chromatic value being calculated according to the noctovision ratio under noctovision, finally by by photopic vision
Feel lower and the brightness value under noctovision, chromatic value be respectively synthesized, obtain brightness and the colourity that picture is under mesopic vision state,
So as to carry out corresponding correction process to picture using the brightness under the mesopic vision state and colourity, more met
The picture of demand.
It, can be on the basis of the method provided in first embodiment of the invention as the 5th embodiment of the present invention
Picture in photopic vision scene is further converted to the effect under mesopic vision.First by the gray value of picture or
Brightness value is corrected to corresponding brightness value (i.e. target brightness value), further obtain luminance adaptation coefficient (i.e. photopic vision with it is dark
The mutual ratio of vision) and then brightness value under photopic vision and chromatic value, dark according to this are calculated according to the photopic vision ratio
Brightness value and chromatic value under noctovision is calculated in vision ratio, finally by by under photopic vision and noctovision under brightness
Value, chromatic value are respectively synthesized, and brightness and the colourity that picture is under mesopic vision state are obtained, at this point, the picture can be drawn
Visual brightness effective scope under mesopic vision state, so as to using the scope to the picture under original photopic vision state into
The corresponding brightness transition of row, while according to the brightness range, carry out chrominance distortion and conversion.It is final to realize picture in different visions
It is converted under state, reaches different visual effects.
The foregoing is merely illustrative of the preferred embodiments of the present invention, all in spirit of the invention not to limit invention
With all any modification, equivalent and improvement made within principle etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of color computational methods under state based on mesopic vision, which is characterized in that the described method includes:
Obtain the brightness value of target, the adaptation brightness value brightness value of the target being converted under mesopic vision;
Luminance adaptation coefficient is calculated using the adaptation brightness value under the mesopic vision;
The brightness value under photopic vision is calculated using the spectrum sensitive linearity curve under photopic vision and the luminance adaptation coefficient
And chromatic value;
The brightness value under noctovision is calculated using the spectrum sensitive linearity curve under noctovision and the luminance adaptation coefficient
And chromatic value;
Brightness value under the photopic vision and the brightness value under noctovision are carried out to photochromic synthesis on a chromaticity diagram to obtain centre
Brightness value under vision and the chromatic value under the photopic vision and the chromatic value under noctovision are subjected to light on the chromatic diagram
Color synthesizes to obtain the chromatic value under mesopic vision.
2. the method as described in claim 1, which is characterized in that under the chromatic value and noctovision by under the photopic vision
Chromatic value carries out photochromic synthesis on the chromatic diagram and is specifically included with obtaining the chromatic value under mesopic vision:
If the chromatic value under the photopic vision is (xp,yp), corresponding colourity tristimulus values is Xp,Yp,Zp, the tristimulus values
The sum of be lp=Xp+Yp+Zp;
If the chromatic value under the noctovision is (xs,ys), corresponding colourity tristimulus values is Xs,Ys,Zs, the tristimulus values
The sum of be ls=Xs+Ys+Zs;
Photochromic synthesis is then carried out on the chromatic diagram to obtain the chromatic value under mesopic vision as (xm,ym);Wherein, xm=(lpxp+
lsxs)/(lp+ls), ym=(lpyp+lsys)/(lp+ls)。
3. the method as described in claim 1, which is characterized in that the brightness value for obtaining target specifically includes:
If the target is scene, the brightness of the scene is measured using brightness measurement instrument, and passes through illumination instrument
Measurement result is changed into the brightness value of the target by device;
If the target is picture, the gray value or brightness value of the picture are corrected, obtain the brightness of the target
Value.
4. method as claimed in claim 3, which is characterized in that the spectrum sensitive linearity curve using under photopic vision and
The brightness value and chromatic value that the luminance adaptation coefficient is calculated under photopic vision specifically include:
If the target is scene, using under the photopic vision spectrum sensitive linearity curve, the light source light spectrum curve that obtains and
The object spectra reflectivity curve of acquisition and the luminance adaptation coefficient, pass through default brightness calculation formula and chrominance distortion
Formula calculates respectively, obtains the brightness value and chromatic value under the photopic vision;
If the target is picture, using the luminance adaptation coefficient, using the brightness value of the target as the photopic vision
Under brightness value, and the pixel color of the picture is converted into chromatic value to obtain the chromatic value under the photopic vision;
The spectrum sensitive linearity curve using under noctovision and the luminance adaptation coefficient are calculated bright under noctovision
Angle value and chromatic value specifically include:
If the target is scene, using under the noctovision spectrum sensitive linearity curve, the light source light spectrum curve that obtains and
Institute is calculated by default brightness calculation formula in the object spectra reflectivity curve of acquisition and the luminance adaptation coefficient
The brightness value under noctovision is stated, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as described dark
Chromatic value under vision;
If the target is picture, brightness value and the luminance adaptation coefficient using the target, it is calculated described
Brightness value under noctovision, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as the scotopia
Chromatic value under feeling.
5. the method as described in claim 1, which is characterized in that the luminance adaptation coefficient is obtained by equation below:M=
0.767+0.3334log10(Lmes);
Wherein, m represents the luminance adaptation coefficient, LmesRepresent the adaptation brightness value under the mesopic vision.
6. a kind of color computing system under state based on mesopic vision, which is characterized in that the system comprises:
For obtaining the brightness value of target, the brightness value of the target is converted under mesopic vision for object brightness acquisition module
Adaptation brightness value;
Luminance adaptation coefficients calculation block, for luminance adaptation system to be calculated using the adaptation brightness value under the mesopic vision
Number;
Color acquisition module under photopic vision, for utilizing the spectrum sensitive linearity curve under photopic vision and the luminance adaptation system
Brightness value and chromatic value under photopic vision is calculated in number;
Color acquisition module under noctovision, for utilizing the spectrum sensitive linearity curve under noctovision and the luminance adaptation system
Brightness value and chromatic value under noctovision is calculated in number;
Color acquisition module under mesopic vision, for by the brightness value under the photopic vision and the brightness value under noctovision in colourity
Photochromic synthesis is carried out on figure to obtain the brightness value under mesopic vision and will be under the chromatic value under the photopic vision and noctovision
Chromatic value carries out photochromic synthesis to obtain the chromatic value under mesopic vision on the chromatic diagram.
7. system as claimed in claim 6, which is characterized in that color acquisition module is specifically used under the mesopic vision:
If the chromatic value under the photopic vision is (xp,yp), corresponding colourity tristimulus values is Xp,Yp,Zp, the tristimulus values
The sum of be lp=Xp+Yp+Zp;
If the chromatic value under the noctovision is (xs,ys), corresponding colourity tristimulus values is Xs,Ys,Zs, the tristimulus values
The sum of be ls=Xs+Ys+Zs;
Photochromic synthesis is then carried out on the chromatic diagram to obtain the chromatic value under mesopic vision as (xm,ym);Wherein, xm=(lpxp+
lsxs)/(lp+ls), ym=(lpyp+lsys)/(lp+ls)。
8. system as claimed in claim 6, which is characterized in that the object brightness acquisition module is specifically used for:
If the target is scene, the brightness of the scene is measured using brightness measurement instrument, and passes through illumination instrument
Measurement result is changed into the brightness value of the target by device;
If the target is picture, the gray value or brightness value of the picture are corrected, obtain the brightness of the target
Value.
9. system as claimed in claim 8, which is characterized in that color acquisition module is specifically used under the photopic vision:
If the target is scene, using under the photopic vision spectrum sensitive linearity curve, the light source light spectrum curve that obtains and
The object spectra reflectivity curve of acquisition and the luminance adaptation coefficient, pass through default brightness calculation formula and chrominance distortion
Formula calculates respectively, obtains the brightness value and chromatic value under the photopic vision;
If the target is picture, using the luminance adaptation coefficient, using the brightness value of the target as the photopic vision
Under brightness value, and the pixel color of the picture is converted into chromatic value to obtain the chromatic value under the photopic vision;
Color acquisition module is specifically used under the noctovision:
If the target is scene, using under the noctovision spectrum sensitive linearity curve, the light source light spectrum curve that obtains and
Institute is calculated by default brightness calculation formula in the object spectra reflectivity curve of acquisition and the luminance adaptation coefficient
The brightness value under noctovision is stated, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as described dark
Chromatic value under vision;
If the target is picture, brightness value and the luminance adaptation coefficient using the target, it is calculated described
Brightness value under noctovision, using the luminance adaptation coefficient, equal-energy white chromatic value during using achromatization is as the scotopia
Chromatic value under feeling.
10. system as claimed in claim 6, which is characterized in that the luminance adaptation coefficient is obtained by equation below:M=
0.767+0.3334log10(Lmes);
Wherein, m represents the luminance adaptation coefficient, LmesRepresent the adaptation brightness value under the mesopic vision.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711216665.6A CN108053451A (en) | 2017-11-28 | 2017-11-28 | Color computational methods and system under a kind of state based on mesopic vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711216665.6A CN108053451A (en) | 2017-11-28 | 2017-11-28 | Color computational methods and system under a kind of state based on mesopic vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108053451A true CN108053451A (en) | 2018-05-18 |
Family
ID=62120913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711216665.6A Pending CN108053451A (en) | 2017-11-28 | 2017-11-28 | Color computational methods and system under a kind of state based on mesopic vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108053451A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112329251A (en) * | 2020-11-11 | 2021-02-05 | 大连海事大学 | Target contrast calculation method used in mesopic vision characteristic category |
-
2017
- 2017-11-28 CN CN201711216665.6A patent/CN108053451A/en active Pending
Non-Patent Citations (1)
Title |
---|
谈茜: "中间视觉下LED光度特性及LED光谱模型研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112329251A (en) * | 2020-11-11 | 2021-02-05 | 大连海事大学 | Target contrast calculation method used in mesopic vision characteristic category |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103079076B (en) | Method and device for generating color calibration matrix of self-adaption gamma calibration curve | |
US6594384B1 (en) | Apparatus and method for estimating and converting illuminant chromaticity using perceived illumination and highlight | |
CN107346653B (en) | GAMMA curve adjusting method and device based on deep learning | |
CN110192241A (en) | Control the brightness of emissive display | |
CN102663741B (en) | Method for carrying out visual stereo perception enhancement on color digit image and system thereof | |
CN103248793B (en) | The colour of skin optimization method of gamut conversion system and device | |
CN108010024A (en) | It is a kind of blind with reference to tone mapping graph image quality evaluation method | |
US20050219380A1 (en) | Digital camera for determining chromaticity coordinates and related color temperature of an object and method thereof | |
CN104217409A (en) | Image color correction method based on simulated annealing optimization algorithm | |
CN104574371A (en) | High dynamic color digital camera characterization calibration method | |
CN112992039B (en) | Real-time acquisition method for optical radiation visual health information of display screen | |
JP2011135216A (en) | Evaluation method of display device | |
CN107949862A (en) | Image processor | |
CN108051376A (en) | A kind of spectrum reconstruction method based on RGB color camera image | |
CN107680142A (en) | Improve the method for the overlapping mapping of overseas color | |
CN107040776B (en) | A kind of video quality evaluation method based on high dynamic range | |
CN106709888B (en) | A kind of high dynamic range images production method based on human vision model | |
Finlayson et al. | Root-polynomial colour correction | |
CN104092919B (en) | Chromatic adaptation transformation optimizing method and system for color digital imaging system | |
JP2008129162A (en) | Video conversion processing method and video conversion system | |
CN108053451A (en) | Color computational methods and system under a kind of state based on mesopic vision | |
CN102419861A (en) | Color image correcting method based on topology subdivision of uniform color space | |
Darling et al. | Real-time multispectral rendering with complex illumination | |
CN110399633B (en) | Display color management implementation method capable of correcting glare influence | |
JP4174707B2 (en) | Spectroscopic measurement system, color reproduction system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |