本申请提供了一种拍摄月亮的方法及电子设备,该方法通过在预览界面中自动识别月亮,并在识别到月亮之后进入月亮拍摄模式,从而自动对焦月亮,使预览界面中显示轮廓清晰的月亮图像。再根据用户的拍摄操作,采集多帧不同曝光参数下轮廓清晰的月亮图像,并对采集的多帧图像进行不同的处理,分别得到包括清晰明亮的背景且包括轮廓清晰、晶莹美丽的月亮的照片,该方法可以在普通拍摄模式下,或者非专业用户的拍摄过程中,拍摄出轮廓清晰、晶莹美丽的月亮,提高用户的拍摄体验。
The invention provides a moon shooting method and an electronic device, and the method comprises the steps: automatically identifying a moon in a preview interface, entering a moon shooting mode afteridentifying the moon, automatically focusing the moon, and enabling a moon image with a clear outline to be displayed in the preview interface; according to the shooting operation of the user; acquiring a plurality of frames of moon images with clear contours under different exposure parameters. Compared with the prior art, the method has the advantages that the collected multiple frames of images are collected and processed differently, moon photos including clear and bright backgrounds and clear, glittering and beautiful outlines are obtained respectively, the moon with clear, glittering and beautiful outlines can be shot in a common shooting mode or in the shooting process of non-professional users, and the shooting experience of the users is improved.