CN113362747A - Information processing method, device and equipment and storage medium - Google Patents
Information processing method, device and equipment and storage medium Download PDFInfo
- Publication number
- CN113362747A CN113362747A CN202110349598.5A CN202110349598A CN113362747A CN 113362747 A CN113362747 A CN 113362747A CN 202110349598 A CN202110349598 A CN 202110349598A CN 113362747 A CN113362747 A CN 113362747A
- Authority
- CN
- China
- Prior art keywords
- color
- image
- display screen
- information processing
- acquisition device
- 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
- 230000010365 information processing Effects 0.000 title claims abstract description 42
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000012937 correction Methods 0.000 claims abstract description 43
- 239000003086 colorant Substances 0.000 claims description 28
- 238000000034 method Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 239000011248 coating agent Substances 0.000 description 2
- 238000000576 coating method Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2003—Display of colours
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The embodiment of the application discloses an information processing method, an information processing device, information processing equipment and a storage medium, wherein a first image acquired by an image acquisition device aiming at a color card is displayed through a display screen of electronic equipment, a second image is acquired by the same acquisition device aiming at the display screen, and then color correction is carried out on the display screen through the first image and the second image.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information processing method, apparatus, and device, and a storage medium.
Background
The requirements of film, plane and advertisement designers on the color accuracy of display screens are very high, and the deviation of the color of the display screen from a reference color is generally required to be less than a certain threshold value. However, after the display screen is used for a period of time, the deviation of the color of the display screen from the reference color is increased, which requires color correction of the display screen.
At present, only one mode for carrying out color correction on a display screen is provided, namely, a professional screen correction instrument is used for carrying out color correction on the screen. However, professional screen calibration devices are expensive, and the screen calibration devices are used less frequently (for example, only once a year), so that the cost of color calibration for the display screen is high at present.
Disclosure of Invention
The application aims to provide an information processing method, an information processing device, information processing equipment and a storage medium, and the information processing method, the information processing device and the information processing equipment comprise the following technical scheme:
an information processing method, the method comprising:
acquiring a first image, wherein the first image is acquired by an image acquisition device aiming at a color chip, and the number of color blocks in the color chip is greater than or equal to a target value;
displaying the first image through a display screen;
acquiring a second image, wherein the second image is acquired by the image acquisition device aiming at the first image displayed by the display screen;
and carrying out color correction on the display screen according to the first image and the second image.
In the above method, preferably, the color correction of the display screen according to the first image and the second image includes:
obtaining the color bias value of the same color block in the first image and the second image;
and carrying out color correction on the display screen according to the color offset value of each color block in the first image and the second image.
In the above method, preferably, the performing color correction on the display screen according to the color offset value of each color block in the first image and the second image includes:
updating color offset values corresponding to all colors in a configuration file in the electronic equipment to which the display screen belongs according to the color offset values of all color blocks in the first image and the second image;
the configuration file is used for the electronic equipment to determine the display color of the display screen.
In the above method, preferably, the updating, according to the color offset value of each color block in the first image and the second image, the color offset value corresponding to each color in the configuration file in the electronic device to which the display screen belongs includes:
dividing all colors capable of being displayed by the display screen into N color sections on average, wherein the N color sections comprise colors of color blocks in the color card;
and for each color block, replacing the color offset value corresponding to each color in the color section to which the color of the color block belongs with the color offset value of the color block.
In the above method, preferably, the number of color patches included in the color patch is greater than or equal to a target value, and the method includes:
the number of color blocks included in the color card is greater than or equal to 24.
In the above method, preferably, the first image is an image in a lossless format acquired by the image acquisition device for a color chart;
the second image is an image in a lossless format acquired by the image acquisition device for the first image displayed on the display screen.
In the above method, preferably, when the image acquisition device acquires the second image for the first image displayed on the display screen, a light shield is disposed at an edge of the display screen;
when the image acquisition device acquires a first image for the color chip, the color chip is located in the area where the display screen is located.
An information processing apparatus comprising:
the device comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a first image, the first image is obtained by aiming at a color chip through an image collecting device, and the number of color blocks in the color chip is larger than or equal to a target value;
the display module is used for displaying the first image through a display screen;
the second obtaining module is used for obtaining a second image, and the second image is obtained by the image acquisition device aiming at the first image displayed by the display screen;
and the correction module is used for carrying out color correction on the display screen according to the first image and the second image.
An information processing apparatus comprising:
a memory for storing a computer program;
a processor for executing the computer program to realize the steps of the information processing method as described in any one of the above.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the information processing method as described in any one of the above.
According to the scheme, the information processing method, the information processing device, the information processing equipment and the storage medium are characterized in that the first image acquired by the image acquisition device aiming at the color card is displayed through the display screen of the electronic equipment, the second image is acquired by the same acquisition device aiming at the display screen, and then the color correction is carried out on the display screen through the first image and the second image.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1a is a schematic diagram illustrating a basic idea of an information processing method provided in an embodiment of the present application;
FIG. 1b is a flowchart of an implementation of an information processing method according to an embodiment of the present disclosure;
fig. 2a is an exemplary diagram of an association relationship between a display screen output image of a mobile phone and a plurality of color blocks in a standard image in a two-dimensional color space according to the embodiment of the present application;
FIG. 2b is a flowchart of an implementation of color correction of a display screen according to a first image and a second image according to an embodiment of the present disclosure;
fig. 3a is an exemplary diagram of a configuration file in a color management scheme in an electronic device according to an embodiment of the present application;
FIG. 3b is an exemplary diagram of offset parameters in an "sRGB SRGB Color Space Profile" file according to an embodiment of the present application;
fig. 4 is a flowchart of an implementation of updating color offset values corresponding to colors in a configuration file in an electronic device to which a display screen belongs according to color offset values of color patches in a first image and a second image according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 6 is an exemplary diagram of a hardware configuration block diagram of an information processing apparatus according to an embodiment of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
The information processing method provided by the embodiment of the present application is applied to an electronic device (for convenience of description, denoted as an electronic device a), which has a display screen, for example, the electronic device may include, but is not limited to, any of the following: a notebook computer, a desktop computer, a computer with a computer all in one machine or any other device which has a display screen and needs color correction for the display screen. The information processing method provided by the embodiment of the application is used for carrying out color correction on the display screen of the electronic equipment.
Fig. 1a is a schematic diagram illustrating a basic idea of an information processing method according to an embodiment of the present application. The basic idea of the information processing method provided by the embodiment of the application is as follows: the method comprises the steps of acquiring a first image for a color chart through an image acquisition device (for convenience of description, recorded as an image acquisition device B), displaying the first image through a display screen of electronic equipment A, acquiring a second image for the display screen through the same image acquisition device B, and carrying out color correction on the display screen according to the first image and the second image.
Based on the foregoing basic ideas, an implementation flowchart of an information processing method provided in an embodiment of the present application is shown in fig. 1b, and may include:
step S101: and obtaining a first image, wherein the first image is acquired by the image acquisition device B aiming at the color chip, and the number of color blocks in the color chip is larger than or equal to the target value.
The image capturing device B may be a common device capable of capturing images, such as a mobile phone, a camera, and the like. After the image acquisition device B acquires the first image aiming at the color card, the first image is transmitted to the electronic equipment A needing to correct the color of the display screen, so that the electronic equipment A obtains the first image.
In order to prevent the color of the color card from being oxidized and color-shifted in the air, a transparent film may be attached to one side of the color card where the color block is displayed, or an isolation coating may be sprayed on the side of the color card, so in this embodiment of the application, the color card is a color card attached with a transparent film, or a color card sprayed with an isolation coating. The cost of the color card can be controlled below 10, and compared with the price of 4000 of a professional screen corrector, the cost is greatly reduced.
Step S102: the first image is displayed through the display screen.
After the electronic device A obtains the first image, the first image is displayed through a display screen of the electronic device A. The electronic device a may automatically display the first image after obtaining the first image, or display the first image after the user triggers a display instruction for the first image.
Step S103: and acquiring a second image, wherein the second image is acquired by the image acquisition device B aiming at the first image displayed by the display screen.
After the first image is displayed on the display screen, the image acquisition device B acquires the first image displayed on the display screen to obtain a second image, and the image acquisition device B sends the acquired second image to the electronic equipment A, so that the electronic equipment A obtains the second image.
Step S104: and carrying out color correction on the display screen according to the first image and the second image.
After the electronic device a obtains the first image and the second image, the display screen may be color corrected according to a color difference between the first image and the second image.
According to the information processing method, the first image acquired by the image acquisition device aiming at the color card is displayed through the display screen of the electronic equipment, the second image is acquired by the same acquisition device aiming at the display screen, and then color correction is carried out on the display screen through the first image and the second image.
As shown in fig. 2a, an exemplary graph of an association relationship between a display screen output image of a mobile phone provided in the embodiment of the present application and a plurality of color blocks in a standard image in a two-dimensional color space is provided by image quality analysis software. The small squares and the small circles which are connected in a straight line correspond to the same color block in the standard image and the display screen output image, and the color of the image output by the display screen is different from the standard color. The text in the lower left corner of the figure is an illustration of the image quality analysis software. The first line of characters on the upper right corner in the figure represents the saturation of an image output by the display screen, and the second line to the fourth line represent the mean value and the maximum value of errors of the color of the image output by the display screen and the standard color in a two-dimensional color space, which are calculated by image quality analysis software according to three different error calculation methods. Taking the fourth row as an example, the average value of errors in the two-dimensional color space between the output image of the display screen obtained by calculation by the error calculation method corresponding to the fourth row and the plurality of color blocks in the standard image is 22.2, and the maximum error is 53.7.
In an alternative embodiment, the flowchart of implementing color correction on the display screen according to the first image and the second image as shown in fig. 2b may include:
step S201: and obtaining the color offset value of the same color block in the first image and the second image.
Optionally, a difference between coordinates of colors of the color patches Si in the first image and the second image in the color space may be calculated corresponding to any color patch in the color card (for convenience of description, the ith color patch in the color patches is denoted as a color patch Si), and the difference may be used as a color offset value of the color patch Si in the first image and the second image.
Alternatively, the color of the center pixel of the color patch Si may be used as the color of the color patch Si, or the average value of the colors of all the pixels of the color patch Si may be used as the color of the color patch Si, or the average value of the colors of the center pixel of the color patch Si and the pixels of the preset number around the center pixel may be used as the color of the color patch Si.
The color is usually characterized By the values of three color channels of red (R), green (G), and blue (B), assuming that the color of the color patch Si in the first image is R1G1B1, the coordinates thereof in the color space are (Rx1, Ry1), (Gx1, Gy1), (Bx1, By1), the color of the color patch Si in the second image is R2G2B2, the coordinates thereof in the color space are (Rx2, Ry2), (Gx2, Gy2), (Bx2, By2), and the color offset value of the color patch Si in the first image and the second image is the offset value of the color patch Si in each color channel in the first image and the second image. The color offset Δ R of the color patch Si in the first image and the second image in the R channel, the color offset Δ G in the G channel, and the color offset Δ B in the B channel can be expressed by the following formulas:
Δr=[(Rx2-Rx1)2+(Ry2-Ry1)2]1/2
Δg=[(Gx2-Gx1)2+(Gy2-Gy1)2]1/2
Δb=[(Bx2-Bx1)2+(By2-By1)2]1/2
in the above example, the color space is taken as a two-dimensional space for explanation, in practical application, the color space may also be a three-dimensional space, in which case, the color of the color patch Si in the first image is R1G1B1, the coordinates of the color patch Si in the color space are (Rx1, Ry1, Rz1), (Gx1, Gy1, Gz1), (Bx1, By1, Bz1), the color of the color patch Si in the second image is R2G2B2, the coordinates of the color patch Si in the color space are (Rx2, Ry2, Rz2), (Gx2, Gy2, Gz2), (Bx2, By2, Bz2), and the color offset Δ R of the color patch Si in the R channel, the color offset Δ G in the G channel, and the color offset Δ B in the B channel in the first image and the second image may be expressed as:
Δr=[(Rx2-Rx1)2+(Ry2-Ry1)2+(Rz2-Rz1)2]1/2
Δg=[(Gx2-Gx1)2+(Gy2-Gy1)2+(Gz2-Gz1)2]1/2
Δb=[(Bx2-Bx1)2+(By2-By1)2+(Bz2-Bz1)2]1/2
step S202: and carrying out color correction on the display screen according to the color offset values of the color blocks in the first image and the second image.
In an electronic device with a display screen, the electronic device usually has its own Color management scheme to perform Color management on the electronic device, where the electronic device mainly performs Color management on the display screen through an ICC Profile in the Color management scheme, as shown in fig. 3a, which is an exemplary diagram of a Profile in the Color management scheme in the electronic device provided in the embodiment of the present application, in which an "sRGB Color Space Profile" file in the ICC Profile is used to manage colors of the display screen, and a portion related to an offset parameter in the file is shown in fig. 3b, and an exemplary diagram related to the offset parameter in the "sRGB Color Space Profile" file provided in the embodiment of the present application is shown in fig. 3 b. The offset parameter in this file is used to describe the offset value of the color of each pixel of the display screen from the standard color. In the example of fig. 3b, rows 4-6 represent three channels for one color, where the red channel corresponds to xyz, the corresponding offset value is 536, the green channel corresponds to xyz, the corresponding offset value is 556, the blue channel corresponds to bXYZ, and the corresponding offset value is 576. When a plurality of colors are corrected, offset values corresponding to other colors can be added in the file.
Since each color that can be displayed on the display screen is standard when the electronic device is just shipped from a factory, the offset value between each color of the display screen in the electronic device and the standard color is 0 when the electronic device is shipped from the factory, that is, the value of the offset parameter is 0.
In the embodiment of the application, after the color offset values of the color blocks in the first image and the second image are obtained, the color offset values corresponding to the colors in the configuration file in the electronic device a are updated according to the color offset values of the color blocks in the first image and the second image.
Therefore, when the electronic device A reuses the configuration file to perform color management on the display screen, the color of the display screen can be corrected.
In an optional embodiment, an implementation flowchart for updating color offset values corresponding to colors in a configuration file in an electronic device to which a display screen belongs according to color offset values of color patches in a first image and a second image is shown in fig. 4, and may include:
step S401: all colors which can be displayed by a display screen are averagely divided into N color sections, and the N color sections comprise colors of color blocks in a color card.
Optionally, all colors that can be displayed by the display screen may be averagely divided into N color segments according to standard color cards of different specifications. For example, all colors that can be displayed by the display screen are averagely divided into 24 color segments according to a 24-color standard color card, or all colors that can be displayed by the display screen are averagely divided into 64 color segments according to a 64-color standard color card, or all colors that can be displayed by the display screen are averagely divided into 256 color segments according to a 256-color standard color card, and so on.
The value of N may be equal to or greater than the number of color blocks in the color chart.
Step S402: and for each color block, replacing the color offset value corresponding to each color in the color section to which the color of the color block belongs with the color offset value of the color block.
In this embodiment, for each color block, a color segment closest to the color of the color block may be determined from the N color segments as a color segment to which the color of the color block belongs, and then the color offset value corresponding to each color in the color segment in the configuration file is replaced with the color offset value of the color block.
When the value of N is equal to the number of color patches in the color chart, the color patches and the color segments are usually in a one-to-one correspondence relationship, that is, the N color segments include the colors of all the color patches in the color chart. At this time, the color offset values corresponding to the respective colors in the configuration file may be updated.
When the value of N is greater than the number of color patches of the color card, the color patches may correspond to part of the color segments in the N color patches one to one, and if the number of color patches in the color card is M, the color patches may correspond to M color segments in the N color patches one to one, that is, the N color segments include colors not included in the color card in addition to the colors of the color patches in the color card. At this time, only the color offset values corresponding to the M color segments (corresponding to the color patches in the color card one-to-one) in the configuration file may be updated.
In an alternative embodiment, in order to ensure the accuracy of color correction on the display screen, the number of color patches in the color chart may be greater than or equal to 24. The larger the number of color patches in a patch, the higher the color correction accuracy, but the larger the calculation amount.
The size of the color card is not required, and the color card can be very small, such as 3cm multiplied by 3 cm.
The color chart in the present application may be a standard color chart, such as a 24 color standard color, or a 64 color standard color chart, etc.
In an alternative embodiment, the first image is an image of a lossless format acquired by the image acquisition device B for the color chart;
the second image is an image in a lossless format captured by the image capturing device B for the first image displayed on the display screen.
The lossless format image may include, but is not limited to, any one of the following formats: RAW images, DNG images, and so on.
In an optional embodiment, when the image capturing device B captures a second image of the first image displayed on the display screen, a light shield is disposed at an edge of the display screen, so as to prevent light around the display screen from irradiating the display screen, so that a certain color block is seriously reflected, the color block looks white, and the color correction accuracy is reduced. As shown in the electronic device a in fig. 1a, in this example, the light shield includes three directional baffles for blocking light from above the display screen and light from left and right sides, respectively, and the lower side of the light shield is usually not provided with a light source, so that the light shield can be directly opposite to the display screen without blocking. Alternatively, the directional baffles of the light shield may extend 20cm in the direction of the display screen.
In addition, in order to further improve the color correction accuracy of the display screen, the color chart and the display screen are in the same environment when the color chart and the display screen are photographed. Based on this, when gathering first image to the colour chip through image acquisition device B, the colour chip is located the display screen and is located the region, for example, can paste the colour chip in certain region of display screen, wait to shoot and finish, take away the colour chip from the display screen again.
Corresponding to the method embodiment, an embodiment of the present application further provides an information processing apparatus, and a schematic structural diagram of the information processing apparatus provided in the embodiment of the present application is shown in fig. 5, and the information processing apparatus may include:
a first obtaining module 501, a display module 502, a second obtaining module 503 and a correction module 504; wherein,
the first obtaining module 501 is configured to obtain a first image, where the first image is obtained by an image collecting device for a color chip, and the number of color blocks in the color chip is greater than or equal to a target value;
the display module 502 is configured to display the first image through a display screen;
the second obtaining module 503 is configured to obtain a second image, where the second image is obtained by the image acquisition device according to the first image displayed by the display screen;
the correction module 504 is configured to perform color correction on the display screen according to the first image and the second image.
The information processing device provided by the embodiment of the application, the first image that will gather to the colour chip through image acquisition device passes through electronic equipment's display screen and shows, then gather the second image to the display screen through same collection system, and then carry out the color correction to the display screen through first image and second image, professional screen correction appearance is not needed to this method, only need can realize the color correction to the display screen with the help of ordinary cell-phone or camera, do not need to purchase professional screen correction appearance, thereby the cost of carrying out the color correction to the display screen has been reduced.
In an alternative embodiment, the correction module 504 includes:
a bias obtaining unit, configured to obtain a color bias value of the same color patch in the first image and the second image;
and the correction unit is used for carrying out color correction on the display screen according to the color offset value of each color block in the first image and the second image.
In an optional embodiment, the correction unit is specifically configured to:
updating color offset values corresponding to all colors in a configuration file in the electronic equipment to which the display screen belongs according to the color offset values of all color blocks in the first image and the second image;
the configuration file is used for the electronic equipment to determine the display color of the display screen.
In an optional embodiment, the correction unit is specifically configured to:
dividing all colors capable of being displayed by the display screen into N color sections on average, wherein the N color sections comprise colors of color blocks in the color card;
and for each color block, replacing the color offset value corresponding to each color in the color section to which the color of the color block belongs with the color offset value of the color block.
In an alternative embodiment, the number of color patches included in the color patch is greater than or equal to 24.
In an optional embodiment, the first image is an image of a lossless format acquired by the image acquisition device for a color chart;
the second image is an image in a lossless format acquired by the image acquisition device for the first image displayed on the display screen.
In an optional embodiment, when the image acquisition device acquires a second image for the first image displayed by the display screen, a light shield is arranged at the edge of the display screen;
when the image acquisition device acquires a first image for the color chip, the color chip is located in the area where the display screen is located.
Corresponding to the method embodiment, the present application further provides an information processing apparatus, such as a terminal, where the terminal may be a mobile terminal such as a smart phone, a tablet computer, a notebook computer, or a desktop computer, but is not limited thereto. In some embodiments, the terminal may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication form. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
An exemplary diagram of a hardware structure block diagram of an information processing device provided in an embodiment of the present application is shown in fig. 6, and may include:
a processor 1, a communication interface 2, a memory 3 and a communication bus 4;
wherein, the processor 1, the communication interface 2 and the memory 3 complete the communication with each other through the communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;
the processor 1 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present application.
The memory 3 may comprise a high-speed RAM memory and may also comprise a non-volatile memory, such as at least one disk memory.
The processor 1 is specifically configured to execute the computer program stored in the memory 3, so as to execute the following steps:
acquiring a first image, wherein the first image is acquired by an image acquisition device aiming at a color chip, and the number of color blocks in the color chip is greater than or equal to a target value;
displaying the first image through a display screen;
acquiring a second image, wherein the second image is acquired by the image acquisition device aiming at the first image displayed by the display screen;
and carrying out color correction on the display screen according to the first image and the second image.
Alternatively, the detailed functions and extended functions of the computer program may be as described above.
Embodiments of the present application further provide a readable storage medium, where the storage medium may store a computer program adapted to be executed by a processor, where the computer program is configured to:
acquiring a first image, wherein the first image is acquired by an image acquisition device aiming at a color chip, and the number of color blocks in the color chip is greater than or equal to a target value;
displaying the first image through a display screen;
acquiring a second image, wherein the second image is acquired by the image acquisition device aiming at the first image displayed by the display screen;
and carrying out color correction on the display screen according to the first image and the second image.
Alternatively, the detailed functions and extended functions of the computer program may be as described above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It should be understood that the technical problems can be solved by combining and combining the features of the embodiments from the claims.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An information processing method, the method comprising:
acquiring a first image, wherein the first image is acquired by an image acquisition device aiming at a color chip, and the number of color blocks in the color chip is greater than or equal to a target value;
displaying the first image through a display screen;
acquiring a second image, wherein the second image is acquired by the image acquisition device aiming at the first image displayed by the display screen;
and carrying out color correction on the display screen according to the first image and the second image.
2. The method of claim 1, the color correcting the display screen from the first image and the second image, comprising:
obtaining the color bias value of the same color block in the first image and the second image;
and carrying out color correction on the display screen according to the color offset value of each color block in the first image and the second image.
3. The method of claim 2, wherein the color correcting the display screen according to the color offset values of the color patches in the first image and the second image comprises:
updating color offset values corresponding to all colors in a configuration file in the electronic equipment to which the display screen belongs according to the color offset values of all color blocks in the first image and the second image;
the configuration file is used for the electronic equipment to determine the display color of the display screen.
4. The method according to claim 3, wherein the updating, according to the color offset value of each color block in the first image and the second image, the color offset value corresponding to each color in a configuration file in the electronic device to which the display screen belongs includes:
dividing all colors capable of being displayed by the display screen into N color sections on average, wherein the N color sections comprise colors of color blocks in the color card;
and for each color block, replacing the color offset value corresponding to each color in the color section to which the color of the color block belongs with the color offset value of the color block.
5. The method of claim 1, the number of color patches included in the color patch being greater than or equal to a target value, comprising:
the number of color blocks included in the color card is greater than or equal to 24.
6. The method of claim 1, the first image being an image in a lossless format acquired by the image acquisition device for a color target;
the second image is an image in a lossless format acquired by the image acquisition device for the first image displayed on the display screen.
7. The method according to claim 1, wherein when the image acquisition device acquires a second image for the first image displayed by the display screen, the edge of the display screen is provided with a light shield;
when the image acquisition device acquires a first image for the color chip, the color chip is located in the area where the display screen is located.
8. An information processing apparatus comprising:
the device comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a first image, the first image is obtained by aiming at a color chip through an image collecting device, and the number of color blocks in the color chip is larger than or equal to a target value;
the display module is used for displaying the first image through a display screen;
the second obtaining module is used for obtaining a second image, and the second image is obtained by the image acquisition device aiming at the first image displayed by the display screen;
and the correction module is used for carrying out color correction on the display screen according to the first image and the second image.
9. An information processing apparatus comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the information processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the information processing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110349598.5A CN113362747A (en) | 2021-03-31 | 2021-03-31 | Information processing method, device and equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110349598.5A CN113362747A (en) | 2021-03-31 | 2021-03-31 | Information processing method, device and equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113362747A true CN113362747A (en) | 2021-09-07 |
Family
ID=77525058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110349598.5A Pending CN113362747A (en) | 2021-03-31 | 2021-03-31 | Information processing method, device and equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113362747A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200715264A (en) * | 2005-10-06 | 2007-04-16 | Ind Tech Res Inst | Color adjustment system |
CN106531097A (en) * | 2016-11-28 | 2017-03-22 | 南京巨鲨显示科技有限公司 | Medical display color restoration system and method for realizing same |
CN108184037A (en) * | 2017-12-12 | 2018-06-19 | 维沃移动通信有限公司 | A kind of method for displaying image and mobile terminal |
CN110751611A (en) * | 2019-11-01 | 2020-02-04 | 深圳市博盛医疗科技有限公司 | Method for calibrating display colors of endoscope system and endoscope system |
CN110767198A (en) * | 2019-09-29 | 2020-02-07 | 深圳吉迪思电子科技有限公司 | Color gamut correction method and system and display driving integrated circuit |
-
2021
- 2021-03-31 CN CN202110349598.5A patent/CN113362747A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200715264A (en) * | 2005-10-06 | 2007-04-16 | Ind Tech Res Inst | Color adjustment system |
CN106531097A (en) * | 2016-11-28 | 2017-03-22 | 南京巨鲨显示科技有限公司 | Medical display color restoration system and method for realizing same |
CN108184037A (en) * | 2017-12-12 | 2018-06-19 | 维沃移动通信有限公司 | A kind of method for displaying image and mobile terminal |
CN110767198A (en) * | 2019-09-29 | 2020-02-07 | 深圳吉迪思电子科技有限公司 | Color gamut correction method and system and display driving integrated circuit |
CN110751611A (en) * | 2019-11-01 | 2020-02-04 | 深圳市博盛医疗科技有限公司 | Method for calibrating display colors of endoscope system and endoscope system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210118111A1 (en) | Image Processing Method and Device | |
CN111741281B (en) | Image processing method, terminal and storage medium | |
WO2021004180A1 (en) | Texture feature extraction method, texture feature extraction apparatus, and terminal device | |
CN111179817B (en) | Method and device for eliminating brightness difference of display screen | |
CN111429827B (en) | Display screen color calibration method and device, electronic equipment and readable storage medium | |
CN102867295B (en) | A kind of color correction method for color image | |
CN112669758B (en) | Display screen correction method, device, system and computer readable storage medium | |
CN101953148B (en) | Method for processing color image, color processing device and color processing program | |
CN108320312B (en) | Image color matching method and device and computer terminal | |
CN112562017B (en) | Color restoration method of RGB image and computer readable storage medium | |
SG182340A1 (en) | Method and system for determining colour from an image | |
CN101950515A (en) | Master-slave point-by-point correcting method for LED display screen | |
CN113132696B (en) | Image tone mapping method, image tone mapping device, electronic equipment and storage medium | |
Faridul et al. | Approximate cross channel color mapping from sparse color correspondences | |
US9560968B2 (en) | Remote monitoring framework | |
CN113316711A (en) | Method and apparatus for estimating ambient light | |
CN111383254A (en) | Depth information acquisition method and system and terminal equipment | |
CN112686820A (en) | Virtual makeup method and device and electronic equipment | |
CN115550575B (en) | Image processing method and related equipment | |
CN115665565A (en) | Online tobacco leaf image color correction method, system and device | |
CN113362747A (en) | Information processing method, device and equipment and storage medium | |
CN113962850A (en) | Image processing method, computer terminal and storage medium | |
DE112018004788T5 (en) | Display device, content management device, content management system and content management method | |
CN103313066B (en) | Interpolation method and device | |
CN117710344A (en) | Method and device for detecting color phase stability of printed matter and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |