CN112911269B - Color correction method and electronic device - Google Patents

Color correction method and electronic device Download PDF

Info

Publication number
CN112911269B
CN112911269B CN201911229556.7A CN201911229556A CN112911269B CN 112911269 B CN112911269 B CN 112911269B CN 201911229556 A CN201911229556 A CN 201911229556A CN 112911269 B CN112911269 B CN 112911269B
Authority
CN
China
Prior art keywords
color
image
adjustment information
value
display
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
CN201911229556.7A
Other languages
Chinese (zh)
Other versions
CN112911269A (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201911229556.7A priority Critical patent/CN112911269B/en
Publication of CN112911269A publication Critical patent/CN112911269A/en
Application granted granted Critical
Publication of CN112911269B publication Critical patent/CN112911269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/324Colour aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/327Calibration thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention provides a color correction method and an electronic device. The method comprises the following steps: obtaining a first image displayed by a first display and a second image displayed by a second display; adjusting the color of the first image to a first color; adjusting the color of the second image to a second color; selecting the first color as a second target value; obtaining a third image displayed by the second display according to the color adjustment information; adjusting the color of the third image to approach the second target value; and displaying the color adjustment information obtained by the head-mounted display device according to the adjustment process.

Description

Color correction method and electronic device
Technical Field
The present disclosure relates to color correction methods and electronic devices, and particularly, to a color correction method for a head-mounted display device and an electronic device.
Background
Currently, a Head Mounted Display (HMD) generally has a Display corresponding to a left eye (also referred to as a left-eye Display) and a Display corresponding to a right eye (also referred to as a right-eye Display). And there may be a problem of color imbalance between the displays of both eyes. For example, a left-eye display is more blue than a right-eye display. To overcome this problem, a common method considers both the left-eye display and the right-eye display, and treats the frames displayed by the left-eye display and the right-eye display as separate frames for color correction. However, to improve the picture synchronization problem of the dual-eye display, the head-mounted display device usually allows the display card (e.g., GPU) to view the pictures of the left-eye display and the right-eye display as a single picture. As a result, if the color correction mechanism provided by the current display card is used to adjust the color of the display, it may not be possible to independently control the color of the image displayed by the single-eye display (i.e., only the left-eye display or only the right-eye display).
Disclosure of Invention
The invention provides a color correction method and an electronic device, which can perform respective color adjustment processing on an area belonging to a left eye image or a right eye image in a picture and correct the area by considering the problem of color balance of a double-eye display image, thereby achieving the best display effect of a head-mounted display device.
The invention provides a color correction method for correcting a first display and a second display of a head-mounted display device, which comprises the following steps: obtaining a first image displayed by the first display and a second image displayed by the second display; adjusting the color of the first image to a first color, and recording first color adjustment information for adjusting the color of the first image to the first color; adjusting the color of the second image to a second color, and recording second color adjustment information for adjusting the color of the second image to the second color; selecting the first color as a second target value; obtaining a third image displayed by the second display according to the second color adjustment information; adjusting the color of the third image to be close to the second target value, and recording third color adjustment information for adjusting the color of the third image to be close to the second target value; and displaying, by the head mounted display device, according to the first color adjustment information, the second color adjustment information, and the third color adjustment information.
The invention provides an electronic device for calibrating a first display and a second display of a head-mounted display device, the device comprising: input/output circuit and processor. A processor is coupled to the input-output circuit. The input and output circuit obtains a first image displayed by the first display and a second image displayed by the second display. The processor adjusts the color of the first image to a first color and records first color adjustment information for adjusting the color of the first image to the first color. The processor adjusts the color of the second image to a second color and records second color adjustment information for adjusting the color of the second image to the second color. The processor selects the first color as a second target value. The input-output circuit obtains a third image displayed by the second display according to the second color adjustment information. The processor adjusts the color of the third image to be close to the second target value, and records third color adjustment information for adjusting the color of the third image to be close to the second target value. The input-output circuit outputs the first color adjustment information, the second color adjustment information, and the third color adjustment information to be displayed according to the first color adjustment information, the second color adjustment information, and the third color adjustment information through the head-mounted display device.
Based on the above, the color correction method and the electronic device of the invention can change the color of the image content. The respective color adjustment process is performed for the region belonging to the left-eye image or the right-eye image in the picture. In addition, the color correction method of the invention also considers the problem of color balance of the image displayed by two eyes to carry out correction, thereby achieving the best display effect of the head-mounted display device.
Drawings
FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating a color correction method according to an embodiment of the invention.
Description of reference numerals:
100: an electronic device;
10: an input-output circuit;
12: a processor;
S201-S217: and (5) carrying out the following steps.
Detailed Description
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the invention.
Referring to fig. 1, an electronic device 100 includes an input/output circuit 10 and a processor 12.
The input/output circuit 10 is, for example, an input interface or a circuit for obtaining relevant data from outside the electronic device 100 or other sources. The input/output circuit 10 may also transmit data generated by the electronic device 100 to an output interface or circuit of another electronic device, which is not limited herein.
The Processor 12 may be a Central Processing Unit (CPU), or other programmable general purpose or special purpose Microprocessor (Microprocessor), digital Signal Processor (DSP), programmable controller, application Specific Integrated Circuit (ASIC), or other similar components or combinations thereof.
The electronic device 100 may also include storage circuitry (not shown). The storage circuit may be any type of fixed or removable Random Access Memory (RAM), read-only memory (ROM), flash memory (flash memory), or the like, or any combination thereof.
In the exemplary embodiment, the storage circuit of the electronic device 100 stores a plurality of program code segments, and the program code segments are executed by the processor after being installed. For example, the storage circuit includes a plurality of modules, and each module is composed of one or more program code segments, and the modules are used for executing each operation of the electronic device 100. However, the invention is not limited thereto, and the operations of the electronic device 100 may also be implemented by using other hardware forms.
Fig. 2 is a flowchart illustrating a color correction method according to an embodiment of the invention.
Referring to fig. 1 and fig. 2, the input/output circuit 10 obtains a first image displayed on one display (also referred to as a first display) and a second image displayed on another display (also referred to as a second display) of the head-mounted device (step S201). For example, images displayed on two displays of the head-mounted device to be corrected may be acquired by the color analyzer, and the acquired images may be obtained by the input-output circuit 10.
In this embodiment, the first display is a left-eye display and the second display is a right-eye display. However, the invention is not limited thereto, and in other embodiments, the first display may also be a right-eye display and the second display may also be a left-eye display. The following example is described with the first display being a left eye display and the second display being a right eye display.
Then, the processor determines whether the color of the first image and the color of the second image are close to the first target value (step S203).
In more detail, when determining whether the color (hereinafter, referred to as the current color) is close to another color (hereinafter, referred to as the reference color), the processor 12 determines whether the current color is between the first value and the second value. The first value is the reference color plus the offset and the second value is the reference color minus the offset. When the current color is between the first value and the second value, the processor 12 determines that the current color is close to the reference color. Conversely, when the current color is not between the first value and the second value, the processor 12 determines that the current color is not close to the reference color.
For example. A simpler way is to calculate the difference of a color point (coordinates (x, y) of the CIE color space) from another color point. Please refer to equations (1) and (2), wherein,
Figure 851956DEST_PATH_IMAGE001
and
Figure 237938DEST_PATH_IMAGE002
x-and y-coordinates, respectively, representing the color point of the reference color;
Figure 220937DEST_PATH_IMAGE003
and
Figure 350567DEST_PATH_IMAGE004
respectively the x-coordinate and the y-coordinate of the color point representing the current color; in addition, the first and second substrates are,
Figure 883048DEST_PATH_IMAGE005
is the offset of the x coordinate (i.e., error tolerance difference); and then
Figure 908773DEST_PATH_IMAGE006
Is the offset of the y coordinate (i.e., error tolerant difference). When the temperature is higher than the set temperature
Figure 644648DEST_PATH_IMAGE007
Satisfies equation (1), and
Figure 312390DEST_PATH_IMAGE008
when equation (2) is satisfied, the processor 12 may determine that the current color and the reference color are both close. If one of the equations (1) and (2) does not hold, the colors are considered not to be close.
Figure 699378DEST_PATH_IMAGE009
It should be noted that the present invention is not limited to the value of the first target value.
When the current color is not close to the reference color, the processor 12 adjusts the color of the first image to the first color so that the first color is close to the first target value, and adjusts the color of the second image to the second color so that the second color is close to the first target value (step S205). Thereafter, the processor 12 performs steps S201 and S203 again. That is, the processor 12 adjusts the color of the left-eye image and the color of the right-eye image respectively so that the color of the left-eye image and the color of the right-eye image are both close to the first target value. It should be noted that, although the first color and the second color are both close to the first target value, the first color and the second color may not be the same. In addition, the processor 12 records first color adjustment information for adjusting the color of the first image to a first color and second color adjustment information for adjusting the color of the second image to a second color.
Then, the processor 12 selects the first color as the second target value (step S207). In particular, in the present embodiment, the first color is closer to the first target value than the second color.
Next, the input/output circuit 10 obtains a third image displayed by the second display according to the second color adjustment information (step S209), and determines whether the color of the third image is close to the second target value (step S211). The method for determining whether two colors are close to each other is described in detail above, and is not described herein again.
When the color of the third image is not close to the second target value, the processor 12 adjusts the color of the third image to be close to the second target value (step S213). Then, the processor 12 performs step S209 and step S211 again. The processor 12 also records third color adjustment information for adjusting the color of the third image to approach the second target value.
When the color of the third image approaches the second target value, the processor 12 stores color adjustment information (e.g., the first, second and third color adjustment information) (step S215). Finally, the head mounted display device may perform display according to the first color adjustment information, the second color adjustment information, and the third color adjustment information (step S217).
That is, in steps S201 to S205, the colors of the two displays are respectively adjusted to be close to a target value of one current color. And step S209 to step S213 are to use the color of one display as a standard value and adjust the color of the other display to be close to the target value, thereby making the colors of two eyes closer. Therefore, under the condition of considering the adjustment complexity and time, when the display displays an application program or a game program containing the shader content, the display can display a picture which accords with the current color and simultaneously gives consideration to the color balance of the left eye picture and the right eye picture.
In summary, the color correction method and the electronic device of the invention can change the color of the image content. And performing individual color adjustment processing on the region belonging to the left eye image or the right eye image in the picture. In addition, the color correction method of the invention also considers the problem of color balance of the image displayed by two eyes to carry out correction, thereby achieving the best display effect of the head-mounted display device.

Claims (6)

1. A color correction method for correcting a first display and a second display of a head mounted display device, the method comprising:
obtaining a first image displayed by the first display and a second image displayed by the second display;
adjusting the color of the first image to a first color, and recording first color adjustment information for adjusting the color of the first image to the first color;
adjusting the color of the second image to a second color, and recording second color adjustment information for adjusting the color of the second image to the second color;
selecting the first color as a second target value;
obtaining a third image displayed by the second display according to the second color adjustment information;
adjusting the color of the third image to be close to the second target value, and recording third color adjustment information for adjusting the color of the third image to be close to the second target value; and
displaying, by the head mounted display device, according to the first color adjustment information, the second color adjustment information, and the third color adjustment information,
wherein adjusting the color of the first image to the first color comprises:
adjusting the color of the first image to the first color such that the first color approaches a first target value,
wherein adjusting the color of the second image to the second color comprises:
adjusting the color of the second image to the second color such that the second color approaches the first target value,
wherein the step of determining whether the current color is close to the reference color comprises:
determining whether the current color is between a first value and a second value, wherein the first value is the reference color plus an offset and the second value is the reference color minus the offset;
when the current color is between the first value and the second value, judging that the current color is close to the reference color; and
when the current color is not between the first value and the second value, determining that the current color is not close to the reference color.
2. The color correction method of claim 1, wherein the first color is closer to the first target value than the second color.
3. The color correction method according to claim 1, further comprising:
obtaining the first image, the second image, and the third image by a color analyzer.
4. An electronic device for calibrating a first display and a second display of a head-mounted display device, the device comprising:
an input-output circuit; and
a processor coupled to the input-output circuit, wherein
The input-output circuit obtains a first image displayed by the first display and a second image displayed by the second display,
the processor adjusts the color of the first image to a first color and records first color adjustment information for adjusting the color of the first image to the first color,
the processor adjusts the color of the second image to a second color and records second color adjustment information for adjusting the color of the second image to the second color,
the processor selects the first color as a second target value,
the input-output circuit obtains a third image displayed by the second display according to the second color adjustment information,
the processor adjusting the color of the third image to be close to the second target value and recording third color adjustment information for adjusting the color of the third image to be close to the second target value,
the input-output circuit outputs the first color adjustment information, the second color adjustment information, and the third color adjustment information to be displayed according to the first color adjustment information, the second color adjustment information, and the third color adjustment information by the head mounted display device,
wherein in the operation of adjusting the color of the first image to the first color,
the processor adjusts the color of the first image to the first color such that the first color is close to a first target value,
wherein in the operation of adjusting the color of the second image to the second color,
the processor adjusts the color of the second image to the second color such that the second color approaches the first target value,
wherein in the operation of determining whether the current color is close to the reference color,
the processor determines whether the current color is between a first value and a second value, wherein the first value is the reference color plus an offset and the second value is the reference color minus the offset,
when the current color is between the first value and the second value, the processor determines that the current color is close to the reference color,
when the current color is not between the first value and the second value, the processor determines that the current color is not close to the reference color.
5. The electronic device of claim 4, wherein the first color is closer to the first target value than the second color.
6. The electronic device of claim 4, wherein
The first image, the second image, and the third image are taken by a color analyzer.
CN201911229556.7A 2019-12-04 2019-12-04 Color correction method and electronic device Active CN112911269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911229556.7A CN112911269B (en) 2019-12-04 2019-12-04 Color correction method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911229556.7A CN112911269B (en) 2019-12-04 2019-12-04 Color correction method and electronic device

Publications (2)

Publication Number Publication Date
CN112911269A CN112911269A (en) 2021-06-04
CN112911269B true CN112911269B (en) 2023-01-31

Family

ID=76111186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911229556.7A Active CN112911269B (en) 2019-12-04 2019-12-04 Color correction method and electronic device

Country Status (1)

Country Link
CN (1) CN112911269B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110084981A1 (en) * 2008-05-22 2011-04-14 Sanyo Electric Co., Ltd Signal processing apparatus and projection display apparatus
US20110090534A1 (en) * 2009-10-16 2011-04-21 Canon Kabushiki Kaisha Image processing apparatus, control method therefor, and program
CN104023217A (en) * 2013-03-01 2014-09-03 联想(北京)有限公司 Information processing method and electronic equipment
CN107274857A (en) * 2016-04-01 2017-10-20 宏达国际电子股份有限公司 Adjust the method and display system of the output image of display

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110084981A1 (en) * 2008-05-22 2011-04-14 Sanyo Electric Co., Ltd Signal processing apparatus and projection display apparatus
US20110090534A1 (en) * 2009-10-16 2011-04-21 Canon Kabushiki Kaisha Image processing apparatus, control method therefor, and program
CN104023217A (en) * 2013-03-01 2014-09-03 联想(北京)有限公司 Information processing method and electronic equipment
CN107274857A (en) * 2016-04-01 2017-10-20 宏达国际电子股份有限公司 Adjust the method and display system of the output image of display

Also Published As

Publication number Publication date
CN112911269A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
US10748467B2 (en) Display panel, display method thereof and display device
CN109977949B (en) Frame fine adjustment text positioning method and device, computer equipment and storage medium
CN103003870B (en) Image display system, image processing equipment and control method thereof
US10158839B2 (en) Non-transitory storage medium and apparatus for processing source image to generate target image
EP2492907B1 (en) Image processing apparatus, storage medium storing image processing program, and image processing method
CN107729099A (en) Background method of adjustment and its system
US11276154B2 (en) Multi-frame depth-based multi-camera relighting of images
US11039124B2 (en) Information processing apparatus, information processing method, and recording medium
US20190050963A1 (en) Transmission method of display data, apparatus and mobile device
CN112911269B (en) Color correction method and electronic device
CN107274857B (en) Method for adjusting output image of display and display system
JP2023519275A (en) Display effect enhancement method, device, facility
US20150178036A1 (en) Video output device, information processor, and method
CN105336306A (en) Color temperature adjustment method and electronic equipment
US9292912B2 (en) Display apparatus and method for image output thereof
TWI711312B (en) Color correction method and electronic device
CN114143524B (en) Laser projection system and projection method
US10395349B1 (en) Display system with tunable lens distortion compensation
CN115474316A (en) Method and device for controlling atmosphere lamp, electronic equipment and storage medium
CN114630090A (en) Image processing apparatus and image processing method
CN107256137B (en) Picture processing method and device
CN114584641A (en) Display adjustment method, device, electronic equipment and storage medium
US20130208976A1 (en) System, method, and computer program product for calculating adjustments for images
CN113590065B (en) Color adjustment method and device, storage medium and display device
US20170069067A1 (en) Image adjusting method, image adjusting system and non-transitory computer readable storage medium

Legal Events

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