CN107734322B - Image display method and device for naked eye 3D display terminal and terminal - Google Patents

Image display method and device for naked eye 3D display terminal and terminal Download PDF

Info

Publication number
CN107734322B
CN107734322B CN201711128954.0A CN201711128954A CN107734322B CN 107734322 B CN107734322 B CN 107734322B CN 201711128954 A CN201711128954 A CN 201711128954A CN 107734322 B CN107734322 B CN 107734322B
Authority
CN
China
Prior art keywords
display mode
angular velocity
display
eye view
image
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
CN201711128954.0A
Other languages
Chinese (zh)
Other versions
CN107734322A (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.)
SuperD Co Ltd
Original Assignee
SuperD Co 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 SuperD Co Ltd filed Critical SuperD Co Ltd
Priority to CN201711128954.0A priority Critical patent/CN107734322B/en
Publication of CN107734322A publication Critical patent/CN107734322A/en
Application granted granted Critical
Publication of CN107734322B publication Critical patent/CN107734322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an image display method, an image display device and a terminal for a naked eye 3D display terminal, wherein the method comprises the following steps: displaying the image content in a first display mode; determining whether to switch a first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode; when the first display mode is determined to be switched to the second display mode, the image content is displayed in the gradient display mode, so that the first display mode is switched to the second display mode through the gradient display mode. Therefore, the scheme of the invention avoids that the eyes of the user feel uncomfortable due to sudden change of the content sent to the eyes of the user when the naked eye 3D display terminal is switched between the 3D display mode and the 2D display mode, and improves the watching experience of the user.

Description

