3D display method and electronic device using the same
A 3D display method and an electronic device are provided. The 3D display method includes the following steps: detecting whether a pattern is in a video; decoding a pattern information in the pattern, if the pattern is detected in the video; applying a decoded setting according to the pattern information; determining whether the video has side-by-side content according to the pattern information; and presenting the side-by-side content, if the video has the side-by-side content.
1 . A 3D display method, comprising:
detecting whether a pattern is in a video, wherein the video includes a plurality of frames, part of each of the frames is replaced by the pattern and the pattern is embedded in each of the frames;
determining whether the video has side-by-side content according to the pattern which replaces part of each of the frames and is embedded in each of the frames; and
presenting the side-by-side content, if the video has the side-by-side content.
2 . The 3D display method according to claim 1 , wherein the pattern includes a plurality of color blocks.
3 . The 3D display method according to claim 1 , wherein the pattern includes a plurality of black blocks and a plurality of white blocks.
4 . The 3D display method according to claim 1 , wherein the pattern is disposed at an edge area of each of the frames.
5 . The 3D display method according to claim 1 , wherein the pattern is disposed at an identical location in the frames of the video.
6 . The 3D display method according to claim 1 , wherein the pattern is a strip.
7 . The 3D display method according to claim 1 , wherein the pattern is a matrix.
8 . The 3D display method according to claim 1 , further comprising:
obtaining the frames from the video;
performing a depth estimation according to the frames to obtain a depth information; and
generating the side-by-side content according to the depth information.
9 . The 3D display method according to claim 1 , further comprising:
determining whether a demo mode is active; and
performing a user setting, if the demo mode is not active.
10 . The 3D display method according to claim 1 , further comprising:
determining whether a demo mode is activate; and
disabling a user command, if the demo mode is activate.
11 . An electronic device, comprising:
a display unit, configured to display a video;
a pattern detection unit, configured to detect whether a pattern is in the video, wherein the video includes a plurality of frames, part of each of the frames is replaced by the pattern and the pattern is embedded in each of the frames; and
a side-by-side detection unit, configured to determine whether the video has side-by-side content according to the pattern which replaces part of each of the frames and is embedded in each of the frames; and control the display unit to present the side-by-side content, if the video has the side-by-side content.
12 . The electronic device according to claim 11 , wherein the pattern includes a plurality of color blocks.
13 . The electronic device according to claim 11 , wherein the pattern includes a plurality of black blocks and a plurality of white blocks.
14 . The electronic device according to claim 11 , wherein the pattern is disposed at an edge area of each of the frames.
15 . The electronic device according to claim 11 , wherein the pattern is disposed at an identical location in the frames of the video.
16 . The electronic device according to claim 11 , wherein the pattern is a strip.
17 . The electronic device according to claim 11 , wherein the pattern is a matrix.
18 . The electronic device according to claim 11 , further comprising:
a depth estimation unit, configured to obtain the frames from the video; perform a depth estimation according to the frames to obtain a depth information; and generate the side-by-side content according to the depth information.
19 . The electronic device according to claim 11 , further comprising:
a processing unit, configured to determine whether a demo mode is active; and perform a user setting, if the demo mode is not active.
20 . The electronic device according to claim 11 , further comprising:
a processing unit, configured to determine whether a demo mode is activate; and disable a user command, if the demo mode is activate.