US 11,736,798 B2
Method for obtaining image of the moon, electronic device and storage medium
Gaoping Ji, Beijing (CN); and Lingyuan Yang, Beijing (CN)
Assigned to BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN)
Filed by BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN)
Filed on Apr. 26, 2021, as Appl. No. 17/240,096.
Claims priority of application No. 202010784863.8 (CN), filed on Aug. 6, 2020.
Prior Publication US 2022/0046174 A1, Feb. 10, 2022
Int. Cl. H04N 23/69 (2023.01); H04N 7/18 (2006.01); H04N 23/63 (2023.01); H04N 23/80 (2023.01)
CPC H04N 23/69 (2023.01) [H04N 7/18 (2013.01); H04N 23/63 (2023.01); H04N 23/80 (2023.01)] 12 Claims
OG exemplary drawing
 
1. A method for obtaining an image of the moon, comprising:
obtaining position data of the moon in an original image;
in response to the moon being not located in a central position of the original image, clipping a preview image with a size corresponding to a current actual zooming multiple of a camera component from the original image by taking the position data as a central position of the preview image;
displaying the preview image, in which the moon is located in the central position of the preview image;
determining a region of interest in the original image based on the position data and the current actual zooming multiple, wherein a central position of the region of interest is overlapped with a central position of the moon, and a size of the region of interest corresponds to the current actual zooming multiple; and
obtaining an image of the moon by performing image post-processing on a part of the original image located in the region of interest.