Image display method and device for naked eye 3D display terminal and terminal
Technical Field
The invention relates to the field of 3D system control, in particular to an image display method and device for a naked eye 3D display terminal and the terminal.
Background
The naked eye 3D display technology can provide users with a very good 3D stereoscopic viewing experience. The naked eye 3D display terminal generally comprises a display panel and a light splitting device which are arranged oppositely, when naked eye 3D display is carried out on the naked eye 3D display terminal, three-dimensional images are firstly arranged, namely a left eye image (for short, left image) and a right eye image (for short, right image) are arranged and displayed on the display panel according to a certain rule, and meanwhile, the left eye image is sent into the left eye of a user and the right eye image is sent into the right eye of the user by matching the light splitting effect of the light splitting device arranged on the display panel, so that the user can watch 3D images.
At present, most naked eye 3D display terminals in the market have both a 3D display mode and a 2D display mode, and can be switched between the 3D display mode and the 2D display mode according to the actual watching needs of users. However, for the same image source, for example, the same movie, when the same image source is displayed in the 3D display mode, the left image sent to the left eye of the user is the left image, and the right image sent to the right eye of the user is the right image, and when the same image source is displayed in the 2D display mode, both the left image and the right image sent to the left eye and the right eye of the user are the left image or the right image, so when the 3D display mode and the 2D display mode are switched, because the content sent to one of the eyes of the user is suddenly changed, for example, the 3D display mode is switched to the 2D display mode, the content sent to the left eye of the user is; and the 2D display mode is switched to the 3D display mode, and the content sent to the left eye of the user is changed from the right image to the left image, so that the eyes of the user are uncomfortable, and the watching experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention provides an image display method, an image display device and an image display terminal for a naked eye 3D display terminal, and aims to solve the problem that in the prior art, when the naked eye 3D display terminal is switched between a 3D display mode and a 2D display mode, the watching experience of a user is reduced because the content sent to the eyes of the user is suddenly changed, so that the eyes of the user feel uncomfortable.
The embodiment of the invention provides an image display method for a naked eye 3D display terminal, which comprises the following steps:
displaying the image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when it is determined to switch the first display mode to the second display mode, displaying the image content in a gradient display mode, thereby switching the first display mode to the second display mode via the gradient display mode.
In the foregoing scheme, the displaying the image content in the gradient display mode includes:
acquiring a mixed image of a left eye view and a right eye view of the image content;
and taking the mixed image as a target left eye view and the right eye view as a target right eye view, or taking the mixed image as a target right eye view and the left eye view as a target left eye view, and performing naked eye three-dimensional display according to the target left eye view and the target right eye view.
In the foregoing solution, the step of determining whether to switch the first display mode to the second display mode includes:
acquiring first motion state information of a naked eye 3D display terminal;
determining whether to switch the first display mode to the second display mode according to the first motion state information;
or
Detecting whether a naked eye 3D display terminal receives a display mode switching instruction;
and when the naked eye 3D display terminal is detected to receive a display mode switching instruction, determining to switch the first display mode to the second display mode.
Wherein, in the scheme, the first step of the method,
the first motion state information comprises angular speed information of the naked eye 3D display terminal;
the determining whether to switch the first display mode to the second display mode according to the first motion state information includes:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
determining whether the absolute value of the target angular velocity is greater than or equal to a first preset threshold;
when the absolute value of the target angular velocity is greater than or equal to the first preset threshold, determining to switch the first display mode to the second display mode;
and/or
The determining whether to switch the first display mode to the second display mode according to the first motion state information includes:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
determining whether the absolute value of the target angular velocity is less than a second preset threshold;
and when the absolute value of the target angular velocity is smaller than the second preset threshold, determining to switch the first display mode to the second display mode.
Wherein, in the scheme, the first step of the method,
the angular velocity information comprises a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
determining the second angular velocity as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
In the foregoing scheme, the step of obtaining a mixed image of a left-eye view and a right-eye view of the image content includes:
determining an image gradient mixing coefficient;
acquiring a mixed image of a left eye view and a right eye view in the image content according to the following formula:
f(x,y)=g(x,y)×(1-α)+h(x,y)×α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1.
In the foregoing solution, the step of determining the image gradient mixing coefficient includes:
acquiring second motion state information of the naked eye 3D display terminal, and determining an image gradient mixing coefficient according to the second motion state information;
or
And determining the gradient mixing coefficient of the image according to the preset time interval and gradient step length.
In the above scheme, the second motion state information includes angular velocity information of the naked-eye 3D display terminal;
the step of obtaining second motion state information of the naked eye 3D display terminal and determining the image gradient mixing coefficient according to the second motion state information comprises the following steps:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number.
In the above scheme, the step of determining a comparison parameter according to the angular velocity information of the naked eye 3D display terminal includes:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
Wherein, in the scheme, the first step of the method,
the angular velocity information comprises a second angular velocity of the naked eye 3D display terminal rotating around the Y direction,
the step of determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time comprises the following steps:
determining the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around the X direction and a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the acquired angular velocity information of the naked eye 3D display terminal each time comprises the following steps:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the step of determining the target angular velocity according to the acquired angular velocity information of the naked eye 3D display terminal each time comprises the following steps:
performing weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity obtained each time to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
In the foregoing solution, the step of obtaining an image gradient mixing coefficient according to the comparison parameter includes:
according to a predetermined formula
Figure BDA0001468990840000061
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure BDA0001468990840000062
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value.
In the foregoing solution, the step of determining the image gradient mixing coefficient according to a preset time interval and a preset gradient step size includes:
starting from the initial value of 1, reducing the gradient step length at preset time intervals until the image gradient mixing coefficient is reduced to 0;
or
And increasing the image gradient mixing coefficient from the initial value of 0 to the gradient step length at preset time intervals until the image gradient mixing coefficient is increased to 1.
In the foregoing solution, in the process of displaying the image content in the gradient display mode, the method further includes:
determining whether to switch from the fade display mode back to the first display mode;
when it is determined to switch from the fade display mode back to the first display mode, reverting to displaying image content in the first display mode.
In the foregoing solution, when the first display mode is a 2D display mode, the step of displaying the image content in the first display mode includes:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
performing naked eye stereoscopic display according to the target left eye view and the target right eye view;
and/or the presence of a gas in the gas,
when the second display mode is a 2D display mode, displaying image content in the second display mode when the second display mode is switched to the second display mode;
the displaying image content in the second display mode includes:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
An embodiment of the present invention further provides an image display device for a naked eye 3D display terminal, including:
the display module is used for displaying the image content in a first display mode;
a switching decision module, configured to determine whether to switch the first display mode to a second display mode, where the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
the display module is further configured to display the image content in a gradient display mode when it is determined that the first display mode is switched to the second display mode, so as to switch the first display mode to the second display mode via the gradient display mode.
In the above scheme, the display module includes:
a mixed image acquisition sub-module for acquiring a mixed image of a left eye view and a right eye view of the image content;
and the naked eye stereoscopic display sub-module is used for taking the mixed image as a target left eye view and taking the right eye view as a target right eye view, or taking the mixed image as a target right eye view and taking the left eye view as a target left eye view, and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
In the foregoing solution, the handover decision module includes:
the first motion state information acquisition submodule is used for acquiring first motion state information of the naked eye 3D display terminal;
the first switching decision sub-module is used for determining whether to switch the first display mode into the second display mode according to the first motion state information;
or
The switching instruction detection submodule is used for detecting whether the naked eye 3D display terminal receives a display mode switching instruction;
and the second switching decision submodule is used for determining to switch the first display mode to the second display mode when the naked eye 3D display terminal is detected to receive a display mode switching instruction.
In the above scheme, the first motion state information includes angular velocity information of the naked-eye 3D display terminal;
the first display mode is a 3D display mode, and the second display mode is a 2D display mode, the first switching decision sub-module includes:
the target angular velocity determining unit is used for determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
a first threshold value judging unit configured to determine whether an absolute value of the target angular velocity is greater than or equal to a first preset threshold value;
a first switching unit configured to determine to switch the first display mode to the second display mode when an absolute value of the target angular velocity is greater than or equal to the first preset threshold;
and/or
The first display mode is a 2D display mode, and the second display mode is a 3D display mode, the first switching decision sub-module includes:
the target angular velocity determining unit is used for determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
a second threshold value judging unit configured to determine whether an absolute value of the target angular velocity is smaller than a second preset threshold value;
and the second switching unit is used for determining to switch the first display mode to the second display mode when the absolute value of the target angular velocity is smaller than the second preset threshold.
Wherein, in the scheme, the first step of the method,
the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the target angular velocity determination unit is specifically configured to:
determining the second angular velocity as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the target angular velocity determination unit is specifically configured to:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the target angular velocity determination unit is specifically configured to:
carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
In the foregoing scheme, the hybrid image acquisition sub-module includes:
a coefficient determination unit for determining an image fade mixing coefficient;
a mixed image determination unit, configured to obtain a mixed image of a left-eye view and a right-eye view in the image content according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1.
In the foregoing solution, the coefficient determining unit includes:
the first determining subunit is used for acquiring second motion state information of the naked eye 3D display terminal and determining an image gradient mixing coefficient according to the second motion state information;
or
And the second determining subunit is used for determining the image gradient mixing coefficient according to the preset time interval and gradient step length.
In the above scheme, the second motion state information includes angular velocity information of the naked-eye 3D display terminal;
the first determining subunit is specifically configured to:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number.
In the above scheme, when the first determining subunit determines the comparison parameter according to the angular velocity information of the naked-eye 3D display terminal, the first determining subunit is specifically configured to:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
Wherein, in the scheme, the first step of the method,
the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
determining the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
performing weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity obtained each time to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
In the foregoing scheme, when obtaining the image gradient mixing coefficient according to the comparison parameter, the first determining subunit is specifically configured to:
according to a predetermined formula
Figure BDA0001468990840000111
Obtaining a reference coefficient, and calculatingDetermining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure BDA0001468990840000112
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value.
In the foregoing scheme, the second determining subunit is specifically configured to:
starting from the initial value of 1, reducing the gradient step length at preset time intervals until the image gradient mixing coefficient is reduced to 0;
or
And increasing the image gradient mixing coefficient from the initial value of 0 to the gradient step length at preset time intervals until the image gradient mixing coefficient is increased to 1.
In the above scheme, the display module is further configured to:
determining whether to switch from the fade display mode back to the first display mode;
when it is determined to switch from the fade display mode back to the first display mode, reverting to displaying image content in the first display mode.
In the foregoing scheme, when the first display mode is the 2D display mode, the display module is specifically configured to, when displaying the image content in the first display mode:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
performing naked eye stereoscopic display according to the target left eye view and the target right eye view;
and/or the presence of a gas in the gas,
when the second display mode is the 2D display mode and is switched to the second display mode, the display module is further used for displaying the image content in the second display mode;
when the display module displays the image content in the second display mode, the display module is specifically configured to:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
The embodiment of the invention also provides a naked eye 3D display terminal, which comprises:
a processor, a memory, and a display;
a memory for storing a computer program that can be executed;
the processor calls the computer program in the memory to execute the following steps:
controlling the display to display image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when the first display mode is determined to be switched to the second display mode, the display is controlled to display the image content in a gradient display mode, so that the first display mode is switched to the second display mode through the gradient display mode.
Embodiments of the present invention also provide a computer readable storage medium comprising a computer program executable by a processor to perform the steps of:
displaying the image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when it is determined to switch the first display mode to the second display mode, displaying the image content in a gradient display mode, thereby switching the first display mode to the second display mode via the gradient display mode.
The embodiment of the invention has the beneficial effects that:
in the embodiment of the invention, in the process that the naked eye 3D display terminal displays the image content in any one of the 3D display mode or the 2D display mode, capable of displaying image content in a fade display mode upon determining that switching between a 3D display mode and a 2D display mode is required, thereby gradually changing the content seen by at least one of the left and right eyes of the user, gradually changing the part of the content from the content corresponding to the 3D display mode to the content corresponding to the 2D display mode, or the content corresponding to the 2D display mode is gradually changed into the content corresponding to the 3D display mode, so that when the naked eye 3D display terminal is switched between the 3D display mode and the 2D display mode, the content sent into the eyes of the user is suddenly changed, so that the eyes of the user feel uncomfortable, and the watching experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 shows a flowchart of an image display method for a naked-eye 3D display terminal according to an embodiment of the present invention;
fig. 2 is a block diagram showing a configuration of an image display apparatus for a naked-eye 3D display terminal according to an embodiment of the present invention;
fig. 3 shows a block diagram of a naked eye 3D display terminal according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a specific real-time mode of an image display method for a naked-eye 3D display terminal according to an embodiment of the present invention;
fig. 5 is a second flowchart illustrating a specific real-time mode of the image display method for a naked-eye 3D display terminal according to the embodiment of the present invention;
fig. 6 is a third flowchart illustrating a specific real-time mode of an image display method for a naked-eye 3D display terminal according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a change of a target angular velocity over time, which is determined according to motion state information of a naked-eye 3D display terminal in an embodiment of the present invention.
Detailed Description
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, 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.
In order to better understand the present invention, a brief description is first made of a naked-eye 3D display terminal according to an embodiment of the present invention. The naked eye 3D display terminal comprises a display, and different from a conventional display, the display of the naked eye 3D display terminal comprises a display screen and a light splitting device arranged on the display screen. The Display screen is used to Display an image, and may be, for example, a conventional 2D Display panel, such as a Liquid Crystal Display (LCD) panel, an Organic Light-Emitting Diode (OLED) panel, and a Light splitting device is used to split the image displayed by the Display screen, where the Light splitting device may be, for example, a grating, and the grating may be any one of gratings capable of achieving a Light splitting effect, for example, any one of gratings used in a naked-eye 3D Display terminal in the prior art, such as a slit grating or a lenticular grating, specifically, for example, a Liquid Crystal slit grating, a Liquid Crystal lenticular grating, a UV-LENS grating, a metal slit grating, and the like. The invention is not limited in this regard. The naked eye 3D display terminal according to the embodiment of the present invention may be any image display terminal such as a display, a mobile phone, a tablet computer, a personal computer, and an all-in-one machine, which is not limited in this respect.
As known to those skilled in the art, each frame of stereoscopic image of a 3D image source includes a left-eye view and a right-eye view, and when performing naked-eye 3D display, the left-eye view and the right-eye view are combined and arranged on a display panel according to a certain rule (i.e., arranged), and the left-eye view is sent to the left eye of a user and the right-eye view is sent to the right eye of the user by matching with the light splitting function of a light splitting device.
An embodiment of the present invention provides an image display method for a naked eye 3D display terminal, as shown in fig. 1, the method includes:
step 101: the image content is displayed in a first display mode.
Wherein the first display mode is one of a 3D display mode and a 2D display mode. When the first display mode is the 2D display mode, step 101 may include:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and performing naked eye stereoscopic display according to the target left eye view and the target right eye view.
The target left eye view is used for sending into the left eye of a user, and the target right eye view is used for sending into the right eye of the user.
Namely, when the naked eye 3D display terminal is in the 2D display mode, the 2D display mode can be directly adopted to achieve the 2D display effect, and the naked eye three-dimensional display mode can also be adopted to achieve the 2D display effect. When the 2D display effect is achieved by using the autostereoscopic display method, the views sent to the left eye and the right eye of the user need to be set to be the same, and if the views are both left eye views or right eye views.
Step 102: it is determined whether to switch the first display mode to the second display mode.
The first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode. Therefore, the embodiment of the invention can realize switching from the 2D display mode to the 3D display mode, and can also realize switching from the 3D display mode to the 2D display mode.
Preferably, step 102 comprises:
acquiring first motion state information of a naked eye 3D display terminal;
determining whether to switch the first display mode to the second display mode according to the first motion state information;
or
Detecting whether a naked eye 3D display terminal receives a display mode switching instruction;
when the naked eye 3D display terminal is detected to receive a display mode switching instruction, the first display mode is determined to be switched to the second display mode.
That is, in the embodiment of the present invention, the 2D display mode and the 3D display mode may be automatically switched to each other according to the motion state information indicating the motion state of the naked eye 3D display terminal, for example, when the naked eye 3D display terminal moves rapidly or moves greatly and violently, the 3D display mode is switched to the 2D display mode, and when the naked eye 3D display terminal moves severely and returns to a standstill, the 2D display mode is switched to the 3D display mode. And the switching between the 2D display mode and the 3D display mode can be triggered according to a display mode instruction received by the naked eye 3D display terminal. The user can issue the display mode switching instruction in a plurality of feasible modes such as touch control, voice and the like.
The display modes are automatically switched according to the motion state information of the naked eye 3D display terminal, so that the naked eye 3D display terminal can automatically display in different display modes in different motion states, and the display effect which is comfortable to the eyes can be displayed in different motion states of the naked eye 3D display terminal.
In addition, the display mode switching instruction is an instruction input by a user in the naked eye 3D display terminal, and the display mode is switched according to the display mode instruction received by the naked eye 3D display terminal, so that the naked eye 3D display terminal can switch the display mode according to the actual watching requirement of the user, and the watching requirements of different users are further met.
Preferably, the first motion state information includes angular velocity information of the naked eye 3D display terminal;
when the first display mode is the 3D display mode and the second display mode is the 2D display mode, the step of determining whether to switch the first display mode to the second display mode according to the first motion state information may include:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
determining whether an absolute value of the target angular velocity is greater than or equal to a first preset threshold;
and when the absolute value of the target angular velocity is greater than or equal to a first preset threshold value, determining to switch the first display mode into the second display mode.
When the first display mode is the 2D display mode and the second display mode is the 3D display mode, the step of determining whether to switch the first display mode to the second display mode according to the first motion state information may include:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
determining whether the absolute value of the target angular velocity is smaller than a second preset threshold value;
and when the absolute value of the target angular velocity is smaller than a second preset threshold, determining to switch the first display mode to the second display mode.
Further, in order to avoid errors, when it is determined that the absolute value of the target angular velocity is smaller than the second preset threshold, it is further determined whether the number of times that the absolute value of the target angular velocity is continuously smaller than the second preset threshold has reached the preset threshold, and when the number of times that the absolute value of the target angular velocity is continuously smaller than the second preset threshold reaches the preset threshold, it is determined to switch the first display mode to the second display mode (i.e., switch the 2D display mode to the 3D display mode).
According to the method, when the absolute value of the target speed determined according to the angle information of the naked eye 3D display terminal is greater than or equal to the first preset threshold, the 3D display mode is determined to be switched to the 2D display mode; and when the absolute value of the target angular velocity determined according to the angular velocity information of the naked eye 3D display terminal is smaller than a second preset threshold, determining to switch the 2D display mode into the 3D display mode.
Further optionally, the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal includes: determining the second angular velocity as a target angular velocity;
further optionally, the angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around the X direction and a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal includes: determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity as a target angular velocity;
further optionally, the angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around the X direction, a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around the Z direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal includes: carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
That is, in the embodiment of the present invention, the target angular velocity may be determined according to at least one of a first angular velocity of the naked eye 3D display terminal rotating around the X direction, a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around the Z direction.
Specifically, the step of performing weighted summation processing on the first angular velocity, the second angular velocity, and the third angular velocity to obtain the target angular velocity includes:
acquiring a screen state of a naked eye 3D display terminal;
when the screen state is the landscape state, a1 × ω according to the first predetermined formula ω 1X+b1×ωY+c1×ωZObtaining a target angular velocity omega 1 in a horizontal screen state;
when the screen state is the vertical screen state, a2 × ω according to a second predetermined formula ω 2X+b2×ωY+c2×ωZObtaining a target angular velocity omega 2 in a vertical screen state;
wherein, ω isXRepresenting a first angular velocity, ωYRepresenting a second angular velocity, ωZRepresents a third angular velocity;
a1, b1 and c1 respectively represent the weight value of the first angular velocity, the weight value of the second angular velocity and the weight value of the third angular velocity in the cross-screen state;
a2, b2, c2 respectively represent the weight value of the first angular velocity, the weight value of the second angular velocity and the weight value of the third angular velocity in the vertical screen state.
Bore hole 3D display terminal is in the screen display direction of difference, at horizontal screen state and vertical screen state promptly, and the rotation of equidirectional not is different to the influence of display effect, consequently, can set up above-mentioned weighted value according to the screen display direction, and the weighted value of horizontal screen direction and each angular velocity of vertical screen direction can be different. For example, when displayed on a landscape screen, a 1: b 1: c1 is 8:1:1, and when displayed in vertical screen, a 2: b 2: c2 is 1:8: 1.
Step 103: when the first display mode is determined to be switched to the second display mode, the image content is displayed in the gradient display mode, so that the first display mode is switched to the second display mode through the gradient display mode.
The gradual change display mode is to gradually change the content seen by at least one of the left and right eyes of the user, so that the part of the content is gradually changed from the content corresponding to the first display mode to the content corresponding to the second display mode. Therefore, the embodiment of the invention can avoid discomfort of the eyes of the user due to abrupt change of the content sent to the eyes of the user when the naked eye 3D display terminal is switched between the 3D display mode and the 2D display mode, and improves the watching experience of the user.
In addition, when the second display mode is the 2D display mode, when the second display mode is switched to, the image content is displayed in the second display mode; displaying the image content in the second display mode includes:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and performing naked eye stereoscopic display according to the target left eye view and the target right eye view.
The target left eye view is used for sending into the left eye of a user, and the target right eye view is used for sending into the right eye of the user.
Namely, when the naked eye 3D display terminal is in the 2D display mode, the 2D display mode can be directly adopted to achieve the 2D display effect, and the naked eye three-dimensional display mode can also be adopted to achieve the 2D display effect. When the 2D display effect is achieved by using the autostereoscopic display method, the views sent to the left eye and the right eye of the user need to be set to be the same, and if the views are both left eye views or right eye views.
Preferably, the displaying the image content in the gradient display mode includes
Acquiring a mixed image of a left eye view and a right eye view of image content;
and taking the mixed image as a target left eye view and the right eye view as a target right eye view, or taking the mixed image as a target right eye view and the left eye view as a target left eye view, and performing naked eye three-dimensional display according to the target left eye view and the target right eye view.
I.e. a mixed image of left and right eye views, may be delivered to the user's left eye as a target left eye view or to the user's right eye as a right eye view.
As known to those skilled in the art, each frame of stereoscopic image of the 3D image source includes a left-eye view and a right-eye view, and when performing conventional naked-eye 3D display, the left-eye view and the right-eye view are arranged on the display panel in a regular combination (i.e., arranged), and the left-eye view is sent to the left eye of the user and the right-eye view is sent to the right eye of the user by matching with the light splitting function of the light splitting device. In the embodiment of the present invention, for convenience of description and distinction, a left eye view and a right eye view in a 3D image source, that is, image content are referred to as a left eye view and a right eye view, respectively, and views in arrangement, that is, views to be sent to left eyes and right eyes of a user are referred to as a target left eye view and a target right eye view.
After the mixed image is obtained, the mixed image is utilized to perform naked-eye 3D display, for example, the mixed image is used as a target left-eye view, a right-eye view is used as a target right-eye view, the mixed image and the right-eye view are subjected to layout display, the mixed image is sent to the left eye of a user, and the right-eye view is sent to the right eye of the user, so that the naked-eye stereoscopic display is performed according to the mixed image and the right-eye view. Of course, the mixed image may also be used as a target right-eye view, the left-eye view may be used as a target left-eye view, and the arrangement display may be performed according to the mixed image and the left-eye view, that is, the mixed image is sent to the right eye of the user, and the left-eye view is sent to the left eye of the user, so that the naked-eye stereoscopic display may be performed according to the mixed image and the left-eye view.
Preferably, the step of acquiring a mixed image of a left-eye view and a right-eye view of the image content includes:
determining an image gradient mixing coefficient;
acquiring a mixed image of a left eye view and a right eye view in image content according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the mixed image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents an image gradation mixing coefficient, and 0 ≦ α ≦ 1.
When g (x, y) represents the pixel value of the pixel with the left-eye view coordinate (x, y) and h (x, y) represents the pixel value of the pixel with the right-eye view coordinate (x, y), the image gradient mixing coefficient represents the ratio of the right-eye view in the mixed image; when g (x, y) represents the pixel value of the pixel with the coordinate (x, y) of the right-eye view and h (x, y) represents the pixel value of the pixel with the coordinate (x, y) of the left-eye view, the image gradation mixing coefficient represents the ratio of the left-eye view in the mixed image.
In addition, the pixel values are RGB values. And when the pixel values at the coordinate positions in the mixed image are calculated, the R value, the G value and the B value are respectively calculated.
Further, the step of determining the image fade mixing coefficient includes:
acquiring second motion state information of the naked eye 3D display terminal, and determining an image gradient mixing coefficient according to the second motion state information;
or
And determining the gradient mixing coefficient of the image according to the preset time interval and gradient step length.
That is, in the embodiment of the present invention, there are two determination ways of the image gradation mixing coefficient as follows:
the first method comprises the following steps: determining according to the motion state information of the naked eye 3D display terminal;
and the second method comprises the following steps: and determining according to a preset time interval and a gradual change step length.
In addition, in the embodiment of the present invention, there are two ways of determining whether the naked eye 3D display terminal is switched from the first display mode to the second display mode:
the first method comprises the following steps: determining according to the motion state information of the naked eye 3D display terminal;
and the second method comprises the following steps: and determining according to the display mode switching instruction received by the naked eye 3D display terminal.
Therefore, the two modes of whether the naked eye 3D display terminal is switched from the first display mode to the second display mode and the two determination modes of the image gradient mixing coefficient can be freely combined, so that different implementation schemes are obtained. Two preferred combinations are as follows:
the first scheme is as follows: and when the first display mode is determined to be switched to the second display mode, determining an image gradient mixing coefficient according to the motion state information of the naked eye 3D display terminal, so as to obtain a mixed image of a left eye view and a right eye view according to the determined image gradient mixing coefficient, and further performing naked eye stereoscopic display on the mixed image and the right eye view together, or performing naked eye stereoscopic display on the mixed image and the left eye view together.
Scheme II: detecting whether a naked eye 3D display terminal receives a display mode switching instruction, when detecting that the naked eye 3D display terminal receives the display mode switching instruction, determining an image gradient mixing coefficient according to a preset time interval and a gradient step length, so as to obtain a mixed image of a left eye view and a right eye view according to the determined image gradient mixing coefficient, and further performing naked eye three-dimensional display on the mixed image and the right eye view together, or performing naked eye three-dimensional display on the mixed image and the left eye view together.
Further, in the first aspect: the specific process of determining the image gradient mixing coefficient according to the motion state information of the naked eye 3D display terminal is as follows:
the second motion state information comprises the angular speed information of the naked eye 3D display terminal; the step of obtaining second motion state information of the naked eye 3D display terminal and determining the image gradient mixing coefficient according to the second motion state information includes:
acquiring angular velocity information of a naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number.
In the switching process from the 3D display mode to the 2D display mode, angular velocity information of the naked eye 3D display terminal is acquired at intervals of preset time, a comparison parameter is determined according to the acquired angular velocity information, if the comparison parameter is between a third preset threshold and a fourth preset threshold, an image gradient mixing coefficient can be obtained according to the comparison parameter, and until the comparison parameter obtained at a certain time is greater than or equal to the fourth preset threshold, the calculation of the image gradient mixing coefficient is stopped, namely, the 2D display mode is started to display.
In addition, in the switching process from the 2D display mode to the 3D display mode, angular velocity information of the naked eye 3D display terminal is acquired at intervals of preset time, a comparison parameter is determined according to the acquired angular velocity information, if the comparison parameter is between a third preset threshold and a fourth preset threshold, an image gradient mixing coefficient can be obtained according to the comparison parameter, and until the comparison parameter obtained by continuous preset times is smaller than the third preset threshold, the calculation of the image gradient mixing coefficient is stopped, namely, the display in the 3D display mode is started.
Preferably, the step of determining the comparison parameter according to the angular velocity information of the naked eye 3D display terminal includes:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
That is, in the embodiment of the present invention, the determination manner of the comparison parameter includes the following two manners:
the first method comprises the following steps: directly taking the absolute value of the target angular velocity determined by the angular velocity information of the naked eye 3D display terminal acquired at preset time intervals as a comparison parameter;
and the second method comprises the following steps: and determining the absolute value of the numerical value obtained by weighted summation of the target angular velocities obtained for the last times as a comparison parameter.
Since the subsequent image gradient mixing coefficient is determined according to the comparison parameter, the second determination method for the comparison parameter can avoid that the abrupt angular velocity information causes the image gradient mixing coefficient to generate a large deviation, and further avoid abrupt change of the mixed image obtained according to the image gradient mixing coefficient.
Further, the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time includes: determining the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around the X direction and a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time comprises the following steps: determining the arithmetic square root of the square sum of the first angular velocity and the second angular velocity obtained each time as a target angular velocity;
or
The angular velocity information comprises angular velocity information including a first angular velocity of the naked eye 3D display terminal rotating around the X direction, a second angular velocity of the naked eye 3D display terminal rotating around the Y direction and a third angular velocity of the naked eye 3D display terminal rotating around the Z direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time comprises the following steps:
carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity obtained each time to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
That is, in the embodiment of the present invention, the target angular velocity may be determined according to at least one of a first angular velocity of the naked eye 3D display terminal rotating around the X direction, a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around the Z direction.
Specifically, the step of performing weighted summation processing on the first angular velocity, the second angular velocity, and the third angular velocity obtained each time to obtain the target angular velocity includes:
acquiring a screen state of a naked eye 3D display terminal;
when the screen state is the landscape state, a1 × ω according to the first predetermined formula ω 1X+b1×ωY+c1×ωZObtaining a target angular velocity omega 1 in a horizontal screen state;
when the screen state is the vertical screen state, a2 × ω according to a second predetermined formula ω 2X+b2×ωY+c2×ωZObtaining a target angular velocity omega 2 in a vertical screen state;
wherein, ω isXRepresenting a first angular velocity, ωYRepresenting a second angular velocity, ωZRepresents a third angular velocity;
a1, b1 and c1 respectively represent the weight value of the first angular velocity, the weight value of the second angular velocity and the weight value of the third angular velocity in the cross-screen state;
a2, b2, c2 respectively represent the weight value of the first angular velocity, the weight value of the second angular velocity and the weight value of the third angular velocity in the vertical screen state.
In addition, as can be seen from the above, in the process of determining the image gradient mixing coefficient according to the second motion state information, there is a process of "determining the target angular velocity according to the angular velocity information of the naked-eye 3D display terminal included in the second motion state information". In the process of determining whether to switch the first display mode to the second display mode in step 102, there is a process of determining a target angular velocity according to that "the first motion state information includes angular velocity information of the naked-eye 3D display terminal". The two specific processes for determining the target angular velocity may be the same or different, and the target angular velocity may be obtained only once, so that the target angular velocity may be used in step 102 and step 103. That is, the target angular velocity applied in the process of determining the image gradient mixing coefficient may be the target angular velocity applied when determining whether to switch the first display mode to the second display mode, or may be recalculated by using the same or different algorithms according to the angular velocity information of the naked-eye 3D display terminal.
Preferably, the step of obtaining the image gradient mixing coefficient according to the comparison parameter includes:
according to a predetermined formula
Figure BDA0001468990840000241
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure BDA0001468990840000242
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
where β denotes a reference coefficient, γ denotes a comparison parameter, and Δ x denotes a first preset value.
That is, whether in the process of switching from the 3D display mode to the 2D display mode or in the process of switching from the 2D display mode to the 3D display mode, the image gradient mixing coefficient can be determined in two ways:
the first method comprises the following steps: reducing the reference coefficient obtained at intervals of preset time by a first preset value to obtain a result as the image gradient mixing coefficient of the current time;
and the second method comprises the following steps: and after the reference coefficient obtained at every preset time interval is reduced by a first preset value, comparing the reference coefficient with the image gradual change mixing coefficient obtained last time, and taking the larger of the reference coefficient and the image gradual change mixing coefficient as the image gradual change mixing coefficient of the current time.
The image gradient mixing coefficient is determined by adopting the second mode, so that the phenomenon that pictures are jittered in the gradient display mode process can be avoided.
Specifically, when the image gradient mixing coefficient is determined in the second manner, for example, the first preset value is set to 0.2, if during the switching process from the 3D display mode to the 2D display mode, for example:
if the comparison parameter obtained for the first time is 0.8, the image gradient mixing coefficient of the current time is 0.6;
if the comparison parameter obtained for the second time is 0.85, the greater of the image gradient mixing coefficient of this time of 0.85-0.2 and the image gradient mixing coefficient of the last time of 0.6 is 0.65;
if the comparison parameter obtained for the third time is 0.7, the greater of the image gradient mixing coefficient of this time of 0.7-0.2 and the image gradient mixing coefficient of the last time of 0.65 is 0.65;
if the fourth comparison parameter is 0.85, the larger of the current image gradient mixing coefficient 0.85-0.2 and the last image gradient mixing coefficient 0.65 is 0.65.
Therefore, even if the motion of the naked-eye 3D display terminal fluctuates during the switching process from the 3D display mode to the 2D display mode, which results in fluctuation of the obtained comparison parameter, the image gradient mixing coefficient determined by the second method is not affected, thereby effectively preventing the picture from shaking.
Of course, in the switching process from the 3D display mode to the 2D display mode, the two manners of determining the image gradient mixing coefficient according to the comparison parameter are described by taking the example that the image gradient mixing coefficient gradually increases with the angular velocity of the naked eye 3D display terminal, but it is understood that the present invention is not limited thereto, and in the switching process from the 3D display mode to the 2D display mode, the image gradient mixing coefficient may also gradually decrease, that is, no matter how the image gradient mixing coefficient gradually changes, the general principle is that the target left eye view and the target right eye view for the naked eye stereoscopic display are closer to each other, and assuming that the mixed image is taken as the target left eye view, the gradual change of the image gradient mixing coefficient needs to make the mixed image closer to the right eye view.
In addition, in the process of switching the 3D display mode to the 2D display mode, the movement of the naked eye 3D display terminal may become gradually severe, and the image gradient mixing coefficient is in an increasing or decreasing trend during the process, so that the proportion of one of the left eye view and the right eye view in the mixed image is increased. Specifically, when the mixed image is used as a target right eye view and the image gradient mixing coefficient represents the proportion of a left eye view in the mixed image, in the transition process from the 3D display mode to the 2D display mode, the proportion of the left eye view in the mixed image is gradually increased, the mixed image is closer to the left eye view, and when the display mode is switched to the 2D display mode, the images sent to the left eye and the right eye of a user are both left eye views; when the mixed image is used as a target right eye view and the image gradient mixing coefficient represents the proportion of the right eye view in the mixed image, in the transition process from the 3D display mode to the 2D display mode, the proportion of the right eye view in the mixed image is gradually reduced, the mixed image is closer to the left eye view, and when the mixed image is switched to the 2D display mode, the images sent to the left eye and the right eye of a user are both left eye views; when the mixed image is used as a target left eye view and the image gradient mixing coefficient represents the proportion of the right eye view in the mixed image, in the transition process from the 3D display mode to the 2D display mode, the proportion of the right eye view in the mixed image is gradually increased, the mixed image is closer to the right eye view, and when the display mode is switched to the 2D display mode, the images sent to the left eye and the right eye of a user are both the right eye view. When the mixed image is used as a target left eye view and the image gradient mixing coefficient represents the proportion of the left eye view in the mixed image, the proportion of the left eye view in the mixed image is gradually reduced in the transition process from the 3D display mode to the 2D display mode, the mixed image is closer to the right eye view, and when the mixed image is switched to the 2D display mode, the images sent to the left eye and the right eye of a user are both right eye views. Therefore, in the transition process from the 3D display mode to the 2D display mode, the transition is performed according to the trend that the proportion of the final 2D display view in the mixed image is gradually increased, and further, the human eyes feel comfortable.
In addition, specifically, when the image gradient mixing coefficient is determined in the second manner, for example, the first preset value is set to 0.2, if during the switching process from the 2D display mode to the 3D display mode, for example:
if the comparison parameter obtained for the first time is 0.8, the image gradient mixing coefficient of the current time is 0.6;
if the comparison parameter obtained for the second time is 0.7, the greater of the image gradient mixing coefficient of this time of 0.7-0.2 and the image gradient mixing coefficient of the last time of 0.6 is 0.6;
if the comparison parameter obtained for the third time is 0.72, the greater of the image gradient mixing coefficient of this time of 0.72-0.2 and the image gradient mixing coefficient of the last time of 0.6 is 0.6;
if the comparison parameter obtained in the fourth time is 0.7, the larger of the current image gradient mixing coefficient of 0.7-0.2 and the last image gradient mixing coefficient of 0.6 is 0.6.
Therefore, even if the motion of the naked-eye 3D display terminal fluctuates during the switching process from the 2D display mode to the 3D display mode, which results in fluctuation of the obtained comparison parameter, the image gradient mixing coefficient determined by the second method is not affected, thereby effectively preventing the picture from shaking.
In addition, when the naked eye 3D display terminal is in motion, human eyes are more comfortable for watching images close to 2D, so that in the switching process from the 2D display mode to the 3D display mode, the image gradient mixing coefficient is the maximum value obtained by two adjacent times, the mixed image is closer to the 2D image, and the human eyes feel more comfortable.
According to the second aspect, the specific process of determining the image gradient mixing coefficient according to the preset time interval and gradient step length is as follows:
the step of determining the image gradient mixing coefficient according to the preset time interval and gradient step length comprises the following steps:
and reducing the gradient step length of the image gradient mixing coefficient at preset time intervals from the initial value. For example, the image gradient mixing coefficient is reduced from an initial value of 1 to a gradient step at preset time intervals until the image gradient mixing coefficient is reduced to 0;
or
And increasing the gradient step length of the image gradient mixing coefficient at preset time intervals from the initial value. For example, the image fade-mixing coefficient is increased by a fade step at predetermined time intervals from the initial value of 0 until the image fade-mixing coefficient is increased to 1.
The gradual step size of each decrease or increase may be the same or different.
When the image gradient mixing coefficient represents the ratio of the left-eye view in the mixed image, the mixed image is used as a target right-eye view, and the 2D display mode shows the left-eye view, in the switching process from the 2D display mode to the 3D display mode, the image gradient mixing coefficient starts from the initial value of 1, the gradient step length is reduced at preset time intervals, and the mixed image is gradually changed into the right-eye view until the image gradient mixing coefficient is reduced to 0; in the switching process from the 3D display mode to the 2D display mode, the image fade-mixing coefficient is increased by a fade step at preset time intervals from the initial value of 0 until the image fade-mixing coefficient is increased to 1, and the mixed image is faded to the left-eye view.
When the image gradient mixing coefficient represents the ratio of the left-eye view in the mixed image, the mixed image is used as a target left-eye view, and the 2D display mode displays a right-eye view, in the switching process from the 2D display mode to the 3D display mode, the image gradient mixing coefficient starts from 0 as an initial value, the gradient step length is increased at preset time intervals until the image gradient mixing coefficient is increased to 1, and the mixed image is gradually changed into the left-eye view; in the switching process from the 3D display mode to the 2D display mode, the image fade-mixing coefficient is decreased by a fade step at preset time intervals from an initial value of 1 until the image fade-mixing coefficient is decreased to 0, and the mixed image is faded to the right eye view.
When the image gradient mixing coefficient represents the ratio of the right-eye view in the mixed image, the mixed image is used as a target left-eye view, and the 2D display mode shows the right-eye view, in the switching process from the 2D display mode to the 3D display mode, the image gradient mixing coefficient starts from the initial value of 1, the gradient step length is reduced at preset time intervals until the image gradient mixing coefficient is reduced to 0, and the mixed image is gradually changed into the left-eye view; in the switching process from the 3D display mode to the 2D display mode, the image fade-mixing coefficient is increased by a fade step at preset time intervals from the initial value of 0 until the image fade-mixing coefficient is increased to 1, and the mixed image is faded to the right eye view.
When the image gradient mixing coefficient represents the ratio of the right-eye view in the mixed image, the mixed image is used as a target right-eye view, and the 2D display mode shows the left-eye view, in the switching process from the 2D display mode to the 3D display mode, the image gradient mixing coefficient starts from 0 as an initial value, the gradient step length is increased at preset time intervals until the image gradient mixing coefficient is increased to 1, and the mixed image is gradually changed into the right-eye view; in the process of switching from the 3D display mode to the 2D display mode, the image gradient mixing coefficient is reduced by the gradient step length at preset time intervals from the initial value of 1 until the image gradient mixing coefficient is reduced to 0, and the mixed image is gradually changed into a left eye view.
Furthermore, preferably, in the process of displaying the image content in the gradient display mode, the embodiment of the present invention further includes:
determining whether to switch from the fade display mode back to the first display mode;
and when the gradual change display mode is switched back to the first display mode, restoring to displaying the image content in the first display mode.
Wherein, the step of determining whether to switch from the gradual change display mode back to the first display mode specifically includes:
acquiring third motion state information of the naked eye 3D display terminal;
judging whether the third motion state information meets a preset condition or not;
and when the third motion state information meets the preset condition, determining to switch from the gradual change display mode to the first display mode.
That is, when the display mode of the naked eye 3D display terminal is switched according to the motion state information of the naked eye 3D display terminal, there are two cases as follows:
the first condition is as follows: the naked eye 3D display terminal enters a gradual change display mode from a 2D display mode, does not enter the 3D display mode at last, and returns to the 2D display mode;
case two: the naked eye 3D display terminal enters the gradual change display mode from the 3D display mode, does not enter the 2D display mode at last, and returns to the 3D display mode.
The third motion state information includes angular velocity information of the naked eye 3D display terminal, the angular velocity information includes at least one of a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, a target angular velocity may be determined according to the angular velocity information of the naked eye 3D display terminal, and whether the target angular velocity meets a preset condition is determined, and when the target angular velocity meets the preset condition, it indicates that the naked eye 3D display terminal needs to return to the first display mode (i.e., the 2D display mode or the 3D display mode) from the gradual change display mode. The specific process of determining the target angular velocity according to the angular velocity information of the naked-eye 3D display terminal is as described above, and is not described herein again.
Specifically, when the target angular velocity determined according to the angular velocity information of the naked eye 3D display terminal is greater than a second preset threshold value, returning to the 2D display mode; and when the target angular speed determined according to the angular speed information of the naked eye 3D display terminal is less than a first preset threshold value for continuous preset times, returning to the 3D display mode.
As can be seen from the above, the specific implementation of the image display method for a naked-eye 3D display terminal according to the embodiment of the present invention is as follows:
in a first embodiment, a mixed image of a left-eye view and a right-eye view in image content is obtained according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α; mixing the image as a target right-eye view, a left-eye view as a target left-eye view, h (x, y) representing a left-eye view, and g (x, y) representing a right-eye view, as shown in fig. 4, comprising the steps of:
step 401: displaying in a current display mode, and detecting whether a display mode switching instruction is received; the current display mode is a 3D display mode or a 2D display mode. When a display mode switching instruction is received and the current display mode is the 3D display mode, step 402 is executed; when the display mode switching instruction is received and the current display mode is the 2D display mode, step 405 is executed.
Step 402: when the current display mode is the 3D display mode, starting from the initial value of 0, increasing the gradient step length at preset time intervals, determining a mixed image according to the image gradient mixing coefficient, taking the mixed image as a target right-eye view, taking a left-eye view as a target left-eye view, and performing naked eye three-dimensional display according to the target left-eye view and the target right-eye view, so that the mixed image is sent to the right eye of a user, and the left-eye view is sent to the left eye of the user;
step 403: judging whether the image gradient mixing coefficient is increased to 1, if so, executing a step 404, otherwise, executing a step 402;
step 404: switching to a 2D display mode, wherein the left eye view is sent to both eyes of the user;
step 405: the current mode is a 2D display mode, and the two eyes sent to the user are all left eye views, starting from an initial value of 1, reducing the gradient step length at preset time intervals, determining a mixed image according to the image gradient mixing coefficient, taking the mixed image as a target right eye view, taking a left eye view as a target left eye view, and performing naked eye three-dimensional display according to the target left eye view and the target right eye view, so that the mixed image is sent to the right eye of the user, and the left eye view is sent to the left eye of the user;
step 406: judging whether the image gradient mixing coefficient is reduced to 0, executing step 407 when the image gradient mixing coefficient is reduced to 0, otherwise executing step 405;
step 407: and switching to a 3D display mode.
It is understood that, in the above embodiment, the gradual change mode is adopted in both the 2D to 3D switching process and the 3D to 2D switching process, but the present invention is not limited thereto, and at least one of the two switching processes may adopt gradual change switching, and in consideration of the complexity of loading the 3D display, a certain time is required in the process from 2D to 3D display, and therefore, the gradual change mode is preferably adopted in the process from 3D to 2D, and in the process from 2D to 3D, the gradual change display may not be performed.
The second embodiment: and switching the 3D display mode to the 2D display mode in the process of changing the naked eye 3D display terminal from the static state to the motion state.
In this embodiment, a mixed image of a left-eye view and a right-eye view in image content is acquired according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α; the blended image is taken as the target right eye view, the left eye view is taken as the target left eye view, h (x, y) represents the left eye view, and g (x, y) represents the right eye view.
Specifically, as shown in fig. 5, the present embodiment includes the steps of:
step 501: currently, displaying in a 3D display mode, acquiring angular velocity information of a naked eye 3D display terminal once at preset time intervals, and determining a target angular velocity according to the angular velocity information;
step 502: judging whether the absolute value of the target angular velocity is greater than or equal to a first preset threshold, executing step 503 when the absolute value of the target angular velocity is greater than or equal to the first preset threshold, otherwise executing step 501; in this embodiment, when the absolute value of the target angular velocity is greater than or equal to the first preset threshold, it indicates that the motion of the naked-eye 3D display terminal becomes severe, and at this time, if the naked-eye 3D display terminal still performs display in the 3D display mode, problems such as crosstalk may occur, which affects the viewing effect of the user, and therefore, in this embodiment, when the absolute value of the target angular velocity is greater than or equal to the first preset threshold, step 503 is executed, and the mode may be switched to the 2D display mode;
step 503: and when the absolute value of the target angular velocity is greater than or equal to a first preset threshold, performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as a comparison parameter.
The absolute value of the target angular velocity is greater than or equal to a first preset threshold value, which indicates that the motion state of the naked-eye 3D display terminal becomes severe, and steps 503-506 need to be executed to enter a gradual change display mode. In the gradual change display mode, because the image gradual change mixing coefficient is determined according to the comparison parameter, the absolute value of the numerical value obtained after the weighted summation processing of the target angular velocities of the first preset number obtained recently is used as the comparison parameter, so that the larger deviation of the image gradual change mixing coefficient caused by the sudden change of the angular velocity information can be avoided, and the sudden change of the mixed image obtained according to the image gradual change mixing coefficient is further avoided.
Step 504: judging whether the comparison parameter is between a third preset threshold and a fourth preset threshold, executing step 505 when the comparison parameter is between the third preset threshold and the fourth preset threshold, executing step 501 when the comparison parameter is less than or equal to the third preset threshold, and executing step 507 when the comparison parameter is greater than or equal to the fourth preset threshold; the third preset threshold may be greater than or equal to the first preset threshold.
Step 505: and reducing the comparison parameter by a first preset value (wherein, after the first preset value is reduced, if the comparison parameter is less than or equal to 0, the comparison parameter is set as 0, and if the comparison parameter is greater than or equal to 1, the comparison parameter is set as 1), comparing the comparison parameter with the image gradient mixing coefficient obtained last time, and taking the larger of the comparison parameter and the image gradient mixing coefficient as the image gradient mixing coefficient of this time.
Step 506: and determining a mixed image according to the image gradient mixing coefficient, and taking the mixed image as a target right-eye view and taking a left-eye view as a target left-eye view, so that the mixed image is sent to the right eye of the user, and the left-eye view is sent to the left eye of the user.
Step 507: switching to a 2D display mode (where both eyes of the user are presented with left eye views). When the naked eye 3D display terminal enters the 2D display mode, one of the left eye view and the right eye view in the image content can be selected for 2D display, one of the left eye view and the right eye view in the image content can be selected as the target left eye view and the target right eye view simultaneously, and then naked eye three-dimensional display is performed according to the target left eye view and the target right eye view. The condition that the 2D display effect is achieved by adopting a naked eye stereoscopic display mode can be a special display condition when the image gradient mixing coefficient is equal to 1 or 0 in a gradient display mode.
In this embodiment, the switching to the 2D display mode may be to set the image gradient mixing coefficient to 1, where the mixed image is a left eye view serving as a target right eye view, and the left eye view is a target left eye view, and the target left eye view and the target right eye view are the same and both are left eye views, and thus, when displaying in a naked-eye 3D manner, a 2D display effect may be presented.
As can be seen from the above, in the present embodiment, it can be determined whether to switch the 3D display mode to the 2D display mode through steps 501 to 502, and when the absolute value of the target angular velocity is greater than or equal to the first preset threshold, it is determined that the 3D display mode needs to be switched to the 2D display mode, so as to enter the gradual change display mode through steps 503 to 506, and when the obtained comparison parameter is greater than or equal to the fourth preset threshold, the mode is switched to the 2D display mode. In the process that the naked eye 3D display terminal is changed from the static state to the violent motion state, the obtained comparison parameter is gradually changed to be larger than or equal to the fourth preset threshold value from being between the third preset threshold value and the fourth preset threshold value, so that the 3D display mode can be switched to the 2D display mode through the gradual change display mode in the process that the naked eye 3D display terminal is changed from the static state to the violent motion state.
A real-time mode is as follows: in the present embodiment, the process of switching from the 2D display mode to the 3D display mode again in the process of gradually changing from the moving state to the stationary state after the naked-eye 3D display terminal is switched to the 2D display mode through a violent movement is targeted.
In the present embodiment, a mixed image of a left-eye view and a right-eye view in image content is obtained according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α; the blended image is taken as the target right eye view, the left eye view is taken as the target left eye view, h (x, y) represents the left eye view, and g (x, y) represents the right eye view.
Specifically, as shown in fig. 6, the real-time method includes the following steps:
step 601: currently, displaying in a 2D display mode, acquiring angular velocity information of a naked eye 3D display terminal at preset time intervals, and determining a target angular velocity according to the angular velocity information;
when the naked eye 3D display terminal displays in the 2D display mode, one of the left eye view and the right eye view in the image content can be selected for 2D display, one of the left eye view and the right eye view in the image content can be selected as a target left eye view and a target right eye view at the same time, and then naked eye three-dimensional display is performed according to the target left eye view and the target right eye view. The condition that the 2D display effect is achieved by adopting a naked eye stereoscopic display mode is a special display condition when the image gradient mixing coefficient is equal to 1 or 0 in the gradient display mode.
In this embodiment, the 2D display mode may be a special case where the image gradient blending coefficient is set to 1 in the gradient display mode.
Step 602: judging that the absolute value of the target angular velocity is smaller than a second preset threshold, executing the step 603 when the absolute value of the target angular velocity is smaller than the second preset threshold, otherwise executing the step 601;
the absolute value of the target angular velocity is smaller than a second preset threshold value, which indicates that the motion state of the naked eye 3D display terminal becomes slow and tends to a static state, at this time, in order to meet the stereoscopic viewing requirement of the user, when the absolute value of the target angular velocity is smaller than the second preset threshold value, step 603 is executed, and further, the mode can be switched to the 3D display mode;
step 603: when the absolute value of the target angular velocity is smaller than a second preset threshold, performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as a comparison parameter;
and if the absolute value of the target angular velocity is greater than or equal to the first preset threshold, the movement state of the naked eye 3D display terminal becomes slow, steps 603-606 need to be executed, and a gradual change display mode is entered. In the gradual change display mode, because the image gradual change mixing coefficient is determined according to the comparison parameter, the absolute value of the numerical value obtained after the weighted summation processing of the target angular velocities of the first preset number obtained recently is used as the comparison parameter, so that the larger deviation of the image gradual change mixing coefficient caused by the sudden change of the angular velocity information can be avoided, and the sudden change of the mixed image obtained according to the image gradual change mixing coefficient is further avoided.
Step 604: judging whether the comparison parameter is between a third preset threshold and a fourth preset threshold, executing step 605 when the comparison parameter is between the third preset threshold and the fourth preset threshold, executing step 601 when the comparison parameter is greater than or equal to the fourth preset threshold, and executing step 607 when the number of times that the comparison parameter is continuously less than or equal to the third preset threshold reaches a preset number of times.
Step 605: and reducing the comparison parameter by a first preset value (wherein, after the first preset value is reduced, if the comparison parameter is less than or equal to 0, the comparison parameter is set as 0, and if the comparison parameter is greater than or equal to 1, the comparison parameter is set as 1), comparing the comparison parameter with the image gradient mixing coefficient obtained last time, and taking the larger of the comparison parameter and the image gradient mixing coefficient as the image gradient mixing coefficient of this time.
Step 606: and determining a mixed image according to the image gradient mixing coefficient, and taking the mixed image as a target right-eye view and taking a left-eye view as a target left-eye view, so that the mixed image is sent to the right eye of the user, and the left-eye view is sent to the left eye of the user.
Step 607: and switching to a 3D display mode.
As can be seen from the above, in the present embodiment, it can be determined whether to switch the 2D display mode to the 3D display mode through steps 601 to 602, and when the absolute value of the target angular velocity is smaller than the second preset threshold, it is determined that the 2D display mode needs to be switched to the 3D display mode, so that the gradual change display mode is entered through steps 603 to 606, and when the obtained number of times that the comparison parameter is smaller than or equal to the third preset threshold reaches the preset number of times, the mode is switched to the 3D display mode. In the process that the naked eye 3D display terminal is changed from the violent motion state to the static motion state, the obtained comparison parameter is gradually changed from being between a third preset threshold and a fourth preset threshold, and the continuous preset times are smaller than or equal to the third preset threshold, so that in the process that the naked eye 3D display terminal is changed from the violent motion state to the static motion state, the 2D display mode can be switched to the 3D display mode through the gradual change display mode.
In the second embodiment, if the target angular velocity determined from the angular velocity information of the naked-eye 3D display terminal is less than the first preset threshold value for the preset number of consecutive times between steps 505 to 506, the original 3D display mode is returned to. Similarly, in the third real-time mode, if the target angular velocity determined according to the angular velocity information of the naked-eye 3D display terminal is greater than the second preset threshold value between steps 605 to 606, the original 2D display mode is returned to.
In addition, assuming that the motion state of the naked eye 3D display terminal is as shown in fig. 7, it can be known from the above analysis that the naked eye 3D display terminal is in the 3D display mode at the OA section, in the gradation display mode at the AB section, in the 2D display mode at the BC section and the CD section, in the gradation display mode at the DE section, and in the 3D display mode at the EF section.
In the process that the naked eye 3D display terminal is switched from the 3D display mode to the 2D display mode through the gradual change display mode of the AB section, the actual motion state of the naked eye 3D display terminal cannot continuously trend to be fast, namely, the situation of fluctuation exists in the process, and the situation that the display picture shakes due to the fluctuation of the motion state of the naked eye 3D display terminal can be avoided by setting the image gradual change mixing coefficient to be larger in two adjacent times.
Similarly, in the process that the naked eye 3D display terminal is switched from the 2D display mode to the 3D display mode via the gradual change display mode of the DE segment, the actual motion state of the naked eye 3D display terminal is unlikely to continuously become a slow trend, that is, there is a fluctuation condition in the process, and the larger of the two adjacent times is taken by setting the image gradual change mixing coefficient, thereby also avoiding the display picture from shaking due to the fluctuation of the motion state of the naked eye 3D display terminal.
In summary, in the process that the naked eye 3D display terminal displays the image content in any one of the 3D display mode and the 2D display mode, capable of displaying image content in a fade display mode upon determining that switching between a 3D display mode and a 2D display mode is required, thereby gradually changing the content seen by at least one of the left and right eyes of the user, gradually changing the part of the content from the content corresponding to the 3D display mode to the content corresponding to the 2D display mode, or the content corresponding to the 2D display mode is gradually changed into the content corresponding to the 3D display mode, so that when the naked eye 3D display terminal is switched between the 3D display mode and the 2D display mode, the content sent into the eyes of the user is suddenly changed, so that the eyes of the user feel uncomfortable, and the watching experience of the user is improved.
An embodiment of the present invention further provides an image display apparatus for a naked-eye 3D display terminal, as shown in fig. 2, the apparatus including:
a display module 201, configured to display image content in a first display mode;
a switching decision module 202, configured to determine whether to switch the first display mode to a second display mode, where the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
the display module 201 is further configured to display the image content in a gradient display mode when it is determined to switch the first display mode to the second display mode, so as to switch the first display mode to the second display mode via the gradient display mode.
Preferably, the display module 201 includes:
a mixed image acquisition sub-module for acquiring a mixed image of a left eye view and a right eye view of the image content;
and the naked eye stereoscopic display sub-module is used for taking the mixed image as a target left eye view and taking the right eye view as a target right eye view, or taking the mixed image as a target right eye view and taking the left eye view as a target left eye view, and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
Preferably, the handover decision module 202 includes:
the first motion state information acquisition submodule is used for acquiring first motion state information of the naked eye 3D display terminal;
the first switching decision sub-module is used for determining whether to switch the first display mode into the second display mode according to the first motion state information;
or
The switching instruction detection submodule is used for detecting whether the naked eye 3D display terminal receives a display mode switching instruction;
and the second switching decision submodule is used for determining to switch the first display mode to the second display mode when the naked eye 3D display terminal is detected to receive a display mode switching instruction.
Preferably, the first motion state information includes angular velocity information of the naked eye 3D display terminal;
the first display mode is a 3D display mode, the second display mode is a 2D display mode, and the first switching decision sub-module includes:
the target angular velocity determining unit is used for determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
a first threshold value judging unit configured to determine whether an absolute value of the target angular velocity is greater than or equal to a first preset threshold value;
a first switching unit configured to determine to switch the first display mode to the second display mode when an absolute value of the target angular velocity is greater than or equal to the first preset threshold;
and/or
The first display mode is a 2D display mode, and the second display mode is a 3D display mode, the first switching decision sub-module includes:
the target angular velocity determining unit is used for determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
a second threshold value judging unit configured to determine whether an absolute value of the target angular velocity is smaller than a second preset threshold value;
and the second switching unit is used for determining to switch the first display mode to the second display mode when the absolute value of the target angular velocity is smaller than the second preset threshold.
Preferably, the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the target angular velocity determining unit is specifically configured to:
determining the second angular velocity as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the target angular velocity determination unit is specifically configured to:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the target angular velocity determination unit is specifically configured to:
carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
Preferably, the hybrid image acquisition sub-module includes:
a coefficient determination unit for determining an image fade mixing coefficient;
a mixed image determination unit, configured to obtain a mixed image of a left-eye view and a right-eye view in the image content according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1.
Preferably, the coefficient determination unit includes:
the first determining subunit is used for acquiring second motion state information of the naked eye 3D display terminal and determining an image gradient mixing coefficient according to the second motion state information;
or
And the second determining subunit is used for determining the image gradient mixing coefficient according to the preset time interval and gradient step length.
Preferably, the second motion state information includes angular velocity information of the naked-eye 3D display terminal;
the first determining subunit is specifically configured to:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number.
Preferably, when determining the comparison parameter according to the angular velocity information of the naked-eye 3D display terminal, the first determining subunit is specifically configured to:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
Preferably, the angular velocity information includes a second angular velocity at which the naked eye 3D display terminal rotates around the Y direction, and when the first determining subunit determines the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time, the first determining subunit is specifically configured to:
determining the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
performing weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity obtained each time to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
Preferably, when obtaining the image gradient mixing coefficient according to the comparison parameter, the first determining subunit is specifically configured to:
according to a predetermined formula
Figure BDA0001468990840000391
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure BDA0001468990840000392
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value.
Preferably, the second determining subunit is specifically configured to:
starting from the initial value of 1, reducing the gradient step length at preset time intervals until the image gradient mixing coefficient is reduced to 0;
or
And increasing the image gradient mixing coefficient from the initial value of 0 to the gradient step length at preset time intervals until the image gradient mixing coefficient is increased to 1.
Preferably, the display module 201 is further configured to:
determining whether to switch from the fade display mode back to the first display mode;
when it is determined to switch from the fade display mode back to the first display mode, reverting to displaying image content in the first display mode.
Preferably, when the first display mode is the 2D display mode, the display module is specifically configured to, when displaying the image content in the first display mode 201:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
performing naked eye stereoscopic display according to the target left eye view and the target right eye view;
and/or the presence of a gas in the gas,
when the second display mode is a 2D display mode, and when the second display mode is switched to the second display mode, the display module 201 is further configured to display image content in the second display mode;
when the display module 201 displays the image content in the second display mode, it is specifically configured to:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
As can be seen from the above description, in the process that the naked eye 3D display terminal displays the image content in any one of the 3D display mode and the 2D display mode, when it is determined that it is necessary to switch between the 3D display mode and the 2D display mode, the image content is displayed in the gradient display mode, so as to gradually change the content seen by at least one of the left and right eyes of the user, gradually convert the part of the content from the content corresponding to the 3D display mode to the content corresponding to the 2D display mode, or gradually change the content corresponding to the 2D display mode to the content corresponding to the 3D display mode, thereby avoiding discomfort of the user due to abrupt change of the content sent to the eyes of the user when the naked eye 3D display terminal switches between the 3D display mode and the 2D display mode, the viewing experience of the user is improved.
The embodiment of the invention also provides a naked eye 3D display terminal, wherein the naked eye 3D display terminal can be a mobile phone, a tablet computer and the like.
As shown in fig. 3, the naked-eye 3D display terminal includes:
a processor 301, a memory 302, and a display 303;
the processor 301 invokes the computer program in the memory 302 to perform the following steps:
controlling the display 303 to display image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when it is determined to switch the first display mode to the second display mode, the display 303 is controlled to display the image content in a gradation display mode, so as to switch the first display mode to the second display mode via the gradation display mode.
Therefore, in the naked-eye 3D display terminal of the invention, in the process of displaying the image content in any display mode of the 3D display mode or the 2D display mode, capable of displaying image content in a fade display mode upon determining that switching between a 3D display mode and a 2D display mode is required, thereby gradually changing the content seen by at least one of the left and right eyes of the user, gradually changing the part of the content from the content corresponding to the 3D display mode to the content corresponding to the 2D display mode, or the content corresponding to the 2D display mode is gradually changed into the content corresponding to the 3D display mode, so that when the naked eye 3D display terminal is switched between the 3D display mode and the 2D display mode, the content sent into the eyes of the user is suddenly changed, so that the eyes of the user feel uncomfortable, and the watching experience of the user is improved.
Embodiments of the present invention also provide a computer readable storage medium comprising a computer program executable by a processor to perform the steps of:
displaying the image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when it is determined to switch the first display mode to the second display mode, displaying the image content in a gradient display mode, thereby switching the first display mode to the second display mode via the gradient display mode.
The computer readable storage medium of the present invention stores a program, which, when it is determined that switching between the 3D display mode and the 2D display mode is required during displaying of image content by the naked eye 3D display terminal in either the 3D display mode or the 2D display mode, displays the image content in the gradual change display mode, so as to gradually change the content seen by at least one of the left and right eyes of the user, gradually change the content of the part of the content from the content corresponding to the 3D display mode to the content corresponding to the 2D display mode, or gradually change the content corresponding to the 2D display mode to the content corresponding to the 3D display mode, thereby avoiding discomfort of the naked eye 3D display terminal due to abrupt change of the content sent to the eyes of the user when switching between the 3D display mode and the 2D display mode, the viewing experience of the user is improved.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (16)

