CN106325665B - Display control method and electronic equipment - Google Patents

Display control method and electronic equipment Download PDF

Info

Publication number
CN106325665B
CN106325665B CN201510389141.1A CN201510389141A CN106325665B CN 106325665 B CN106325665 B CN 106325665B CN 201510389141 A CN201510389141 A CN 201510389141A CN 106325665 B CN106325665 B CN 106325665B
Authority
CN
China
Prior art keywords
color
display
printed
displayed
determining
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.)
Active
Application number
CN201510389141.1A
Other languages
Chinese (zh)
Other versions
CN106325665A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510389141.1A priority Critical patent/CN106325665B/en
Publication of CN106325665A publication Critical patent/CN106325665A/en
Application granted granted Critical
Publication of CN106325665B publication Critical patent/CN106325665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a display control method and electronic equipment, wherein the method comprises the following steps: acquiring environmental parameter values of a current environment where a display unit of the electronic equipment is located in N dimensions; determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed; determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity; and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.

Description

Display control method and electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a display control method and an electronic device.
Background
With the development of electronic technology, more and more electronic devices are appearing in people's work and life, for example: smart phones, smart watches, tablet computers, notebook computers, printers, and the like. People can watch the picture of the electronic edition on the electronic equipment with the display unit, and can also print the picture of the electronic edition by using a printer to watch the picture of the paper edition.
However, due to different principles of display and printing, different color parameters, different color gamuts, different three primary colors of different display units, and different inks of the printer, as well as the ambient light to which the display units and the printer are exposed, may cause the displayed and printed colors to be very different. Therefore, the technical problems existing in the prior art are as follows: the displayed color is not consistent with the printed color.
Disclosure of Invention
The embodiment of the invention provides a display control method and electronic equipment, which are used for solving the technical problem that the displayed color is inconsistent with the printed color in the prior art.
A first aspect of an embodiment of the present invention provides a display control method, including:
acquiring environmental parameter values of a current environment where a display unit of the electronic equipment is located in N dimensions;
determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed;
determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity;
and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Optionally, the determining, according to the reflectances of the respective printing primary colors constituting the colors to be printed in the N dimensions corresponding to the current environment and the amounts of ink of the respective printing primary colors occupying the colors to be printed, the reflectances of the colors to be printed in the N dimensions corresponding to the current environment includes:
and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed, corresponding to the current state, in the ith dimension and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed, corresponding to the current state, in the ith dimension.
Optionally, the determining, according to the environmental parameter value and the reflectivity, a to-be-displayed parameter value of the to-be-printed color in the N dimensions, which corresponds to the current state, includes:
and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
Optionally, the determining, according to the parameter value to be displayed, a display color displayed on the display unit corresponding to the color to be printed includes:
determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
Optionally, the determining, according to the parameter value of the display primary color of the display unit, a conversion matrix for converting the parameter value to be displayed into the display color includes:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit;
and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
A second aspect of an embodiment of the present invention provides an electronic device, including:
a housing;
the display screen is arranged at a first position of the shell;
a storage unit disposed within the housing for storing at least one program module;
the at least one processor is arranged in the shell and used for acquiring environment parameter values of the current environment where a display unit of the electronic equipment is located in N dimensions by acquiring and running the at least one program module; determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed; determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity; and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Optionally, the at least one processor is configured to:
and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed, corresponding to the current state, in the ith dimension and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed, corresponding to the current state, in the ith dimension.
Optionally, the at least one processor is configured to:
and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
Optionally, the at least one processor is configured to:
determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
Optionally, the at least one processor is configured to:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit;
and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
in the embodiment of the invention, the environmental parameter values of the current environment of the display unit of the electronic equipment in N dimensions are firstly obtained; then, according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed, determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment; then, according to the environmental parameter values and the reflectivity, determining to-be-displayed parameter values of the to-be-printed color in the N dimensions, which correspond to the current state; and finally, determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Thus, the displayed colors are remapped for the color and reflective properties of the printer ink in conjunction with the light environment in which the printer and display unit are located, so that the displayed colors coincide with the printed colors in the light environment. The technical problem that displayed colors and printed colors are inconsistent in the prior art is solved. The consistency of display and printing is ensured, and the display is more natural, soft and healthy.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a flowchart of a display control method according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of step 14 in the display control method according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a display control method and electronic equipment, which are used for solving the technical problem that the displayed color is inconsistent with the printed color in the prior art.
In the embodiment of the invention, the environmental parameter values of the current environment of the display unit of the electronic equipment in N dimensions are firstly obtained; then, according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed, determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment; then, according to the environmental parameter values and the reflectivity, determining to-be-displayed parameter values of the to-be-printed color in the N dimensions, which correspond to the current state; and finally, determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Thus, the displayed colors are remapped for the color and reflective properties of the printer ink in conjunction with the light environment in which the printer and display unit are located, so that the displayed colors coincide with the printed colors in the light environment. The technical problem that displayed colors and printed colors are inconsistent in the prior art is solved. The consistency of display and printing is ensured, and the display is more natural, soft and healthy.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a display control method, which is applied to electronic equipment with a display unit. The electronic device may be a smartphone, a smart watch, a tablet computer, a laptop computer, or the like. The display unit can be a touch display screen, a liquid crystal display screen, a flexible display screen and the like.
Referring to fig. 1, fig. 1 is a flowchart of a display control method according to an embodiment of the present invention. The method comprises the following steps:
step 11: acquiring environmental parameter values of a current environment where a display unit of the electronic equipment is located in N dimensions;
step 12: determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed;
step 13: determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity;
step 14: and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Step 11 will be described first in detail.
The value of N in step 11 depends on the dimension of the current environment in which the display unit is located. For example: and if the current environment of the display unit is a three-dimensional space, N is 3. The display control method provided by the embodiment of the invention is explained by taking 3 as an example of N. For convenience of description, 3 dimensions are expressed by X direction, Y direction, and Z direction. Step 11 is executed to obtain the environmental parameter values of the current environment where the display unit is located in the X direction, the Y direction and the Z direction, that is, the light intensity value in the X direction, the light intensity value in the Y direction and the light intensity value in the Z direction, which are respectively used herein as XRing (C)、YRing (C)、ZRing (C)The light intensity value in the X direction, the light intensity value in the Y direction and the light intensity value in the Z direction of the current environment where the display unit is located are represented.
Step 12 will be described in detail below.
Before step 12 is executed, the reflectivities of the printing primary colors constituting the color to be printed, which correspond to the current environment in the N dimensions, are determined, and the ink amounts of the printing primary colors occupying the color to be printed are also determined.
Specifically, the respective printing process colors constituting the color to be printed are determined by the printer. Assuming that the printer is a CMYK four-color printer, where CMYK represents cyan, magenta, yellow, and black, respectively, the respective printing process colors constituting the colors to be printed are: cyan, magenta, yellow, black.
Next, reflectivities of the respective printing primary colors in N dimensions corresponding to the current environment in which the display unit is located are determined. Since the reflectance of each printing primary color in N dimensions may vary depending on the current environment in which the display unit is located, it is necessary to determine the reflectance of each printing color in N dimensions corresponding to the current environment in which the display unit is located.
For example: the respective printing primary colors are: cyan, magenta, yellow, and black, the sum X of the cyan in the X direction, Y direction, and Z direction is determinedRing (C)、YRing (C)、ZRing (C)The corresponding reflectivities are: f. ofX(C),fY(C),fZ(C) (ii) a X, Y, and Z of magentaRing (C)、YRing (C)、ZRing (C)The corresponding reflectivities are: f. ofX(M),fY(M),fZ(M); yellow in X, Y, Z and X directionsRing (C)、YRing (C)、ZRing (C)The corresponding reflectivities are: f. ofX(Y),fY(Y),fZ(Y); black in X, Y, Z directions and XRing (C)、YRing (C)、ZRing (C)The corresponding reflectivities are: f. ofX(K),fY(K),fZ(K)。
The amount of ink in each of the printing process colors occupying the color to be printed is determined by the color to be printed. The colors to be printed are formed by mixing inks having respective primary printing colors. For convenience of presentation, Color is usedPrintingRepresenting the color to be printed. For example: the printing primary colors are respectively as follows: cyan, magenta, yellow and black, the Color can be determined to be printedPrintingEach need CInk volume、MInk volume、YInk volume、KInk volume
After the above steps are performed, the determination of the reflectivity of the color to be printed in the N dimensions corresponding to the current environment in step 12 is performed. The method specifically comprises the following steps: and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed, corresponding to the current state, in the ith dimension and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed, corresponding to the current state, in the ith dimension.
Specifically, the color to be printed is formed by mixing inks of respective printing primary colors, and the reflectance of each printing primary color in N dimensions corresponding to the current environment in which the display unit is located has been determined, so that the reflectance of the color to be printed in one dimension corresponding to the current environment in which the display unit is located is equal to: the reflectivity of each printing primary color in the dimension corresponding to the current environment where the display unit is located is multiplied by the ink amount of each printing color in the color to be printed.
For example: by fX(ColorPrinting)、fY(ColorPrinting)、fZ(ColorPrinting) Respectively represent ColorPrintingReflectance in the X direction, ColorPrintingReflectance in Y-direction and ColorPrintingReflectivity in the Z direction, then
fX(ColorPrinting)=CInk volume*fX(C)+MInk volume*fX(M)+YInk volume*fX(Y)+KInk volume*fX(K);
fY(ColorPrinting)=CInk volume*fY(C)+MInk volume*fY(M)+YInk volume*fY(Y)+KInk volume*fY(K);
fZ(ColorPrinting)=CInk volume*fZ(C)+MInk volume*fZ(M)+YInk volume*fZ(Y)+KInk volume*fZ(K)。
Step 13 will be described in detail below.
Executing step 13, using the environmental parameter values of the current environment where the display unit is located in step 11 in N dimensions, and the reflectivity of the color to be printed in step 12 in N dimensions corresponding to the current environment, where step 13 specifically includes: the method comprises the following steps: and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
Specifically, the reflectance of the color to be printed in one dimension corresponding to the current environment in which the display unit is located is equal to: the reflectivity of the color to be printed in the dimension corresponding to the current environment in which the display unit is located is multiplied by the environment parameter value of the current environment in the dimension in which the display unit is located.
For example: by XX(ColorPrinting)、YY(ColorPrinting)、ZZ(ColorPrinting) Respectively represent ColorPrintingParameter value to be displayed, Color, in X-directionPrintingParameter value to be displayed in Y direction and ColorPrintingThe parameter value to be displayed in the Z direction, then
XX(ColorPrinting)=fX(ColorPrinting)*XRing (C)
YY(ColorPrinting)=fY(ColorPrinting)*YRing (C)
ZZ(ColorPrinting)=fZ(ColorPrinting)*ZRing (C);。
Finally, step 14 will be described in detail.
Step 14 maps the parameter values to be displayed of the colors to be printed in the N dimensions corresponding to the current state of the display unit to the display colors on the display unit. As shown in fig. 2, step 14 specifically includes:
step 141: determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
step 142: determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
step 143: and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
Wherein step 141 comprises:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit; and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
Specifically, the display primary colors of the display unit are determined by the display unit. Assuming that the display unit is a RGB three-color display unit, where RGB represents red, green, and blue, respectively, the display primaries of the display unit are: red, green and blue, known as the three primary colors.
The range of colors that can be displayed by the display unit is the color gamut of the display unit, and the wider the color gamut of the display unit, the greater the number of colors that can be displayed by the display unit. For the RGB three-color display unit, it may be determined that coordinates of red, green, and blue colors in a color gamut of the RGB three-color display unit are respectively (X)R,YR)、(XG,YG)、(XB,YB) And determining the brightness values of red, green and blue displayed on the RGB three-color display unit to be L respectivelyR、LG、LBA conversion matrix H for converting the parameter values to be displayed into the display colorsAComprises the following steps:
according to a matrix HAThe matrix H can be obtainedBSum matrix HC:
Obtain the matrix HCIs transposed matrix HDThen obtain matrix HDInverse matrix H ofE. Finally obtaining the compound of formula XX(ColorPrinting)、YY(ColorPrinting)、ZZ(ColorPrinting) To ColorPrintingConversion matrix H for displaying tristimulus values of colors r, g, b on display unitT
Then r is t11*XX(ColorPrinting)+t12*YY(ColorPrinting)+t13*ZZ(ColorPrinting);
g=t21*XX(ColorPrinting)+t22*YY(ColorPrinting)+t23*ZZ(ColorPrinting);
b=t31*XX(ColorPrinting)+t32*YY(ColorPrinting)+t33*ZZ(ColorPrinting)
Finally, the gray scale value of the RGB which should be displayed by the display unit is calculated:
wherein L isleakageFor the purpose of inputting a parameter, the light quantity representing the leakage of the display unit may be set to L, for exampleleakage=0.3290,Lredmax=a13,Lgreenmax=a23,Lbluemax=a33red gammagreen gammablue gammaThe acquisition is prior art and will not be described herein.
After the step 143 is executed, the color to be printed may be mapped to the gray scale value of RGB that should be displayed by the display unit, and then the color to be printed is displayed according to the gray scale value of RGB that should be displayed by the display unit, so that the color to be printed is consistent with the color to be displayed.
Based on the same inventive concept, the embodiment of the invention also provides the electronic equipment. Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device includes:
a housing 111;
a display screen 112 disposed at a first position of the housing;
a storage unit 113 provided in the housing for storing at least one program module;
at least one processor 114 disposed in the housing, the at least one processor being configured to obtain, by obtaining and executing the at least one program module, environment parameter values of N dimensions of a current environment in which a display unit of the electronic device is located; determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed; determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity; and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Optionally, the at least one processor 114 is configured to:
and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed, corresponding to the current state, in the ith dimension and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed, corresponding to the current state, in the ith dimension.
Optionally, the at least one processor 114 is configured to:
and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
Optionally, the at least one processor 114 is configured to:
determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
Optionally, the at least one processor 114 is configured to:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit;
and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
in the embodiment of the invention, the environmental parameter values of the current environment of the display unit of the electronic equipment in N dimensions are firstly obtained; then, according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed, determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment; then, according to the environmental parameter values and the reflectivity, determining to-be-displayed parameter values of the to-be-printed color in the N dimensions, which correspond to the current state; and finally, determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Thus, the displayed colors are remapped for the color and reflective properties of the printer ink in conjunction with the light environment in which the printer and display unit are located, so that the displayed colors coincide with the printed colors in the light environment. The technical problem that displayed colors and printed colors are inconsistent in the prior art is solved. The consistency of display and printing is ensured, and the display is more natural, soft and healthy.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the display control method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to the display control method in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring environmental parameter values of a current environment where a display unit of the electronic equipment is located in N dimensions;
determining the reflectivity of the color to be printed in the N dimensions corresponding to the current environment according to the reflectivity of each printing primary color forming the color to be printed in the N dimensions corresponding to the current environment and the ink quantity of each printing primary color occupying the color to be printed;
determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity;
and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
Optionally, the step of storing in the storage medium: determining reflectances of colors to be printed in the N dimensions corresponding to the current environment from reflectances of respective printing primaries constituting the colors to be printed in the N dimensions corresponding to the current environment and amounts of ink of the respective printing primaries occupying the colors to be printed, the corresponding computer instructions when executed comprising the steps of:
and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed, corresponding to the current state, in the ith dimension and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed, corresponding to the current state, in the ith dimension.
Optionally, the step of storing in the storage medium: determining values of to-be-displayed parameters of the to-be-printed color in the N dimensions corresponding to the current state according to the environmental parameter values and the reflectivity, wherein the corresponding computer instructions when executed comprise the following steps:
and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
Optionally, the step of storing in the storage medium: and determining a display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed, wherein the corresponding computer instruction comprises the following steps when being executed:
determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
Optionally, the step of storing in the storage medium: the method comprises the following steps of determining a conversion matrix for converting the parameter values to be displayed into the display colors according to the parameter values of the display primary colors of the display unit, wherein the corresponding computer instructions comprise the following steps:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit;
and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A display control method comprising:
acquiring environmental parameter values of a current environment where a display unit of the electronic equipment is located in N dimensions;
determining the reflectivity of the color to be printed corresponding to the current environment in the N dimensions according to the reflectivity of each printing primary color forming the color to be printed corresponding to the current environment in the N dimensions and the ink volume of each printing primary color occupying the color to be printed;
determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity;
and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
2. The method as claimed in claim 1, wherein said determining the reflectance of said color to be printed in said N dimensions corresponding to said current environment based on the reflectance of each of the primary printing colors constituting said color to be printed in said N dimensions corresponding to said current environment and the amount of ink of said each primary printing color occupying said color to be printed comprises:
and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed, corresponding to the current state, in the ith dimension and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed, corresponding to the current state, in the ith dimension.
3. The method of claim 1, wherein said determining values of parameters to be displayed for the colors to be printed in the N dimensions corresponding to the current state based on the values of the environmental parameters and the reflectivity comprises:
and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
4. The method according to claim 1, wherein the determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed comprises:
determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
5. The method as claimed in claim 4, wherein said determining a conversion matrix for converting the parameter values to be displayed into the display colors from the parameter values of the display primaries of the display unit comprises:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit;
and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
6. An electronic device, comprising:
a housing;
the display screen is arranged at a first position of the shell;
a storage unit disposed within the housing for storing at least one program module;
the at least one processor is arranged in the shell and used for acquiring environment parameter values of the current environment where a display unit of the electronic equipment is located in N dimensions by acquiring and running the at least one program module; determining the reflectivity of the color to be printed corresponding to the current environment in the N dimensions according to the reflectivity of each printing primary color forming the color to be printed corresponding to the current environment in the N dimensions and the ink volume of each printing primary color occupying the color to be printed; determining to-be-displayed parameter values of the to-be-printed color in the N dimensions corresponding to the current state according to the environment parameter values and the reflectivity; and determining the display color displayed on the display unit corresponding to the color to be printed according to the parameter value to be displayed.
7. The electronic device of claim 6, wherein the at least one processor is to:
and sequentially taking i from 1 to N, and taking the product of the reflectivity of each printing primary color forming the color to be printed in the ith dimension corresponding to the current state and the ink quantity of each printing primary color occupying the color to be printed as the reflectivity of the color to be printed in the ith dimension corresponding to the current state.
8. The electronic device of claim 6, wherein the at least one processor is to:
and sequentially taking i from 1 to N, and taking the product of the environment parameter value of the current environment in the ith dimension and the reflectivity of the color to be printed in the ith dimension corresponding to the current state as the parameter value to be displayed of the color to be printed in the ith dimension corresponding to the current state.
9. The electronic device of claim 6, wherein the at least one processor is to:
determining a conversion matrix for converting the parameter value to be displayed into the display color according to the parameter value of the display primary color of the display unit;
determining parameter values of all display primary colors forming the display color by using the parameter values to be displayed and the conversion matrix;
and determining the gray value of each display primary color forming the display color according to the color range which can be displayed by the display unit, the parameter value of each display primary color forming the display color and the corresponding relation between the parameter value and the gray value of each display primary color forming the display color.
10. The electronic device of claim 9, wherein the at least one processor is to:
determining coordinate values of the display primary colors of the display unit in a color range which can be displayed by the display unit;
and taking the coordinate values and the brightness values of the display primary colors as elements forming the conversion matrix.
CN201510389141.1A 2015-07-03 2015-07-03 Display control method and electronic equipment Active CN106325665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510389141.1A CN106325665B (en) 2015-07-03 2015-07-03 Display control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510389141.1A CN106325665B (en) 2015-07-03 2015-07-03 Display control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106325665A CN106325665A (en) 2017-01-11
CN106325665B true CN106325665B (en) 2019-12-24

