CN115086637B - 3D video production method and device, electronic equipment and storage medium - Google Patents

3D video production method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115086637B
CN115086637B CN202210608828.XA CN202210608828A CN115086637B CN 115086637 B CN115086637 B CN 115086637B CN 202210608828 A CN202210608828 A CN 202210608828A CN 115086637 B CN115086637 B CN 115086637B
Authority
CN
China
Prior art keywords
image
eye
partial image
frame
frame 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
CN202210608828.XA
Other languages
Chinese (zh)
Other versions
CN115086637A (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.)
Stereoscopic Medical Technology Shenzhen Co ltd
Original Assignee
Stereoscopic Medical Technology Shenzhen 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 Stereoscopic Medical Technology Shenzhen Co ltd filed Critical Stereoscopic Medical Technology Shenzhen Co ltd
Priority to CN202210608828.XA priority Critical patent/CN115086637B/en
Publication of CN115086637A publication Critical patent/CN115086637A/en
Application granted granted Critical
Publication of CN115086637B publication Critical patent/CN115086637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/361Reproducing mixed stereoscopic images; Reproducing mixed monoscopic and stereoscopic images, e.g. a stereoscopic image overlay window on a monoscopic image background
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/261Image signal generators with monoscopic-to-stereoscopic image conversion

Abstract

The embodiment of the invention discloses a method and a device for manufacturing a 3D video, electronic equipment and a storage medium, wherein the method for manufacturing the 3D video comprises the following steps: acquiring an original frame picture image of a source video in a 2D format; copying the original frame image to form a first frame image and a second frame image in a 3D format; acquiring a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image, wherein the left-eye partial image and the right-eye partial image are used for forming a partial 3D image; and fusing the left-eye local image with the first frame image, and fusing the right-eye local image with the second frame image to obtain a local 3D frame image. According to the embodiment of the invention, the local 3D image can be added in the 2D source video, so that the 3D video with the local 3D display effect can be obtained by adding the 3D picture on the basis of the 2D video, the limitation of single original display mode is broken, and the user experience is improved.

Description