1. An image display method for a naked eye 3D display terminal, comprising:
displaying the image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when it is determined to switch the first display mode to the second display mode, displaying the image content in a gradation display mode, thereby switching the first display mode to the second display mode via the gradation display mode;
the displaying the image content in the fade display mode includes:
acquiring a mixed image of a left eye view and a right eye view of the image content;
taking the mixed image as a target left eye view and the right eye view as a target right eye view, or taking the mixed image as a target right eye view and the left eye view as a target left eye view, and performing naked eye three-dimensional display according to the target left eye view and the target right eye view;
the step of obtaining a blended image of a left eye view and a right eye view of the image content comprises:
determining an image gradient mixing coefficient;
acquiring a mixed image of a left eye view and a right eye view in the image content according to the following formula:
f(x,y)=g(x,y)×(1-α)+h(x,y)×α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1;
the step of determining the image fade mixing coefficient comprises:
acquiring second motion state information of the naked eye 3D display terminal, and determining an image gradient mixing coefficient according to the second motion state information;
the second motion state information comprises angular speed information of the naked eye 3D display terminal; the step of obtaining second motion state information of the naked eye 3D display terminal and determining the image gradient mixing coefficient according to the second motion state information comprises the following steps:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number;
the step of obtaining the image gradient mixing coefficient according to the comparison parameter comprises the following steps:
according to the principleLet formula (II)
Figure FDA0002571165650000021
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure FDA0002571165650000022
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value;
the step of determining comparison parameters according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
2. The method of claim 1, wherein the step of determining whether to switch the first display mode to the second display mode comprises:
acquiring first motion state information of a naked eye 3D display terminal;
determining whether to switch the first display mode to the second display mode according to the first motion state information;
or
Detecting whether a naked eye 3D display terminal receives a display mode switching instruction;
and when the naked eye 3D display terminal is detected to receive a display mode switching instruction, determining to switch the first display mode to the second display mode.
3. The method of claim 2,
the first motion state information comprises angular speed information of the naked eye 3D display terminal;
the determining whether to switch the first display mode to the second display mode according to the first motion state information includes:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
determining whether the absolute value of the target angular velocity is greater than or equal to a first preset threshold;
when the absolute value of the target angular velocity is greater than or equal to the first preset threshold, determining to switch the first display mode to the second display mode;
and/or
The determining whether to switch the first display mode to the second display mode according to the first motion state information includes:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
determining whether the absolute value of the target angular velocity is less than a second preset threshold;
and when the absolute value of the target angular velocity is smaller than the second preset threshold, determining to switch the first display mode to the second display mode.
4. The method of claim 3,
the angular velocity information comprises a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
determining the second angular velocity as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the step of determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal comprises the following steps:
carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
5. The method of claim 1,
the angular velocity information comprises a second angular velocity of the naked eye 3D display terminal rotating around the Y direction,
the step of determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time comprises the following steps:
determining the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around the X direction and a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the step of determining the target angular velocity according to the acquired angular velocity information of the naked eye 3D display terminal each time comprises the following steps:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information comprises a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the step of determining the target angular velocity according to the acquired angular velocity information of the naked eye 3D display terminal each time comprises the following steps:
performing weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity obtained each time to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
6. The method of claim 1, wherein during the displaying of the image content in the gradient display mode, the method further comprises:
determining whether to switch from the fade display mode back to the first display mode;
when it is determined to switch from the fade display mode back to the first display mode, reverting to displaying image content in the first display mode.
7. The method according to claim 1, wherein when the first display mode is a 2D display mode, the step of displaying the image content in the first display mode comprises:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
performing naked eye stereoscopic display according to the target left eye view and the target right eye view;
and/or the presence of a gas in the gas,
when the second display mode is a 2D display mode, displaying image content in the second display mode when the second display mode is switched to the second display mode;
the displaying image content in the second display mode includes:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
8. An image display device for a naked eye 3D display terminal, comprising:
the display module is used for displaying the image content in a first display mode;
a switching decision module, configured to determine whether to switch the first display mode to a second display mode, where the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
the display module is further configured to display the image content in a gradient display mode when it is determined to switch the first display mode to the second display mode, so as to switch the first display mode to the second display mode via the gradient display mode;
the display module includes:
a mixed image acquisition sub-module for acquiring a mixed image of a left eye view and a right eye view of the image content;
the naked eye stereoscopic display sub-module is used for taking the mixed image as a target left eye view and taking the right eye view as a target right eye view, or taking the mixed image as a target right eye view and taking the left eye view as a target left eye view, and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view;
the hybrid image acquisition sub-module includes:
a coefficient determination unit for determining an image fade mixing coefficient;
a mixed image determination unit, configured to obtain a mixed image of a left-eye view and a right-eye view in the image content according to the following formula: f (x, y) ═ g (x, y) x (1- α) + h (x, y) x α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1;
the coefficient determination unit includes:
the first determining subunit is used for acquiring second motion state information of the naked eye 3D display terminal and determining an image gradient mixing coefficient according to the second motion state information;
the second motion state information comprises angular speed information of the naked eye 3D display terminal; the first determining subunit is specifically configured to:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number;
when the first determining subunit obtains the image gradient mixing coefficient according to the comparison parameter, the first determining subunit is specifically configured to:
according to a predetermined formula
Figure FDA0002571165650000071
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure FDA0002571165650000072
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value;
when determining the comparison parameter according to the angular velocity information of the naked eye 3D display terminal, the first determining subunit is specifically configured to:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
9. The apparatus of claim 8, wherein the handover decision module comprises:
the first motion state information acquisition submodule is used for acquiring first motion state information of the naked eye 3D display terminal;
the first switching decision sub-module is used for determining whether to switch the first display mode into the second display mode according to the first motion state information;
or
The switching instruction detection submodule is used for detecting whether the naked eye 3D display terminal receives a display mode switching instruction;
and the second switching decision submodule is used for determining to switch the first display mode to the second display mode when the naked eye 3D display terminal is detected to receive a display mode switching instruction.
10. The apparatus according to claim 9, wherein the first motion state information comprises angular velocity information of the naked-eye 3D display terminal;
the first display mode is a 3D display mode, and the second display mode is a 2D display mode, the first switching decision sub-module includes:
the target angular velocity determining unit is used for determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
a first threshold value judging unit configured to determine whether an absolute value of the target angular velocity is greater than or equal to a first preset threshold value;
a first switching unit configured to determine to switch the first display mode to the second display mode when an absolute value of the target angular velocity is greater than or equal to the first preset threshold;
and/or
The first display mode is a 2D display mode, and the second display mode is a 3D display mode, the first switching decision sub-module includes:
the target angular velocity determining unit is used for determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal;
a second threshold value judging unit configured to determine whether an absolute value of the target angular velocity is smaller than a second preset threshold value;
and the second switching unit is used for determining to switch the first display mode to the second display mode when the absolute value of the target angular velocity is smaller than the second preset threshold.
11. The apparatus of claim 10,
the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the target angular velocity determination unit is specifically configured to:
determining the second angular velocity as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the target angular velocity determination unit is specifically configured to:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the target angular velocity determination unit is specifically configured to:
carrying out weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
12. The apparatus of claim 8,
the angular velocity information includes a second angular velocity of the naked eye 3D display terminal rotating around the Y direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
determining the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction and a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
determining an arithmetic square root of a sum of squares of the first angular velocity and the second angular velocity acquired each time as a target angular velocity;
or
The angular velocity information includes a first angular velocity of the naked eye 3D display terminal rotating around an X direction, a second angular velocity of the naked eye 3D display terminal rotating around a Y direction, and a third angular velocity of the naked eye 3D display terminal rotating around a Z direction, and the first determining subunit is specifically configured to, when determining the target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time:
performing weighted summation processing on the first angular velocity, the second angular velocity and the third angular velocity obtained each time to obtain a target angular velocity;
the X direction is parallel to the width direction of the naked eye 3D display terminal, the Y direction is parallel to the length direction of the naked eye 3D display terminal, and the Z direction is perpendicular to the screen of the naked eye 3D display terminal.
13. The apparatus of claim 8, wherein the display module is further configured to:
determining whether to switch from the fade display mode back to the first display mode;
when it is determined to switch from the fade display mode back to the first display mode, reverting to displaying image content in the first display mode.
14. The apparatus according to claim 8, wherein when the first display mode is the 2D display mode, the display module is specifically configured to, when displaying the image content in the first display mode:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
performing naked eye stereoscopic display according to the target left eye view and the target right eye view;
and/or the presence of a gas in the gas,
when the second display mode is the 2D display mode and is switched to the second display mode, the display module is further used for displaying the image content in the second display mode;
when the display module displays the image content in the second display mode, the display module is specifically configured to:
selecting one of a left eye view and a right eye view in the image content for 2D display;
or
Selecting one of the left eye view and the right eye view in the image content as a target left eye view and a target right eye view simultaneously;
and carrying out naked eye stereoscopic display according to the target left eye view and the target right eye view.
15. The utility model provides a bore hole 3D display terminal which characterized in that includes:
a processor, a memory, and a display;
a memory for storing a computer program that can be executed;
the processor calls the computer program in the memory to execute the following steps:
controlling the display to display image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when the first display mode is determined to be switched to the second display mode, controlling the display to display the image content in a gradient display mode, so as to switch the first display mode to the second display mode through the gradient display mode;
the displaying the image content in the fade display mode includes:
acquiring a mixed image of a left eye view and a right eye view of the image content;
taking the mixed image as a target left eye view and the right eye view as a target right eye view, or taking the mixed image as a target right eye view and the left eye view as a target left eye view, and performing naked eye three-dimensional display according to the target left eye view and the target right eye view;
the step of obtaining a blended image of a left eye view and a right eye view of the image content comprises:
determining an image gradient mixing coefficient;
acquiring a mixed image of a left eye view and a right eye view in the image content according to the following formula:
f(x,y)=g(x,y)×(1-α)+h(x,y)×α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1;
wherein the step of determining the image fade mixing coefficient comprises:
acquiring second motion state information of the naked eye 3D display terminal, and determining an image gradient mixing coefficient according to the second motion state information;
the second motion state information comprises angular speed information of the naked eye 3D display terminal; the step of obtaining second motion state information of the naked eye 3D display terminal and determining the image gradient mixing coefficient according to the second motion state information comprises the following steps:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number;
wherein, the step of obtaining the image gradient mixing coefficient according to the comparison parameter comprises:
according to a predetermined formula
Figure FDA0002571165650000121
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure FDA0002571165650000122
Obtaining a reference coefficient, and gradually mixing the reference coefficient with the image obtained last timeThe larger of the combined coefficients is taken as the gradient mixing coefficient of the image obtained at this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value;
the method comprises the following steps of determining comparison parameters according to the angular speed information of the naked eye 3D display terminal, wherein the steps comprise:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
16. A computer-readable storage medium comprising a computer program executable by a processor to perform the steps of:
displaying the image content in a first display mode;
determining whether to switch the first display mode to a second display mode, wherein the first display mode is one of a 3D display mode and a 2D display mode, and the second display mode is the other of the 3D display mode and the 2D display mode;
when it is determined to switch the first display mode to the second display mode, displaying the image content in a gradation display mode, thereby switching the first display mode to the second display mode via the gradation display mode;
the displaying the image content in the fade display mode includes:
acquiring a mixed image of a left eye view and a right eye view of the image content;
taking the mixed image as a target left eye view and the right eye view as a target right eye view, or taking the mixed image as a target right eye view and the left eye view as a target left eye view, and performing naked eye three-dimensional display according to the target left eye view and the target right eye view;
the step of obtaining a blended image of a left eye view and a right eye view of the image content comprises:
determining an image gradient mixing coefficient;
acquiring a mixed image of a left eye view and a right eye view in the image content according to the following formula:
f(x,y)=g(x,y)×(1-α)+h(x,y)×α;
wherein f (x, y) represents a pixel value of a pixel having coordinates (x, y) in the blended image, g (x, y) represents a pixel value of a pixel having coordinates (x, y) in one of the left-eye view and the right-eye view, h (x, y) represents a pixel value of a pixel having coordinates (x, y) in the other of the left-eye view and the right-eye view, α represents the image gradation blending coefficient, and α ≦ 0 ≦ 1;
wherein the step of determining the image fade mixing coefficient comprises:
acquiring second motion state information of the naked eye 3D display terminal, and determining an image gradient mixing coefficient according to the second motion state information;
the second motion state information comprises angular speed information of the naked eye 3D display terminal; the step of obtaining second motion state information of the naked eye 3D display terminal and determining the image gradient mixing coefficient according to the second motion state information comprises the following steps:
acquiring angular velocity information of the naked eye 3D display terminal at preset time intervals;
determining a comparison parameter according to the angular speed information of the naked eye 3D display terminal;
if the first display mode is a 3D display mode and the second display mode is a 2D display mode, obtaining an image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between a third preset threshold and a fourth preset threshold until the obtained comparison parameter is greater than or equal to the fourth preset threshold, and/or if the first display mode is the 2D display mode and the second display mode is the 3D display mode, obtaining the image gradient mixing coefficient according to the comparison parameter when the comparison parameter is between the third preset threshold and the fourth preset threshold until the obtained number of times that the comparison parameter is continuously smaller than the third preset threshold reaches a preset number;
wherein, the step of obtaining the image gradient mixing coefficient according to the comparison parameter comprises:
according to a predetermined formula
Figure FDA0002571165650000141
Obtaining a reference coefficient, and determining the reference coefficient as the gradient mixing coefficient of the image obtained this time;
alternatively, the first and second electrodes may be,
according to a predetermined formula
Figure FDA0002571165650000142
Obtaining a reference coefficient, and taking the larger one of the reference coefficient and the image gradient mixing coefficient obtained last time as the image gradient mixing coefficient obtained this time;
wherein β represents the reference coefficient, γ represents the comparison parameter, and Δ x represents a first preset value;
the method comprises the following steps of determining comparison parameters according to the angular speed information of the naked eye 3D display terminal, wherein the steps comprise:
determining a target angular velocity according to the angular velocity information of the naked eye 3D display terminal acquired each time;
and determining the absolute value of the target angular velocity as a comparison parameter, or performing weighted summation processing on the target angular velocities of a first preset number which are obtained recently, and determining the absolute value of the numerical value obtained after the weighted summation processing as the comparison parameter.
CN201711128954.0A 2017-11-15 2017-11-15 Image display method and device for naked eye 3D display terminal and terminal Active CN107734322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711128954.0A CN107734322B (en) 2017-11-15 2017-11-15 Image display method and device for naked eye 3D display terminal and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711128954.0A CN107734322B (en) 2017-11-15 2017-11-15 Image display method and device for naked eye 3D display terminal and terminal