Family

ID=57727397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510389141.1A Active CN106325665B (en) 2015-07-03 2015-07-03 Display control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106325665B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110143067B (en) * 2019-04-26 2020-07-03 深圳市金城保密技术有限公司 Double-sided printing control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003255923A (en) * 2002-02-28 2003-09-10 Oki Data Corp Method and device for color scheme processing
JP2007189632A (en) * 2006-01-16 2007-07-26 Seiko Epson Corp Color converting device, color converting method, color conversion program and test pattern
CN101462413A (en) * 2007-12-21 2009-06-24 精工爱普生株式会社 Print control apparatus, print data generating apparatus and print system
CN103270745A (en) * 2010-12-07 2013-08-28 株式会社隆创 Color processing method, color processing device, and color processing system
CN104347050A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Method for adjusting parameters and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003255923A (en) * 2002-02-28 2003-09-10 Oki Data Corp Method and device for color scheme processing
JP2007189632A (en) * 2006-01-16 2007-07-26 Seiko Epson Corp Color converting device, color converting method, color conversion program and test pattern
CN101462413A (en) * 2007-12-21 2009-06-24 精工爱普生株式会社 Print control apparatus, print data generating apparatus and print system
CN103270745A (en) * 2010-12-07 2013-08-28 株式会社隆创 Color processing method, color processing device, and color processing system
CN104347050A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Method for adjusting parameters and electronic equipment

