Method and device for image stitching
First Claim
1. A method for image stitching, comprisingobtaining a first image acquired by a first camera and a second image acquired by a second camera, wherein the first image is an image with visible light information, the second image is an image comprising depth information and visible light information, the first camera and the second camera are disposed adjacent to each other, and there is an overlapping area between the acquired first image and second image;
- mapping pixels in the second image to the overlapping area and/or an extended area, wherein the extended area is an image area formed by pixels in the second image which are mapped to the outside of the first image;
stitching the mapped pixels in the second image to the overlapping area and/or the extended area based on depth information and visible light information of the pixels in the second image to obtain a stitched image.
1 Assignment
0 Petitions
Accused Products
Abstract
The present application discloses a method and a device for image stitching. The method includes: obtaining a first image acquired by a first camera and a second image acquired by a second camera, wherein the first image is an image with visible light information, the second image is an image including depth information and visible light information, the first camera and the second camera are disposed adjacent to each other, and there is an overlapping area between the acquired first image and second image; mapping pixels in the second image to the overlapping area and/or an extended area, wherein the extended area is an image area formed by pixels in the second image which are mapped to the outside of the first image; stitching the mapped pixels in the second image to the overlapping area and/or the extended area based on depth information and visible light information of the pixels in the second image to obtain a stitched image. The present application solves the technical problem of a low stitching efficiency in the image stitching process in the prior art.
4 Citations
19 Claims
-
1. A method for image stitching, comprising
obtaining a first image acquired by a first camera and a second image acquired by a second camera, wherein the first image is an image with visible light information, the second image is an image comprising depth information and visible light information, the first camera and the second camera are disposed adjacent to each other, and there is an overlapping area between the acquired first image and second image; -
mapping pixels in the second image to the overlapping area and/or an extended area, wherein the extended area is an image area formed by pixels in the second image which are mapped to the outside of the first image; stitching the mapped pixels in the second image to the overlapping area and/or the extended area based on depth information and visible light information of the pixels in the second image to obtain a stitched image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An electronic device, which comprises:
- one or more processors, one or more memories, wherein the one or more memories are configured to store executable program codes;
the executable program codes stored in the one or more memories are executed by the one or more processors to perform;obtaining a first image acquired by a first camera and a second image acquired by a second camera, wherein the first image is an image with visible light information, the second image is an image comprising, depth information and visible light information, the first camera and the second camera are disposed adjacent to each other, and there is an overlapping area between the acquired first image and second image; mapping pixels in the second image to the overlapping area and/or an extended area, wherein the extended area is an image area formed by pixels in the second image which are mapped to the outside of the first image; stitching the mapped pixels in the second image to the overlapping area and/or the extended area based on depth information and visible light information of the pixels in the second image to obtain a stitched image. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
- one or more processors, one or more memories, wherein the one or more memories are configured to store executable program codes;
Specification