Publications (2)

Publication Number Publication Date
CN107734322A CN107734322A (en) 2018-02-23
CN107734322B true CN107734322B (en) 2020-09-22

Family

ID=61215668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711128954.0A Active CN107734322B (en) 2017-11-15 2017-11-15 Image display method and device for naked eye 3D display terminal and terminal

Country Status (1)

Country Link
CN (1) CN107734322B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004356772A (en) * 2003-05-27 2004-12-16 Sanyo Electric Co Ltd Three-dimensional stereoscopic image display apparatus and program for providing three-dimensional stereoscopic display function to computer
US8576168B2 (en) * 2007-12-07 2013-11-05 Sony Corporation Input apparatus, control apparatus, control system, control method, and handheld apparatus
JP4625515B2 (en) * 2008-09-24 2011-02-02 富士フイルム株式会社 Three-dimensional imaging apparatus, method, and program
CN101961555B (en) * 2009-07-21 2014-01-29 科乐美数码娱乐株式会社 Video game machine, gaming image display control method and display mode switching control method
US8826184B2 (en) * 2010-04-05 2014-09-02 Lg Electronics Inc. Mobile terminal and image display controlling method thereof
JP5122659B2 (en) * 2011-01-07 2013-01-16 任天堂株式会社 Information processing program, information processing method, information processing apparatus, and information processing system
EP2487914A1 (en) * 2011-02-10 2012-08-15 Thomson Licensing Reproduction device and method for operating a graphics subsystem in the reproduction device
ES2625263T3 (en) * 2011-09-27 2017-07-19 Huawei Technologies Co., Ltd. Procedure and apparatus for generating metamorphosis animation
CN102404599B (en) * 2011-12-01 2013-12-18 无锡太行电子技术有限公司 Method for making gradually-changing 3D (three-dimensional) video special effect
KR101356015B1 (en) * 2012-06-15 2014-01-29 전자부품연구원 An apparatus for correcting three dimensional display using sensor and a method thereof
CN104268918B (en) * 2014-10-09 2015-06-10 佛山精鹰传媒股份有限公司 Method for blending two-dimensional animation and three-dimensional animation