Also Published As

Publication number Publication date
CN106325665A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US10861416B2 (en) Method of performing color gamut conversion and display device employing the same
US10102463B2 (en) Two-dimensional code generation device, two-dimensional code generation method, and non-transitory computer-readable recording medium
CN107978289B (en) Driving method and driving device of display device
CN109166159A (en) Obtain the method, apparatus and terminal of the dominant hue of image
US7573596B2 (en) Systems and methods for facilitating user adjustment of print settings
TWI597708B (en) Electronic display
US20210335183A1 (en) Display control method and device for n-primary-color display panel, and display device
US20190037085A1 (en) Image processing apparatus, image processing method and storage medium
CN101751904B (en) Method for color enhancement
JP2015523593A5 (en)
CN113238829A (en) Background color generation method and device, electronic equipment and storage medium
US9406276B2 (en) Systems and methods for combining images into a file using multiple color palettes
US20080123949A1 (en) System, medium, and method converting colors
CN106325665B (en) Display control method and electronic equipment
US7656414B2 (en) System and method for determination of gray for CIE color conversion using chromaticity
US10276082B2 (en) Color adjustment device, color processing method, and storage medium
CN107767825B (en) Method, apparatus, and computer-readable storage medium for color configuration of display apparatus
US11122179B2 (en) Image processing apparatus and non-transitory computer readable medium
CN103377640A (en) Method and computing device of accommodating dynamic ranges in a cone space model
JP2015156204A (en) Printer driver, printer driver print control method, printer driver print control program, and recording medium
CN107919103A (en) Multiple bases conversion method, driving method, readable storage medium storing program for executing and display device
JP2019205104A (en) Information processing apparatus, information processing method, and program
US10791241B1 (en) Vector pattern macro gloss
CN105427816A (en) Information processing method and electronic equipment
TW201835745A (en) Live wallpaper display method, electronic device and non-transitory computer readable storage medium

Legal Events

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