3D video production method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of 3D display technologies, and in particular, to a method and apparatus for manufacturing a 3D video, an electronic device, and a storage medium.
Background
The three-dimensional (3D) display technology refers to a 3D picture that a user can see through eyes, and the 3D picture is a stereoscopic space picture that is virtual through left and right eye parallax.
At present, the display mode of multimedia images such as video is single, a 2D display mode is generally adopted, or a 3D display mode is adopted, a user can only watch through the single display mode, and the user experience is poor, for example, the user can only watch the video in a 2D format, moreover, long-time short-distance plane fixation can cause injury to eyes of the user, myopia is easy, most of 2D video cannot be directly converted into 3D video, or the cost for converting the 2D video into the 3D video is high, so that the user can only watch the 2D video continuously, the watching mode is single, the user experience is poor, and a certain myopia hidden trouble is caused.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for manufacturing a 3D video, which can display a local 3D picture on the basis of the 2D video, break the limitation of single original display mode and improve user experience.
In a first aspect, an embodiment of the present invention provides a method for manufacturing a 3D video, including: acquiring an original frame picture image of a source video in a 2D format; copying the original frame image to form a first frame image and a second frame image in a 3D format; acquiring a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image, wherein the left-eye partial image and the right-eye partial image are used for forming a partial 3D image; and fusing the left eye local image and the first frame image, and fusing the right eye local image and the second frame image to obtain a local 3D frame image.
In some embodiments, the acquiring a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image includes: acquiring a target local image to be added; splitting the target partial image to obtain a left eye partial image emitted in a first direction and a corresponding right eye partial image emitted in a second direction, wherein the first direction is used for pointing to the left eye direction of a user, and the second direction is used for pointing to the right eye direction of the user.
In some embodiments, the fusing the left-eye local image and the first frame image, and fusing the right-eye local image and the second frame image, to obtain a local 3D frame image, includes: determining a target boundary line for offset processing in the original frame picture image; respectively taking the target boundary line as a central line, and respectively shifting the left eye partial image and the right eye partial image to the left and the right sides so that the left eye partial image and the right eye partial image after the shifting treatment are symmetrically arranged along the target boundary line; determining a position between the first frame image and the second frame image; and fusing the left-eye local image after the offset processing with the first frame image, and fusing the right-eye local image after the offset processing with the second frame image to obtain a local 3D frame image.
In some embodiments, the shifting the left eye partial image and the right eye partial image to the left and right sides, respectively, with the target dividing line as a center line, respectively, includes: acquiring a first target distance of the left eye partial image and the right eye partial image offset; and shifting the left-eye partial image to the right by the first target distance by taking the target dividing line as a central line to reach a first position, and shifting the right-eye partial image to the left by the first target distance by taking the target dividing line as a central line to reach a second position, so that the target partial image is displayed in an off-screen mode and a partial 3D image with negative parallax is formed.
In some embodiments, said shifting the left eye partial image and the right eye partial image to the left and right sides along the target dividing line, respectively, comprises: acquiring a second target distance of the left eye partial image and the right eye partial image offset; and shifting the left-eye partial image to the left side by the second target distance along the target boundary to a third position, and shifting the right-eye partial image to the right side by the second target distance along the target boundary to a fourth position, so that the target partial image is displayed on the screen and a partial 3D image with positive parallax is formed.
In some embodiments, the determining the position between the first frame image and the second frame image comprises: the first frame picture image and the second frame picture image are kept at the original position of the original frame picture image, so that the original frame picture image forms a 2D image in a 3D format; or, acquiring a center line in the original frame image, and respectively shifting the whole first frame image and the whole second frame image to the left and right sides by taking the center line as a center line, so that the first frame image and the second frame image after the shifting treatment are symmetrically arranged along the center line, and the original frame image forms a depth 2D image.
In some embodiments, the shifting the whole of the first frame image and the second frame image to the left and right sides with the center line as the center line, respectively, includes: acquiring a third target distance of the offset of the first frame image and the second frame image, wherein the third target distance is smaller than the offset distance of the left-eye partial image and the right-eye partial image; and shifting the whole first frame image to the right by the third target distance by taking the central line as the central line, and shifting the whole second frame image to the left by the third target distance by taking the central line as the central line, so that the original frame image is displayed on the screen and a depth of field 2D image with negative parallax is formed.
In some embodiments, the shifting the whole of the first frame image and the second frame image to the left and right sides with the center line as the center line, respectively, includes: acquiring a fourth target distance of the offset of the first frame image and the second frame image, wherein the fourth target distance is smaller than the offset distance of the left-eye partial image and the right-eye partial image; and shifting the whole first frame image to the left by the fourth target distance by taking the central line as the central line, and shifting the whole second frame image to the right by the fourth target distance by taking the central line as the central line, so that the original frame image is displayed on the screen and a depth of field 2D image with positive parallax is formed.
In some embodiments, the left-eye partial image and the right-eye partial image comprise enhancement effect images and atmosphere rendering images, the areas of the left-eye partial image and the right-eye partial image are smaller than the areas of the original frame picture images, and the left-eye partial image and the right-eye partial image are for fusion in non-regions of interest of the original frame picture images to avoid occlusion of the regions of interest in the original frame picture images.
In some embodiments, the 3D format includes an open hole 3D format, a red blue 3D format, and a polarized 3D format; when the 3D format includes an naked eye 3D format, the first frame image and the left eye partial image are images for pointing to a left eye of a user, and the second frame image and the right eye partial image are images for pointing to a right eye of the user; when the 3D format includes a red-blue 3D format, the first frame image and the left-eye partial image are red 3D images, and the second frame image and the right-eye partial image are blue 3D images; when the 3D format includes a polarized 3D format, the first frame image and the left-eye partial image are images for pointing to a first polarization direction, and the second frame image and the right-eye partial image are images for pointing to a second polarization direction.
In a second aspect, an embodiment of the present invention further provides a device for producing a 3D video, including: the first module is used for acquiring an original frame picture image of the source video in the 2D format; the second module is used for copying the original frame picture image to form a first frame picture image and a second frame picture image in a 3D format; a third module, configured to acquire a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image, where the left-eye partial image and the right-eye partial image are used to form a partial 3D image; and a fourth module, configured to fuse the left-eye local image with the first frame image, and fuse the right-eye local image with the second frame image, so as to obtain a local 3D frame image.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, and a processor, where the memory stores a computer program, and the processor implements the method for producing a 3D video according to the embodiment of the first aspect of the present invention when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a program is stored, where the program is executed by a processor to implement a method for producing a 3D video according to an embodiment of the first aspect of the present invention.
The embodiment of the invention at least comprises the following beneficial effects: the embodiment of the invention provides a manufacturing method, a device, electronic equipment and a storage medium of a 3D video, wherein the manufacturing method of the 3D video is executed, an original frame image of a source video in a 2D format is firstly obtained, the original frame image is copied to form a first frame image and a second frame image in the 3D format, then a left eye partial image to be added and a right eye partial image corresponding to the left eye partial image are obtained, the left eye partial image and the right eye partial image are used for forming a 3D parallax image, a user can watch and obtain a partial 3D image by watching the left eye partial image and the right eye partial image, the left eye partial image and the first frame image are fused, the right eye partial image and the second frame image are fused to obtain a partial 3D frame image, and the required 3D video can be obtained according to the 3D frame image.
Drawings
Fig. 1 is a flow chart of a method for producing a 3D video according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an original frame image according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a partial 3D frame picture image according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for producing a 3D video according to another embodiment of the present invention;
fig. 5 is a flowchart of a method for producing a 3D video according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for producing a 3D video according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of an application scenario according to an embodiment of the present invention;
fig. 8 is a flowchart of a method for producing a 3D video according to another embodiment of the present invention;
FIG. 9a is a schematic diagram of the offset of a target partial image 2D display according to one embodiment of the present invention;
FIG. 9b is a schematic diagram of a user viewing a 2D displayed partial image of a target provided in one embodiment of the invention;
FIG. 10a is a schematic illustration of the offset of the partial image of the object at the off-screen display provided by one embodiment of the present invention;
FIG. 10b is a schematic diagram of a user viewing a target partial image of a screen display provided in accordance with one embodiment of the present invention;
FIG. 11a is a schematic illustration of an offset of a partial image of a target on-screen display according to an embodiment of the present invention;
FIG. 11b is a schematic diagram of a user viewing an on-screen displayed partial image of a target according to one embodiment of the present invention;
fig. 12 is a flowchart of a method for producing a 3D video according to another embodiment of the present invention;
fig. 13 is a flowchart of a method for producing a 3D video according to another embodiment of the present invention;
FIG. 14 is a schematic diagram of a user viewing a target partial image and an original frame picture image displayed by a screen according to an embodiment of the present invention;
fig. 15 is a flowchart of a method for producing a 3D video according to another embodiment of the present invention;
fig. 16 is a schematic structural diagram of a 3D video producing apparatus according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be understood that in the description of the embodiments of the present invention, plural (or multiple) means two or more, and that greater than, less than, exceeding, etc. are understood to not include the present number, and that greater than, less than, within, etc. are understood to include the present number. If any, the terms "first," "second," etc. are used for distinguishing between technical features only, and should not be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
At present, multimedia files such as videos watched by users are generally in a 2D format, for example, the videos watched by users through video software are generally videos in the 2D format, or the videos watched by users watch teaching videos on a classroom are generally videos in the 2D format, or the advertisements displayed on a street are generally videos in the 2D format.
The applicant found that when the 2D video in the related art is to be converted into a display mode, complex processing is often required to be performed on the whole video file to convert the whole video file into a 3D video, for example, a part of a 3D movie, but not all the video may be converted into the 3D video, and some videos need to keep the viewing characteristics of the 2D video, for example, some variety videos, some teaching videos, and the like, and if the videos are directly converted into the 3D video, the display effect is affected, so that the related art has the problems of single display mode, poor user experience, and the like.
In addition, the applicant has found that viewing two-dimensional objects such as books, newspapers, cell phones, televisions, etc. with eyes in a relatively fixed line of sight is the first major cause of myopia formation, and that viewing two-dimensional objects such as cell phones, computers, books, etc. with eyes in a relatively fixed line of sight is the first major cause of myopia formation, and that long-term close-range planar fixation can lead to inability to adjust the lens for a long period of time, and slow weakening of the contraction and stretching functions of the ciliary muscle of the eye, and the accommodative ability of the lens.
When the lens of our eye is unable to properly adjust the vision distance, a blurred vision, what we say myopia, is presented. The 3D display can enable ciliary muscles of eyes to adjust lenses at any time, so that the eyes can be trained, plane fixation is reduced, and the influence of three-dimensional objects on the eyes is increased. Through 3D display, when the eyes of a user watch three-dimensional things, the user can move in all directions up and down and left and right, and compared with a plane effect, the eye health can be better protected, and the myopia prevention and control effect is achieved. In the related art, most videos are 2D videos, and users watch 2D videos for a long time, so that eyes are injured due to plane fixation, myopia is easy, and a certain myopia hidden trouble is caused.
Based on the above, the embodiment of the invention provides a method, a device, an electronic device and a storage medium for manufacturing a 3D video, by executing the method for manufacturing the 3D video, an original frame image of a source video in a 2D format is firstly obtained, the original frame image is copied to form a first frame image and a second frame image in the 3D format, then a left eye partial image to be added and a right eye partial image corresponding to the left eye partial image are obtained, the left eye partial image and the right eye partial image are used for forming a 3D parallax image, a user can view the left eye partial image and the right eye partial image to obtain a partial 3D image, the left eye partial image and the first frame image are fused, the right eye partial image and the second frame image are fused to obtain a partial 3D frame image, and a required 3D video can be obtained according to the 3D frame image.
It should be noted that, in the embodiment of the present invention, the original frame image may be presented in a 3D format, and because there is no parallax, a 2D image in a 3D format may be obtained, and in addition, when the first frame image of the left image is shifted to the left, the second frame image of the right image is shifted to the right, a depth 2D image with positive parallax may be obtained; when the first frame image of the left image is shifted to the right and the second frame image of the right image is shifted to the left, a depth 2D image with negative parallax can be obtained. And 2D images in a 3D format are used as a background, and are fused with 3D local graphics with larger negative parallax to manufacture local 3D effects of 2D videos, or are fused with 3D local graphics with larger positive parallax to manufacture local 3D effects of 2D videos, so that the limitation of single original display mode is broken, the user experience is improved, the plane fixation can be broken, and myopia prevention and control are facilitated.
The method for manufacturing the 3D video in the embodiment of the invention can be applied to a terminal, and the terminal can be mobile terminal equipment or non-mobile terminal equipment. The mobile terminal equipment can be a mobile phone, a tablet personal computer, a notebook computer, a palm computer, a vehicle-mounted terminal equipment, wearable equipment, an ultra mobile personal computer, a netbook, a personal digital assistant and the like; the non-mobile terminal equipment can be a personal computer, a television, a teller machine, a self-service machine or the like; the embodiment of the present invention is not particularly limited.
The terminal may include a processor, an external memory interface, an internal memory, a universal serial bus (universal serial bus, USB) interface, a charge management module, a power management module, a battery, a mobile communication module, a wireless communication module, an audio module, a speaker, a receiver, a microphone, an earphone interface, a sensor module, a key, a motor, an indicator, a front camera, a rear camera, a display screen, a subscriber identity module (subscriber identification module, SIM) card interface, and the like. The terminal can realize shooting functions through a front camera, a rear camera, a video codec, a GPU, a display screen, an application processor and the like.
The terminal realizes the display function through the GPU, the display screen, the application processor and the like. The GPU is a microprocessor for image processing and is connected with the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs that execute program instructions to generate or change display information.
The display screen is used for displaying images, videos, and the like. The display screen includes a display panel. The display panel may employ a liquid crystal display screen (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
In an embodiment, the display screen may be a naked eye 3D display screen, a red blue 3D display screen or a polarized light 3D display screen, taking the naked eye 3D display screen as an example, the naked eye 3D display screen may process multimedia data, split the multimedia data into left and right parts, for example, cut a 2D video into two parts, change the refraction direction of light emitted from the two parts, after the user views the video, the user can see a 3D image, the formed 3D image has a negative parallax, and the video can be displayed between the user and the display screen to realize the naked eye 3D viewing effect, or the display screen is a 2D display screen, the terminal may externally arrange a 3D grating film to refract the emergent light of the 2D display screen, so that the user views a 3D display effect after viewing the display screen through the 3D grating film.
The following describes a method, an apparatus, an electronic device, and a storage medium for producing a 3D video according to an embodiment of the present invention, and first describes a method for producing a 3D video according to an embodiment of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for producing a 3D video, and the method for producing a 3D video may include, but is not limited to, steps S101 to S104.
Step S101, acquiring an original frame picture image of a source video in a 2D format.
Step S102, the original frame image is copied to form a first frame image and a second frame image in a 3D format.
Step S103, acquiring a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image, the left-eye partial image and the right-eye partial image being used to form a partial 3D image.
Step S104, fusing the left eye local image and the first frame image, and fusing the right eye local image and the second frame image to obtain a local 3D frame image.
It should be noted that, in the method for producing a 3D video in the embodiment of the present invention, two data sources are first obtained, one is a source video in a 2D format that needs to be processed, and an original frame image of the source video is obtained, the original frame image is copied to form a first frame image and a second frame image of two identical frames in the 3D format, one source video may have a plurality of different frames, the corresponding frames are the original frame image, as shown in fig. 2, the other data source is a target local image that needs to be added to the source video, the target local image is a multimedia data source, the images are a generic name of various graphics and images, so the target local image in the embodiment of the present invention may be a photograph or a video in any 2D format, the embodiment of the present invention obtains a left eye local image and a right eye local image of the target local image to be added, the left eye of the user can see the left eye local image, the right eye can see the right eye local image, the 3D watching effect is realized, the left eye local image and the first frame picture image are fused, the right eye local image and the second frame picture image are fused, the local 3D frame picture image is obtained, a plurality of local 3D frame picture images can form a required 3D video, when watching the target video, the user can form the local 3D image due to the original frame picture image of the original source video is still a 2D effect, the watching is the 3D effect, as shown in figure 3, the embodiment of the invention can add the local 3D image in the 2D source video, the 3D picture is added on the basis of the 2D video to obtain the 3D video with the local 3D displaying effect, the limitation of single original displaying mode is broken, the user experience is improved, the plane fixation can be broken, and myopia prevention and control are facilitated.
It is to be understood that the left-eye partial image and the right-eye partial image may be directly obtained, two images having parallax therebetween, the left-eye partial image and the right-eye partial image may be part of the contents of the target partial image, respectively, the partial 3D image may be obtained by viewing the left-eye partial image and the right-eye partial image, the displayed partial 3D image is a 3D display of the target partial image, or the left-eye partial image and the right-eye partial image may be obtained by preprocessing the target partial image, for example, the left-eye partial image and the right-eye partial image are split according to the target partial image and the image contents are offset processed into two images in the 3D format, which is not particularly limited herein.
Referring to fig. 4, in an embodiment, the step S103 may further include, but is not limited to, steps S201 to S202.
Step S201, a target partial image to be added is acquired.
Step S202, splitting the target partial image to obtain a left eye partial image emitted in a first direction and a corresponding right eye partial image emitted in a second direction, wherein the first direction is used for pointing to the left eye direction of the user, and the second direction is used for pointing to the right eye direction of the user.
It may be understood that, in order to achieve a 3D display effect, the embodiment of the present invention acquires a target partial image to be added, splits the target partial image into a left eye partial image that exits in a first direction and a right eye partial image that exits in a second direction, where the first direction and the second direction are two different exiting directions formed after processing, and the first direction is used to point to a left eye direction of a user, and the second direction is used to point to a right eye direction of the user, and then deflects and fuses the split left eye partial image and the split right eye partial image into an original frame image to form a local 3D effect.
Taking a 3D format in the embodiment of the invention as an example of a naked eye 3D format, taking the center line of a display screen, namely the center line position of an original frame image picture as a boundary line, respectively taking the boundary line as the center, shifting left and right sides to finally form a 3D partial 3D image, wherein a left eye partial image shifts to the left side of the boundary line, a right eye partial image shifts to the right side of the boundary line, a left eye of a user views a left eye partial image on the right side, a right eye views a right eye partial image on the left side, and a formed screen point is in front of the display screen, namely between eyes and the display screen, so that the 3D viewing effect of a screen can be realized; or, the left eye partial image is shifted to the left side of the dividing line, the right eye partial image is shifted to the right side of the dividing line, the left eye of the user views the left eye partial image on the left side, the right eye views the right eye partial image on the right side, and the formed screen point is behind the display screen, so that the 3D viewing effect of the on-screen can be realized.
In an embodiment, the left-eye partial image and the right-eye partial image comprise enhancement effect images and atmosphere rendering images, the areas of the left-eye partial image and the right-eye partial image are smaller than the areas of the original frame picture images, and the left-eye partial image and the right-eye partial image are used for being fused in non-interested areas of the original frame picture images so as to avoid shielding interested areas in the original frame picture images.
Specifically, the enhancement effect image is used for enhancing the display effect of the original frame picture image and highlighting the content, for example, the enhancement effect image can be a voting image in the process video and also can be an important content labeling image in the teaching video, so that the effect enhancement effect can be achieved; the atmosphere rendering image is used for increasing the atmosphere of the original frame image, for example, the atmosphere rendering image may be a batting image in a variety video, for increasing the aesthetic feeling of the image, etc., and the embodiment of the invention is not particularly limited.
Specifically, the region of interest may be a region where an important picture is located in the original frame picture image, the non-region of interest is a region where a secondary picture is located in the original frame picture image, for example, in the variety video, the region of interest is a region where a guest appears, and the non-region of interest is a region where an environmental picture is located in the video; for another example, in the teaching video or the advertisement video, the region of interest may be a region where characters or characters are located in the teaching video or the advertisement video, or may be a region where important characters are located, and the non-region of interest may be a region where environmental pictures are located in the teaching video or the advertisement video, or may be a region where white remains. The local 3D image is displayed in the non-interested area, so that the area where the important picture is blocked can be avoided.
The target partial image in the embodiment of the invention is an auxiliary display image, namely the left eye partial image and the right eye partial image are auxiliary display images, which can be used for increasing the picture content, highlighting the key points, increasing the watching attention of a user, improving the display interestingness, enabling the display mode to be diversified, being more beneficial to breaking plane fixation and playing the effect of preventing and controlling myopia.
In an embodiment, the method for manufacturing the 3D video in the embodiment of the invention can be applied to the teaching industry, for example, a local 3D display animation is overlapped on the basis of the original teaching video, so that students can watch the teaching video, and the local 3D animation is displayed on the original 2D teaching video, so that the attention of the students can be attracted, important annotation or prompt pictures can be displayed by overlapping local 3D pictures, and the effects of breaking plane fixation and preventing and controlling myopia of the students can be achieved.
For example, the method for manufacturing the 3D video in the embodiment of the present invention may be applied to a variety video, for example, based on an original variety video, a local 3D display animation, such as a voting picture or a flower, may be superimposed, so that a viewer may watch a local 3D voting picture or a local 3D flower in the process of watching the variety video, thereby increasing the interest of watching, and meanwhile, due to the addition of a local 3D picture, the effect of breaking the plane to fix the vision and preventing and controlling myopia is achieved for the user.
For another example, the method for manufacturing the 3D video in the embodiment of the present invention may be applied in the advertising industry, for example, based on the original advertising video, a local 3D display animation, such as a special effect picture or a product feature picture, is superimposed, so that a viewer can notice the special effect picture or the product feature picture in the process of watching the advertising video, thereby increasing the advertising effect, and meanwhile, due to the addition of the local 3D picture, the effect of breaking the plane fixation and playing the myopia prevention and control effect for the user can be achieved.
It should be noted that, in the embodiment of the present invention, the 3D format includes an naked eye 3D format, a red blue 3D format, and a polarized 3D format.
When the 3D format includes a naked eye 3D format, the first frame image and the left eye partial image are images for pointing to the left eye of the user, the second frame image and the right eye partial image are images for pointing to the right eye of the user, the user can directly watch the first frame image and the left eye partial image which are emitted to the left eye direction by naked eyes, and can watch the second frame image and the right eye partial image which are emitted to the right eye direction by naked eyes directly.
When the 3D format includes a red-blue 3D format, the first frame image and the left-eye partial image are red 3D images, the second frame image and the right-eye partial image are blue 3D images, the user can watch the red first frame image and the left-eye partial image by wearing the red-blue 3D glasses, and can watch the blue second frame image and the blue right-eye partial image by wearing the red-blue 3D glasses.
When the 3D format includes a polarized 3D format, the first frame image and the left-eye partial image are images for pointing to a first polarization direction, the second frame image and the right-eye partial image are images for pointing to a second polarization direction, the user can view the first frame image and the left-eye partial image in the first polarization direction by wearing polarized glasses, and can view the second frame image and the right-eye partial image in the second polarization direction by wearing polarized glasses.
Referring to fig. 5, in an embodiment, the step S104 may further include, but is not limited to, step S301 to step S304.
Step S301, a target boundary line for offset processing is determined in the original frame picture image.
In step S302, the left-eye partial image and the right-eye partial image are respectively offset to the left and right sides with the target boundary line as the center line, so that the offset left-eye partial image and the right-eye partial image are symmetrically arranged along the target boundary line.
Step S303, determining a position between the first frame image and the second frame image.
Step S304, fusing the left eye partial image after the offset processing with the first frame image, and fusing the right eye partial image after the offset processing with the second frame image to obtain the partial 3D frame image.
In the embodiment of the invention, the center line of the display screen is taken as the target boundary line, namely, the center line of the original frame image is taken as the target boundary line, the left eye partial image and the right eye partial image are respectively offset to the left and right sides by taking the target boundary line as the center line, so that the left eye partial image and the right eye partial image after the offset processing are symmetrically arranged along the target boundary line, the position between the first frame image and the second frame image is determined, the source video display mode can be determined, the left eye partial image and the first frame image after the offset processing are fused, the right eye partial image and the second frame image after the offset processing are fused, the partial 3D frame image is obtained, the source video under the 2D format is converted into the 3D video under the 3D format, the original 2D display content is not changed, and the local 3D image effect is overlapped on the basis.
It can be understood that, in the embodiment of the present invention, after the offset processing is performed on the left-eye partial image and the right-eye partial image, the left-eye may view the offset left-eye partial image, the right-eye may view the offset right-eye partial image, and the positive parallax or the negative parallax may be performed on the partial 3D image through the offset processing.
Referring to fig. 6, in an embodiment, the step S302 may further include, but is not limited to, step S401 to step S402.
In step S401, a first target distance for shifting the left-eye partial image and the right-eye partial image is acquired.
In step S402, the left-eye partial image is shifted to the right by a first target distance with the target boundary line as the center line to reach a first position, and the right-eye partial image is shifted to the left by the first target distance with the target boundary line as the center line to reach a second position, so that the target partial image is displayed on the screen and a partial 3D image with negative parallax is formed.
In the embodiment of the invention, the target partial image can be displayed in an off-screen manner, that is, the target partial image is converted into a 3D image, and the screen point of the target partial image is located between the display screen of the terminal and the human eye, specifically, the embodiment of the invention shifts the left eye partial image to the right side by a first target distance with the target dividing line as the center line to reach a first position, shifts the right eye partial image to the left side by a first target distance with the target dividing line as the center line to reach a second position, and because the first direction is emitted towards the left eye direction of the user, the second direction is emitted towards the right eye direction of the user, the left eye of the user can see the left eye partial image in the first position, and the right eye can see the right eye partial image in the second position, as shown in fig. 7, the formed screen point is located in front of the display screen, that is located between the human eye and the display screen, and the 3D viewing effect of the off-screen can be realized, and the partial 3D image with negative parallax can be formed.
Referring to fig. 8, in an embodiment, the step S302 may further include, but is not limited to, step S501 to step S502.
In step S501, a second target distance for shifting the left-eye partial image and the right-eye partial image is acquired.
In step S502, the left-eye partial image is shifted to the left by a second target distance along the target boundary to a third position, and the right-eye partial image is shifted to the right by a second target distance along the target boundary to a fourth position, so that the target partial image is displayed on screen and a partial 3D image with positive parallax is formed.
In the embodiment of the invention, the target partial image can be displayed on the screen, that is, the target partial image is converted into the 3D image, and the screen point of the target partial image is behind the display screen of the terminal, specifically, the embodiment of the invention shifts the left eye partial image to the left side by a second target distance along the target boundary to reach a third position, shifts the right eye partial image to the right side by a second target distance along the target boundary to reach a fourth position, and because the first direction is emitted to the left eye direction of the user, the second direction is emitted to the right eye direction of the user, the left eye of the user can see the left eye partial image at the third position, the right eye can see the right eye partial image at the fourth position, and the formed screen point is behind the display screen, so that the 3D viewing effect of on-screen can be realized, and the partial 3D image with positive parallax is formed.
Specifically, taking viewpoint a on the target partial image as an example, assume that a viewpoint a is superimposed in the middle of the original frame picture image after the user forms a 3D picture. As shown in fig. 9a, when the viewpoint a is converted into two identical images, the viewpoint B in the left-eye partial image and the viewpoint B 'in the right-eye partial image are obtained, the viewpoint B is not offset from the viewpoint B', and after the left-eye partial image and the right-eye partial image are superimposed on the original frame picture image, the viewpoint B overlaps with the viewpoint B 'to obtain the point a', and since the viewpoint B refracts in the left-eye direction of the user and the viewpoint B 'refracts in the right-eye direction of the user, as shown in fig. 9B, the point a' viewed by the user is on the display screen, and thus the effect of 3D display is not achieved in this case.
As shown in fig. 10a, when the viewpoint a is converted into two offset images, a viewpoint B in the left-eye partial image and a viewpoint B ' in the right-eye partial image are obtained, wherein the viewpoint B may be offset to the right along the center line of the screen, the viewpoint B ' may be offset to the left along the center line of the screen, after the left-eye partial image and the right-eye partial image are superimposed into the original frame image, the viewpoint B and the viewpoint B ' are not overlapped and are located on the left and right sides of the image, and because the viewpoint B refracts in the left eye direction of the user and the viewpoint B ' refracts in the right eye direction of the user, as shown in fig. 10B, the point a ' observed by the user is located between the display screen and the human eye, and the original viewpoint a is displayed out of the screen, so that in this case, the effect of 3D display of the screen display is achieved, and the plane in which the target partial image is located after processing is located between the human eye and the plane in which the display screen is located.
As shown in fig. 11a, when the viewpoint a is converted into two offset images, a viewpoint B in the left-eye partial image and a viewpoint B 'in the right-eye partial image are obtained, wherein the viewpoint B may be offset to the left along the center line of the screen, the viewpoint B' may be offset to the right along the center line of the screen, after the left-eye partial image and the right-eye partial image are superimposed into the original frame image, the viewpoint B 'and the viewpoint B are not overlapped and are located on the left and right sides of the screen, and since the viewpoint B refracts in the left eye direction of the user and the viewpoint B refracts in the right eye direction of the user, as shown in fig. 11B, the point a' observed by the user is behind the display screen, and therefore, the effect of 3D display of the on-screen display can be achieved in this case, and the plane in which the target partial image is located behind the plane in which the display screen is located after processing.
Referring to fig. 12, in an embodiment, the step S303 may further include, but is not limited to, step S601 to step S602.
In step S601, the first frame image and the second frame image are kept unchanged at the positions of the original frame image, so that the original frame image forms a 2D image in 3D format.
In step S602, or, a center line in the original frame image is obtained, the first frame image and the second frame image are respectively offset to the left and right sides by taking the center line as the center line, so that the offset first frame image and the offset second frame image are symmetrically arranged along the center line, and the original frame image forms a depth 2D image.
It should be noted that, in the embodiment of the present invention, the original 2D display mode of the source video may be maintained, the original frame image is processed and copied into two parts, so that the two parts are displayed after fusion processing, and two identical first frame images and second frame images are obtained, where the first frame images are used for emitting in a first direction and pointing to the left eye direction of the user, the second frame images are used for emitting in a second direction and pointing to the right eye direction of the user, and the positions of the first frame images and the second frame images in the original frame image are kept unchanged, so that the original frame image forms a 3D 2D image, and after the user views the first frame images and the second frame images, the observed source video is still in the 2D display mode.
The source video in the embodiment of the invention can also be converted into a depth-of-field 2D video, specifically, the whole of the first frame picture image and the second frame picture image respectively takes the central line as the central line, and the first frame picture image and the second frame picture image after offset processing are respectively offset to the left and the right sides, so that the first frame picture image and the second frame picture image after offset processing are symmetrically arranged along the central line, so that the original frame picture image forms the depth-of-field 2D image.
In the embodiment of the invention, in the clipping processing of the original frame picture image and the target partial image to be added, the clipping processing is performed by clipping the original frame picture image and the target partial image to be added into a left part and a right part, and then the clipping processing is performed by combining, and the clipped target partial image to be added is superimposed into the clipped source video, and because clipping widths are consistent, the clipping processing can be exactly superimposed together to form the required 3D video.
It can be understood that, in the embodiment of the present invention, the display screen is a 2D display screen, by disposing the grating film on the display screen, refraction is performed on light emitted from the display screen to form the first direction and the second direction, and the grating film can be understood as a polarizing film and a polymer liquid crystal layer, for example, a series of vertical stripes with 90 degrees are manufactured by using the liquid crystal layer and the polarizing film of the display screen, the stripes are tens of micrometers wide, a vertical thin stripe grating pattern is formed by the light of the stripes, which is called as a "parallax barrier", so that the visual images of the left eye and the right eye are separated, and the 3D image is seen by the user.
When the 3D format in the embodiment of the present invention is a naked eye 3D format, in the arrangement of the left eye partial image, the right eye partial image, the first frame image and the second frame image, the embodiment of the present invention processes the left eye partial image, the right eye partial image, the first frame image and the second frame image into a plurality of pixel strips, so that the pixel of each image is divided into several sub-pixels, and the grating film can refract the light emitted by each sub-pixel in different directions, and both eyes view the display screen from different angles, so as to realize the 3D viewing effect.
Referring to fig. 13, in an embodiment, the step S602 may further include, but is not limited to, steps S701 to S702.
In step S701, a third target distance for shifting the first frame image and the second frame image is obtained, wherein the third target distance is smaller than the distance for shifting the left-eye partial image and the right-eye partial image.
In step S702, the whole first frame image is shifted to the right by a third target distance with the center line as the center line, and the whole second frame image is shifted to the left by the third target distance with the center line as the center line, so that the original frame image is displayed and forms a depth 2D image with negative parallax.
In the embodiment of the invention, the source video in the original 2D format can be displayed by shifting the whole of the first frame image to the right by a third target distance, as shown in fig. 14, in the processing of the source video, the third target distance for shifting the first frame image and the second frame image is determined first, wherein the third target distance is smaller than the distance for shifting the left eye partial image and the right eye partial image, so that the distance for displaying the original frame image is smaller than the distance for displaying the target partial image, then shifting the whole of the first frame image to the right by the third target distance by taking the middle line as the center line, shifting the whole of the second frame image by the third target distance by taking the middle line as the center line, so as to adjust the depth of field of the original frame image and enable the source video to be displayed by the left by the third target distance, and form a depth of field 2D image with negative parallax.
Referring to fig. 15, in an embodiment, the step S602 may further include, but is not limited to, steps S801 to S802.
In step S801, a fourth target distance for shifting the first frame image and the second frame image is obtained, wherein the fourth target distance is smaller than the distance for shifting the left-eye partial image and the right-eye partial image.
Step S802, the whole first frame image is shifted to the left by a fourth target distance by taking the central line as the central line, and the whole second frame image is shifted to the right by a fourth target distance by taking the central line as the central line, so that the original frame image is displayed on the screen and a depth of field 2D image with positive parallax is formed.
In the embodiment of the invention, the source video in the original 2D format can be displayed on the screen, in the processing of the source video, the fourth target distance of the offset of the first frame image and the second frame image is determined first, wherein the fourth target distance is smaller than the distance of the offset of the left eye partial image and the right eye partial image, so that the distance of the source video on the screen is smaller than the distance of the target partial image on the screen, then the whole first frame image is offset to the left side by the fourth target distance by taking the central line as the central line, the whole second frame image is offset to the right side by the fourth target distance by taking the central line as the central line, so that the depth of field of the source video is adjusted, and the source video is displayed on the screen to form a positive depth 2D image.
Referring to fig. 16, the embodiment of the invention further provides a device for producing 3D video, which includes:
a first module 1601 is configured to obtain an original frame image of a source video in a 2D format.
The second module 1602 is configured to copy the original frame image to form a first frame image and a second frame image in a 3D format.
A third module 1603 is configured to acquire a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image, where the left-eye partial image and the right-eye partial image are used to form a partial 3D image.
The fourth module 1604 is configured to fuse the left-eye local image with the first frame image, and fuse the right-eye local image with the second frame image, so as to obtain a local 3D frame image.
It should be noted that, the 3D video production device in the embodiment of the present invention may implement the 3D video production method in any one of the embodiments, where the 3D video production device may be a terminal device such as a mobile phone, a tablet computer, or a 3D vision training terminal, where the 3D video production device performs the 3D video production method, first obtains an original frame image of a source video in a 2D format, copies the original frame image to form a first frame image and a second frame image in the 3D format, then obtains a left eye partial image to be added and a right eye partial image corresponding to the left eye partial image, uses the left eye partial image and the right eye partial image to form a 3D image, and a user can view the partial 3D image by viewing the left eye partial image and the right eye partial image, fuses the left eye partial image and the first frame image, and fuses the right eye partial image and the second frame image to obtain a partial 3D frame image, and according to the 3D frame image, and then obtains the required 3D partial image to be added and the video is applied to the 3D video in a single visual manner, so that the invention is easy to implement the addition of the 3D video in the 2D video, and the invention has a single visual effect of preventing and the visual enhancement of the original video.
It should be noted that, the first module 1601, the second module 1602, the third module 1603, and the fourth module 1604 may be respective functional modules on the terminal, and in an embodiment, the modules may be respective functional modules in the processor, and may be all executed by the processor disposed on the terminal, and in the embodiment of the present invention, only the hardware structure of the 3D video production device is embodied by the functional modules, which is not meant to limit the embodiment of the present invention.
Fig. 17 shows an electronic device 1700 provided by an embodiment of the invention. The electronic device 1700 includes: the processor 1701, the memory 1702, and a computer program stored on the memory 1702 and executable on the processor 1701, the computer program when executed is configured to perform the method for producing 3D video as described above.
The processor 1701 and the memory 1702 may be connected by a bus or other means.
The memory 1702 is used as a non-transitory computer readable storage medium for storing non-transitory software programs and non-transitory computer executable programs, such as the 3D video production method described in the embodiments of the present invention. The processor 1701 implements the above-described 3D video production method by running a non-transitory software program and instructions stored in the memory 1702.
Memory 1702 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store and execute the 3D video production method described above. Further, the memory 1702 may include high-speed random access memory 1702, and may also include non-transitory memory 1702, such as at least one storage device memory device, flash memory device, or other non-transitory solid state memory device. In some implementations, the memory 1702 may optionally include memory 1702 located remotely from the processor 1701, the remote memory 1702 being connectable to the electronic device 1700 over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the above-described 3D video production method are stored in the memory 1702, and when executed by the one or more processors 1701, the above-described 3D video production method is performed, for example, method steps S101 to S104 in fig. 1, method steps S201 to S202 in fig. 4, method steps S301 to S304 in fig. 5, method steps S401 to S402 in fig. 6, method steps S501 to S502 in fig. 8, method steps S601 to S602 in fig. 12, method steps S701 to S702 in fig. 13, and method steps S801 to S802 in fig. 15.
The device embodiments described above are merely illustrative and the modules may be selected according to actual needs.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, storage device storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media.
It should also be appreciated that the various embodiments provided by the embodiments of the present invention may be arbitrarily combined to achieve different technical effects. While the preferred embodiments of the present invention have been described in detail, the present invention is not limited to the above embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present invention.

Claims (12)

1. A method for producing a 3D video, comprising:
acquiring an original frame picture image of a source video in a 2D format;
copying the original frame image to form a first frame image and a second frame image in a 3D format;
acquiring a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image, wherein the left-eye partial image and the right-eye partial image are used for forming a partial 3D image, the left-eye partial image and the right-eye partial image comprise enhancement effect images or atmosphere rendering images, the enhancement effect images are used for enhancing the display effect of the original frame picture image and highlighting the content, the atmosphere rendering images are used for increasing the atmosphere of the original frame picture image, and the areas of the left-eye partial image and the right-eye partial image are smaller than the area of the original frame picture image;
And fusing the left-eye local image and the first frame image, and fusing the right-eye local image and the second frame image to obtain a local 3D frame image, wherein the left-eye local image and the right-eye local image are used for being fused in a non-interested region of the original frame image so as to avoid shielding the interested region in the original frame image, and the non-interested region is a region where a secondary picture in the original frame image is located.
2. The method for producing a 3D video according to claim 1, wherein the acquiring a left-eye partial image to be added and a right-eye partial image corresponding to the left-eye partial image includes:
acquiring a target local image to be added;
splitting the target partial image to obtain a left eye partial image emitted in a first direction and a corresponding right eye partial image emitted in a second direction, wherein the first direction is used for pointing to the left eye direction of a user, and the second direction is used for pointing to the right eye direction of the user.
3. The method for producing a 3D video according to claim 2, wherein the fusing the left-eye partial image and the first frame image, and fusing the right-eye partial image and the second frame image to obtain a partial 3D frame image comprises:
Determining a target boundary line for offset processing in the original frame picture image;
respectively taking the target boundary line as a central line, and respectively shifting the left eye partial image and the right eye partial image to the left and the right sides so that the left eye partial image and the right eye partial image after the shifting treatment are symmetrically arranged along the target boundary line;
determining a position between the first frame image and the second frame image;
and fusing the left-eye local image after the offset processing with the first frame image, and fusing the right-eye local image after the offset processing with the second frame image to obtain a local 3D frame image.
4. A method of producing a 3D video according to claim 3, wherein the shifting the left-eye partial image and the right-eye partial image to the left and right sides, respectively, with the target dividing line as a center line, respectively, includes:
acquiring a first target distance of the left eye partial image and the right eye partial image offset;
and shifting the left-eye partial image to the right by the first target distance by taking the target dividing line as a central line to reach a first position, and shifting the right-eye partial image to the left by the first target distance by taking the target dividing line as a central line to reach a second position, so that the target partial image is displayed in an off-screen mode and a partial 3D image with negative parallax is formed.
5. A method of producing a 3D video according to claim 3, wherein the shifting the left-eye partial image and the right-eye partial image to the left and right sides, respectively, with the target dividing line as a center line, respectively, includes:
acquiring a second target distance of the left eye partial image and the right eye partial image offset;
and shifting the left-eye partial image to the left side by the second target distance along the target boundary to a third position, and shifting the right-eye partial image to the right side by the second target distance along the target boundary to a fourth position, so that the target partial image is displayed on the screen and a partial 3D image with positive parallax is formed.
6. A method of producing a 3D video according to claim 3, wherein the determining a position between the first frame image and the second frame image comprises:
the first frame picture image and the second frame picture image are kept at the original position of the original frame picture image, so that the original frame picture image forms a 2D image in a 3D format;
or, acquiring a center line in the original frame image, and respectively shifting the whole first frame image and the whole second frame image to the left and right sides by taking the center line as a center line, so that the first frame image and the second frame image after the shifting treatment are symmetrically arranged along the center line, and the original frame image forms a depth 2D image.
7. The method according to claim 6, wherein the shifting the first frame image and the second frame image to the left and right sides, respectively, with the center line as the center line, respectively, comprises:
acquiring a third target distance of the offset of the first frame image and the second frame image, wherein the third target distance is smaller than the offset distance of the left-eye partial image and the right-eye partial image;
and shifting the whole first frame image to the right by the third target distance by taking the central line as the central line, and shifting the whole second frame image to the left by the third target distance by taking the central line as the central line, so that the original frame image is displayed on the screen and a depth of field 2D image with negative parallax is formed.
8. The method according to claim 6, wherein the shifting the first frame image and the second frame image to the left and right sides, respectively, with the center line as the center line, respectively, comprises:
acquiring a fourth target distance of the offset of the first frame image and the second frame image, wherein the fourth target distance is smaller than the offset distance of the left-eye partial image and the right-eye partial image;
And shifting the whole first frame image to the left by the fourth target distance by taking the central line as the central line, and shifting the whole second frame image to the right by the fourth target distance by taking the central line as the central line, so that the original frame image is displayed on the screen and a depth of field 2D image with positive parallax is formed.
9. The method for producing 3D video according to claim 1, wherein the 3D format includes an naked eye 3D format, a red blue 3D format, and a polarized 3D format;
when the 3D format includes an naked eye 3D format, the first frame image and the left eye partial image are images for pointing to a left eye of a user, and the second frame image and the right eye partial image are images for pointing to a right eye of the user;
when the 3D format includes a red-blue 3D format, the first frame image and the left-eye partial image are red 3D images, and the second frame image and the right-eye partial image are blue 3D images;
when the 3D format includes a polarized 3D format, the first frame image and the left-eye partial image are images for pointing to a first polarization direction, and the second frame image and the right-eye partial image are images for pointing to a second polarization direction.
10. A 3D video production apparatus, comprising:
the first module is used for acquiring an original frame picture image of the source video in the 2D format;
the second module is used for copying the original frame picture image to form a first frame picture image and a second frame picture image in a 3D format;
a third module, configured to acquire a left-eye local image to be added and a right-eye local image corresponding to the left-eye local image, where the left-eye local image and the right-eye local image are used to form a local 3D image, the left-eye local image and the right-eye local image include an enhancement effect image or an atmosphere rendering image, the enhancement effect image is used to enhance a display effect of the original frame picture image, and highlight a content, the atmosphere rendering image is used to increase an atmosphere of the original frame picture image, and areas of the left-eye local image and the right-eye local image are smaller than an area of the original frame picture image;
and a fourth module, configured to fuse the left-eye local image with the first frame image, and fuse the right-eye local image with the second frame image, to obtain a local 3D frame image, where the left-eye local image and the right-eye local image are used to be fused in a non-interested area of the original frame image, so as to avoid shielding the interested area in the original frame image, and the non-interested area is an area where a secondary image in the original frame image is located.
11. An electronic device comprising a memory, a processor, the memory storing a computer program, the processor implementing the method of producing 3D video according to any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium storing a program that is executed by a processor to implement the method of producing a 3D video according to any one of claims 1 to 9.
CN202210608828.XA 2022-05-31 2022-05-31 3D video production method and device, electronic equipment and storage medium Active CN115086637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210608828.XA CN115086637B (en) 2022-05-31 2022-05-31 3D video production method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210608828.XA CN115086637B (en) 2022-05-31 2022-05-31 3D video production method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115086637A CN115086637A (en) 2022-09-20
CN115086637B true CN115086637B (en) 2024-03-19

Family

ID=83250284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210608828.XA Active CN115086637B (en) 2022-05-31 2022-05-31 3D video production method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115086637B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1795682A (en) * 2003-05-27 2006-06-28 三洋电机株式会社 Image display device and program
CN102036081A (en) * 2009-09-30 2011-04-27 日立民用电子株式会社 Receiver apparatus and reproducing apparatus
CN102075773A (en) * 2010-11-25 2011-05-25 深圳市创凯电子有限公司 Synchronized method for imaging stereo and planar image mixed signal on super large screen
CN102186094A (en) * 2011-04-29 2011-09-14 深圳超多维光电子有限公司 Method and device for playing media files
CN102293003A (en) * 2009-01-21 2011-12-21 株式会社尼康 image processing device, program, image processing method, recording method, and recording medium
CN202150261U (en) * 2011-07-30 2012-02-22 李军 Mobile DVD with 2D/3D mixed display function
CN105872518A (en) * 2015-12-28 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for adjusting parallax through virtual reality
CN108848370A (en) * 2018-07-04 2018-11-20 深圳市华星光电半导体显示技术有限公司 Full parallax changeable bore hole 3D display device and its display methods
CN111447432A (en) * 2020-04-02 2020-07-24 上海晨驭信息科技有限公司 Multi-path 3D signal splicing synchronization system
CN111464749A (en) * 2020-05-07 2020-07-28 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for image synthesis

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5502436B2 (en) * 2009-11-27 2014-05-28 パナソニック株式会社 Video signal processing device
TWI502247B (en) * 2013-02-26 2015-10-01 Chunghwa Picture Tubes Ltd Autostereoscopic display device and display method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1795682A (en) * 2003-05-27 2006-06-28 三洋电机株式会社 Image display device and program
CN102293003A (en) * 2009-01-21 2011-12-21 株式会社尼康 image processing device, program, image processing method, recording method, and recording medium
CN102036081A (en) * 2009-09-30 2011-04-27 日立民用电子株式会社 Receiver apparatus and reproducing apparatus
CN102075773A (en) * 2010-11-25 2011-05-25 深圳市创凯电子有限公司 Synchronized method for imaging stereo and planar image mixed signal on super large screen
CN102186094A (en) * 2011-04-29 2011-09-14 深圳超多维光电子有限公司 Method and device for playing media files
CN202150261U (en) * 2011-07-30 2012-02-22 李军 Mobile DVD with 2D/3D mixed display function
CN105872518A (en) * 2015-12-28 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for adjusting parallax through virtual reality
CN108848370A (en) * 2018-07-04 2018-11-20 深圳市华星光电半导体显示技术有限公司 Full parallax changeable bore hole 3D display device and its display methods
CN111447432A (en) * 2020-04-02 2020-07-24 上海晨驭信息科技有限公司 Multi-path 3D signal splicing synchronization system
CN111464749A (en) * 2020-05-07 2020-07-28 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for image synthesis

Also Published As

Publication number Publication date
CN115086637A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US9866825B2 (en) Multi-view image display apparatus and control method thereof
JP6449428B2 (en) Curved multi-view video display device and control method thereof
US10321118B2 (en) 3D display device and method
US9282310B2 (en) Mobile terminal and control method thereof
CN108769664B (en) Naked eye 3D display method, device, equipment and medium based on human eye tracking
KR102174258B1 (en) Glassless 3d display apparatus and contorl method thereof
US8760396B2 (en) Stereoscopic image display device
CN105842864B (en) A kind of slim grating 3D display device
KR20170029210A (en) Multi view image display apparatus and contorl method thereof
KR20120066409A (en) Volumetric 3d panel and display apparatus using the same
CN105527719A (en) Naked eye 3D displayer and display method
CN115086637B (en) 3D video production method and device, electronic equipment and storage medium
WO2017215251A1 (en) Parallax grating panel, display device, electronic device, and display method
KR102143463B1 (en) Multi view image display apparatus and contorl method thereof
KR102139746B1 (en) Transparent display apparatus and method thereof
US20210227197A1 (en) 3D display device having a processor for correcting pseudostereoscopic effect
KR20140088465A (en) Display method and display apparatus
KR100763398B1 (en) Method for displaying 3d image using mobile image display device
US20140253696A1 (en) 3-d image shutter glasses
KR100761075B1 (en) Liquid Crystal Display Device for having a 3-dimensional camera
KR20150118325A (en) multi view image display apparatus and display method thereof
CN103376558A (en) Stereo display device
CN103376557A (en) Stereo display device
US20150042772A1 (en) Display apparatus and control method for providing a 3d image
US9678354B2 (en) Glassless multi-view display apparatus and control method thereof

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