Image adaptive synthesis method and device and computer readable storage medium
A synthesis method and self-adaptive technology, applied in the field of image processing, can solve the problems that the synthesis effect cannot be guaranteed, and the field of high real-time performance cannot be applied, so as to achieve the effect of improving the effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] This embodiment provides a method for adaptive image synthesis, comprising the following steps:
[0040] (1) Obtain two shooting scenes to be synthesized, as the foreground and the background respectively.
[0041] (2) Determine the camera parameters of the foreground and background by Zhang Zhengyou calibration method, the parameters of the camera include f x , f y , u 0 and v 0 .
[0042] (3) Obtain any matching point corresponding to the synthetic trajectory in the foreground and background respectively, and determine the coordinates (X, Y, Z) of the two matching points in the camera coordinate system and the coordinates in the pixel coordinate system (u, v); Wherein, the coordinates of the matching point in the camera coordinate system can be obtained by sensor or manual measurement.
[0043] (4) Judging the depth of the two matching points in the camera coordinate system (that is, the Z value of the two), and obtaining the judgment result;
[0044](5) Accordi...
Embodiment 2
[0055] This embodiment provides a specific implementation of the above image adaptive synthesis method in video synthesis, and its operating environment is Windows 10+OpenCV 3.4.3+Kinect for Windows SDK 2.0+VS2017, specifically, it includes the following steps :
[0056] (1) Use the iphone 6s plus camera to record video as the background, and mark the coordinates of the background matching point in the camera coordinate system; use the kinect 2.0 camera to capture the video in real time, as the foreground, and mark the coordinates of the foreground matching point in the camera coordinate system .
[0057] (2) Use GML Camera Calibration to calibrate the camera parameters of the iphone 6s plus camera and the kinec t 2.0 camera.
[0058] (3) Load the image data streams of the foreground and the background, and adjust the progress of the foreground and the background to the time point when you want to start compositing.
[0059] (4) Obtain a pair of frame data synchronously from...
Embodiment 3
[0063] Refer to attached figure 1 , this embodiment provides an image adaptive synthesis device, which includes: an acquisition module, used to acquire two shooting scenes, respectively as the foreground and the background; a parameter determination module, used to determine the camera of the foreground and the background through the Zhang Zhengyou calibration method Parameter; the coordinate determination module is used to obtain any matching point corresponding to the synthetic trajectory in the foreground and the background respectively, and determines the coordinates of the two matching points in the camera coordinate system and the coordinates in the pixel coordinate system; the judgment module uses It is used to judge the depth of two matching points in the camera coordinate system to obtain the judgment result; the adaptive affine transformation module is used to perform affine transformation on the foreground or background according to the judgment result, the camera pa...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com