US 12,309,342 B2
Photographing method, image processing method, and electronic device
Tianluo Chen, Shenzhen (CN); Xin Ding, Shenzhen (CN); Heng Zhou, Shenzhen (CN); and Yuewan Lu, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Appl. No. 18/004,140
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
PCT Filed Jun. 30, 2021, PCT No. PCT/CN2021/103747
§ 371(c)(1), (2) Date Jan. 3, 2023,
PCT Pub. No. WO2022/002158, PCT Pub. Date Jan. 6, 2022.
Claims priority of application No. 202010636970.6 (CN), filed on Jul. 3, 2020.
Prior Publication US 2023/0262205 A1, Aug. 17, 2023
Int. Cl. H04N 13/117 (2018.01); H04N 13/156 (2018.01); H04N 13/268 (2018.01); H04N 13/293 (2018.01); H04N 23/62 (2023.01); H04N 23/63 (2023.01); H04N 23/698 (2023.01); H04N 23/90 (2023.01)
CPC H04N 13/117 (2018.05) [H04N 13/156 (2018.05); H04N 13/268 (2018.05); H04N 13/293 (2018.05); H04N 23/62 (2023.01); H04N 23/632 (2023.01); H04N 23/698 (2023.01); H04N 23/90 (2023.01)] 20 Claims
OG exemplary drawing
 
1. A photographing method comprising:
receiving a photographing instruction of a user;
shooting, in response to receiving the photographing instruction, a primary camera image using a primary camera of an electronic device;
shooting, in response to receiving the photographing instruction, a wide-angle image using a wide-angle camera of the electronic device;
obtaining a first point cloud based on the primary camera image;
obtaining a second point cloud based on the wide-angle image;
calculating a common area of the primary camera image and the wide-angle image based on camera parameters of the primary camera and the wide-angle camera;
calculating, using a stereo matching imaging algorithm, content in the common area to obtain a binocular depth map;
obtaining, using the binocular depth map, a binocular point cloud based on the primary camera image and the wide-angle image;
performing a first depth calibration on the second point cloud based on the first point cloud to obtain a first calibrated point cloud of the wide-angle image;
performing a second depth calibration on the binocular point cloud based on the first point cloud to obtain a second calibrated binocular point cloud;
obtaining a fused three-dimensional (3D) point cloud bycloud by:
matching and fusing the first point cloud, the second point cloud, and the binocular point cloud based on a full-scene 3D point cloud; and
fusing the first point cloud with the first calibrated point cloud and the second calibrated binocular point cloud; and
generating a 3D image based on the fused 3D point cloud.