Back to results
US 11,445,122 B2Granted
Image processing method and apparatus, and device
AssigneeHuawei Technologies Co., Ltd.
InventorsYinting Wang, Biying Hu, Xi Zhang
Life of this patent
Estimating the term…
Abstract
An image processing method includes obtaining N frames of images, determining one of the N frames of images as a reference image, where the other N−1 frames of images are to-be-processed images, obtaining N−1 frames of ghost-free images based on the N−1 frames of to-be-processed images, and performing an averaging operation on the reference image and the N−1 frames of ghost-free images, to obtain a first target image.
Claims17
An image processing method, comprising:
- photographing one frame of a first new image based on a first International Organization of Standardization (ISO) sensitivity and a first exposure time of a camera;
- increasing the first ISO sensitivity to a second ISO sensitivity;
- decreasing the first exposure time to a second exposure time, wherein a first product of the first ISO sensitivity and the first exposure time is equal to a second product of the second ISO sensitivity and the second exposure time;
- photographing N frames of images using the second ISO sensitivity and the second exposure time;
- and
- obtaining a first target image based on the N frames of the images and the first new image,
- wherein obtaining the first target image based on the N frames of the images and the first new image comprises:
- determining one of the N frames of the images as a reference image, wherein the other N−1 frames of the images are to-be-processed images;
- obtaining N−1 frames of ghost-free images based on the to-be-processed images;
- performing an averaging operation on the reference image and the N−1 frames of ghost-free images to obtain a second target image;
- performing registration on the first new image and the reference image to obtain a first registered image;
- and
- either:
- obtaining a first difference image based on the first registered image and the second target image, obtaining a first ghost weight image based on the first difference image, performing fusion on the first registered image and the second target image to obtain a first ghost-free image, and performing pixel-value weighted fusion to obtain the first target image based on the first ghost-free image;
- or
- performing luminance correction on the second target image to obtain a third target image, obtaining a second difference image based on the first registered image and the third target image, obtaining a second ghost weight image based on the second difference image, performing fusion on the first registered image and the third target image to obtain a second ghost-free image, performing pixel-value weighted fusion on the second ghost-free image and the third target image to obtain a fourth target image, and performing pyramid fusion on the fourth target image and the second target image to obtain the first target image.
13 more elements
An image processing apparatus, comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that, when executed by the processor, cause the image processing apparatus to be configured to:
- photograph one frame of a first new image based on a first International Organization of Standardization (ISO) sensitivity and a first exposure time of a camera;
- increase the first ISO sensitivity to a second ISO sensitivity;
- decrease the first exposure time to obtain a second exposure time, wherein a first product of the first ISO sensitivity and the first exposure time is equal to a second product of the second ISO sensitivity and the second exposure time;
- photograph N frames of images using the second ISO sensitivity and the second exposure time;
- and
- obtain a first target image based on the N frames of the images and the first new image at least in part by:
- determining one of the N frames of the images as a reference image, wherein the other N−1 frames of the images are to-be-processed images;
- obtaining N−1 frames of ghost-free images based on the to-be-processed images;
- performing an averaging operation on the reference image and the N−1 frames of ghost-free images to obtain a second target image;
- performing registration on the first new image and the reference image to obtain a first registered image;
- and
- either:
- obtaining a first difference image based on the first registered image and the second target image, obtaining a first ghost weight image based on the first difference image, performing fusion on the first registered image and the second target image to obtain a first ghost-free image, and performing pixel-value weighted fusion to obtain the first target image;
- or
- performing luminance correction on the second target image to obtain a third target image, obtaining a second difference image based on the first registered image and the third target image, obtaining a second ghost weight image based on the second difference image, performing fusion on the first registered image and the third target image to obtain a second ghost-free image, performing pixel-value weighted fusion on the second ghost-free image and the third target image to obtain a fourth target image, and performing pyramid fusion on the fourth target image and the second target image to obtain the first target image.
15 more elements
A terminal device, comprising:
- an image processing apparatus comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that, when executed by the processor, cause the terminal device to be configured to:
- photograph one frame of a first new image based on current International Organization of Standardization (ISO) sensitivity and current exposure time of a camera;
- reduce the current exposure time and increasing the current ISO sensitivity at a preset ratio to obtain a second exposure time and a second ISO sensitivity with a product of the current ISO sensitivity and the current exposure time unchanged;
- set the current exposure time and the current ISO sensitivity to the second exposure time and the second ISO sensitivity respectively;
- photograph N frames of a plurality of images;
- and
- obtain a first target image based on the N frames of the images and the first new image at least in part by:
- determining one of the N frames of the images as a reference image, wherein the other N−1 frames of the images are to-be-processed images;
- obtaining N−1 frames of ghost-free images based on the to-be-processed images;
- performing an averaging operation on the reference image and the N−1 frames of ghost-free images to obtain a second target image;
- performing registration on the first new image and the reference image to obtain a first registered image;
- and
- either:
- obtaining a first difference image based on the first registered image and the second target image, obtaining a first ghost weight image based on the first difference image, performing fusion on the first registered image and the second target image to obtain a first ghost-free image, and performing pixel-value weighted fusion to obtain the first target image;
- or
- performing luminance correction on the second target image to obtain a third target image, obtaining a second difference image based on the first registered image and the third target image, obtaining a second ghost weight image based on the second difference image, performing fusion on the first registered image and the third target image to obtain a second ghost-free image, performing pixel-value weighted fusion on the second ghost-free image and the third target image to obtain a fourth target image, and performing pyramid fusion on the fourth target image and the second target image to obtain the first target image.
16 more elements
Dependencies are inferred from the claim text.