Photographing method and electronic device

    公开(公告)号:US12120450B2

    公开(公告)日:2024-10-15

    申请号:US17780586

    申请日:2020-11-27

    CPC classification number: H04N5/2621 H04N5/272 H04N5/91 H04N23/631 H04N23/667

    Abstract: A photographing method includes: starting a camera in response to a first operation; entering a first video recording mode in response to a second operation; capturing first video frames in response to a third operation; and stopping capturing the first video frames in response to a fourth operation, to obtain a target video. The ith second video frame in the target video is obtained by fusing a foreground image of the kth first video frame captured by the camera and a background image of the jth first video frame captured by the camera, and the (i+1)th second video frame in the target video is obtained by fusing a foreground image of the (k+m)th first video frame captured by the camera and a background image of the (j+n)th first video frame captured by the camera, where m≠n. In this way, the electronic device can record a video with a special effect.

    Photographing method and apparatus

    公开(公告)号:US12301993B2

    公开(公告)日:2025-05-13

    申请号:US17950494

    申请日:2022-09-22

    Abstract: This application discloses a photographing method and apparatus, to overcome blurring that occurs during photographing. When a zoom ratio is greater than a first zoom ratio threshold, a long-focus camera is started to capture an image. A zoom ratio of the long-focus camera is greater than or equal to the first zoom ratio threshold. Because a high zoom ratio causes large shake, a rotational blur occurs in the image. According to the photographing method disclosed in this application, a first neural network model for rotational image deblurring is used to implement rotational image deblurring processing. In this way, high imaging quality of an image, a video, or a preview image is presented to a user to some extent, and the imaging effect may not be inferior to the effect of photographing with a tripod.

    IMAGE PROCESSING METHOD, MODEL TRAINING METHOD, AND ELECTRONIC DEVICE

    公开(公告)号:US20240430579A1

    公开(公告)日:2024-12-26

    申请号:US18708209

    申请日:2022-09-27

    Abstract: Embodiments of this application provide an image processing method, a model training method, and an electronic device. The image processing method includes: shooting a first image and a second image for a motion scene in an alternating current lighting environment, where exposure duration of the first image is greater than exposure duration of the second image, and the exposure duration of the second image is less than an energy period of an alternating current; and inputting the first image and the second image to a trained image processing model, and outputting a target image by using the image processing model. In this way, an image without a stripe can be obtained through shooting for the motion scene in the alternating current lighting environment.

    Image distortion correction method and apparatus

    公开(公告)号:US12254635B2

    公开(公告)日:2025-03-18

    申请号:US17698650

    申请日:2022-03-18

    Abstract: An image distortion correction method and an apparatus, where the method includes: performing optical distortion correction on a collected source image to obtain a first corrected image, where the first corrected image includes a background region and a portrait in which stretching deformation occurs, and where the portrait in which stretching deformation occurs includes at least a first human body region in which stretching deformation occurs and a second human body region in which stretching deformation occurs; and performing algorithm constraint correction on the first human body region, the second human body region, and the background region to obtain a second corrected image, where constraint terms used for the algorithm constraint correction respectively constrain the first human body region, the second human body region, and the background region.

    Photographing Method and Device
    6.
    发明公开

    公开(公告)号:US20230328356A1

    公开(公告)日:2023-10-12

    申请号:US17923276

    申请日:2021-03-01

    Abstract: A photographing method and a device configured to capture, in a slow shutter exposure mode, a photo in which a subject image is clear and a background image has a motion blur, so as to improve a photographing experience. The device may display a preview image with an image of a first object in a preview background image a motion blur, and a preview subject image not having a motion blur. The device may display an intermediate image on a photographing interface after detecting a photographing operation. On the intermediate image, an image of a second object in an intermediate background image has a motion blur, and an intermediate subject image does not have a motion blur. On a generated photo, an image of the second object in a target background image has a motion blur, and a target subject image does not have a motion blur.

    Image Distortion Correction Method and Apparatus

    公开(公告)号:US20220207747A1

    公开(公告)日:2022-06-30

    申请号:US17698650

    申请日:2022-03-18

    Abstract: This application provides an image distortion correction method and an apparatus. The method includes: performing optical distortion correction on a collected source image, to obtain a first corrected image, where the first corrected image includes a background region and a portrait in which stretching deformation occurs, and the portrait in which stretching deformation occurs includes at least a first human body region in which stretching deformation occurs and a second human body region in which stretching deformation occurs; and performing algorithm constraint correction on the first human body region, the second human body region, and the background region, to obtain a second corrected image, where constraint terms used for the algorithm constraint correction respectively constrain the first human body region, the second human body region, and the background region.

Patent Agency Ranking