A stereoscopic image synthesis method and device
A stereoscopic image and sub-image technology, applied in the field of stereoscopic images, can solve problems such as poor stereoscopic image display effects, achieve the effects of optimizing images, improving display effects, and avoiding faults
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 The implementation process of a stereoscopic image synthesis method provided by the embodiment of the present invention is shown, and the details are as follows:
[0024] In step S101, N sub-images used for compositing the target image are obtained, where N is an integer greater than or equal to 2.
[0025] In this embodiment, N may be set by the user or defaulted by the system, which is not limited here.
[0026] Preferably, N is 8, so as to increase the synthesis speed and ensure the real-time performance in generating the target image.
[0027] In this embodiment, the acquisition of N sub-images used to synthesize the target image can capture the image through the lens at a fixed frame rate, save the data of the pixel of the image in the buffer, and extract the data from it for processing on the screen. Image preview. The user can select N images to be synthesized in the image preview, and the selection method includes but not limited to touch selection a...
Embodiment 2
[0035] figure 2 It shows the specific implementation process of obtaining the sub-picture serial number in the positioning information of each pixel component included in each pixel point in the target image in Embodiment 1 of the present invention, and is described in detail as follows:
[0036] In step S201, the positioning coordinates of each pixel of the target image are acquired.
[0037] In this embodiment, obtaining the positioning coordinates of pixels in an image is a prior art, and details are not described here.
[0038] In step S202, the sub-picture number in the positioning information of each pixel component included in each pixel point is generated according to the positioning coordinates.
[0039] As a preferred embodiment of the present invention, the generation of sub-image serial numbers in the positioning information of each pixel component included in each pixel point in N sub-images according to the positioning coordinates is specifically:
[0040] Cre...
Embodiment 3
[0050] image 3 The specific implementation process of obtaining the positioning coordinates in the positioning information of each pixel component included in each pixel point in the target image in Embodiment 1 of the present invention is shown, and is described in detail as follows:
[0051] In step S301, the positioning coordinates of each pixel component included in each pixel point of the target image are obtained, and the positioning coordinates include width coordinates and height coordinates;
[0052] In step S302, obtain the width and height of the target image;
[0053] In step S303, obtain the width and height of N sub-images;
[0054] In step S304, a width coefficient is generated according to the ratio of the width of the sub-image to the width of the target image;
[0055] In step S305, a height coefficient is generated according to the ratio of the height of the sub-image to the height of the target image;
[0056] In step S306, according to the width coordi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 