Also Published As

Publication number Publication date
CN107734322A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
EP3791357B1 (en) Generating and displaying blur in images
CN104661011B (en) Stereoscopic image display method and hand-held terminal
US10074346B2 (en) Display control apparatus and method to control a transparent display
US9225975B2 (en) Optimization of a multi-view display
EP3606082A1 (en) Panoramic video playback method and client terminal
CN110166758B (en) Image processing method, image processing device, terminal equipment and storage medium
US9615084B2 (en) Method and system for reducing stereoscopic display crosstalk
US9779702B2 (en) Method of controlling head-mounted display system
US10712817B1 (en) Image re-projection for foveated rendering
US20170163958A1 (en) Method and device for image rendering processing
JP2018514093A (en) Zoom related method and apparatus
KR20170026560A (en) Self-Adaptive Display Method and Device for Image of Mobile Terminal, and Computer Storage Medium
CN104040457A (en) Mobile display device
CN106873886B (en) Control method and device for stereoscopic display and electronic equipment
CN108076208B (en) Display processing method and device and terminal
US9167225B2 (en) Information processing apparatus, program, and information processing method
US20180359463A1 (en) Information processing device, information processing method, and program
CN113206993A (en) Method for adjusting display screen and display device
US11416964B2 (en) Method and device for adjusting resolution of HMD apparatus
CN111264057B (en) Information processing apparatus, information processing method, and recording medium
CN107635132B (en) Display control method and device of naked eye 3D display terminal and display terminal
CN107734322B (en) Image display method and device for naked eye 3D display terminal and terminal
CN106559662B (en) Multi-view image display apparatus and control method thereof
CN109901709B (en) Method and device for adjusting display picture and VR equipment
CN103270760A (en) Method and system for disparity adjustment during stereoscopic zoom

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