# US 2010/0165122 A1 · Method of merging images and relative method of generating an output image of enhanced quality

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0165122 A1
- Document ID: US20100165122A1
- Status: Published application
- Kind: A1
- Application number: 12/319,001
- Filed: 2008-12-31
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: STMicroelectronics S.r.l.
- Inventors: Alfio Castorina; Giuseppe Spampinato; Alessandro Capra; Arcangelo Ranieri Bruna
- Web page: https://patentgrep.com/patent/US20100165122A1

## CPC

- H04N 23/68: for stable pick-up of the scene, e.g. compensating for camera body vibrations
- G06T 5/20: using local operators
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/70: Denoising; Smoothing
- G06T 5/73: Deblurring; Sharpening
- H04N 23/84: for processing colour signals
- H04N 25/134: {based on three different wavelength filter elements}
- G06T 2207/10024: Color image
- G06T 2207/20182: Noise reduction or smoothing in the temporal domain; Spatio-temporal filtering
- G06T 2207/20201: Motion blur correction
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method of processing and device configure to process digital images to enhance image quality and correct motion blur. A number N of images of a scene are captured with an exposure time T. An order of sharpness of the images is determined and the sharpest image is used as a reference image for generating an output image.

## Claims

### Claim 1

A method of merging N images of a same scene into a single output image in an image processing system, the method comprising:
determining an order of sharpness among the N images;
determining vertical and horizontal offsets with respect to a sharpest image in the N images for other images in the N images and generating corresponding offset-free images;
generating pixels of an intermediate image by combining corresponding pixels of the sharpest image and the offset-free images; and
filtering noise from the intermediate image to generate the output image.

### Claim 2 (depends on 1)

The method of claim 1 wherein generating pixels of the intermediate image comprises computing a weighted average by assigning larger weights for sharper images and smaller weights for less sharp images.

### Claim 3 (depends on 1)

The method of claim 1 wherein generating pixels of the intermediate image comprises:
calculating a standard deviation of noise by processing pixels of a set of the N images;
for each pixel of the offset-free images, calculating a respective weight in function of a standard deviation and in function of an absolute value of a difference between an intensity of the pixel and of a respective pixel of the sharpest image; and
generating each pixel of the intermediate image as a weighted average with the weights of the corresponding pixels of the offset-free images.

### Claim 4 (depends on 3)

The method of claim 3 wherein the set of the N images comprises each of the N images.

### Claim 5 (depends on 1)

The method of claim 1 wherein generating pixels of the intermediate image comprises: performing temporal noise reduction iteratively applied in order starting from a sharpest offset-free image to a least sharp offset-free image.

### Claim 6 (depends on 1)

The method of claim 1 wherein the images are Bayer images and the offsets are calculated considering only green pixels.

### Claim 7

A method of generating an output image of enhanced quality with reduced motion blur having a level of illumination corresponding to a certain exposure time T, the method comprising:
taking a plurality of N images of a same scene over an exposure time T/N;
amplifying a luminance of each of the images up to the level of illumination;
determining an order of sharpness among the N images;
determining vertical and horizontal offsets with respect to a sharpest image in the N images for other images in the N images and generating corresponding offset-free images;
generating pixels of an intermediate image by combining corresponding pixels of the sharpest image and the offset-free images; and
filtering noise from the intermediate image to generate the output image.

### Claim 8 (depends on 7)

The method of claim 7 wherein generating pixels of the intermediate image comprises computing a weighted average by assigning larger weights for sharper images and smaller weights for less sharp images.

### Claim 9 (depends on 7)

The method of claim 7 wherein generating pixels of the intermediate image comprises:
calculating a standard deviation of noise by processing pixels of a set of the plurality of images;
for each pixel of the offset-free images, calculating a respective weight in function of a standard deviation and in function of an absolute value of a difference between an intensity of the pixel and of a respective pixel of the sharpest image; and
generating each pixel of the intermediate image as a weighted average with the weights of the corresponding pixels of the offset-free images.

### Claim 10 (depends on 7)

The method of claim 7 wherein generating pixels of the intermediate image comprises: performing temporal noise reduction iteratively applied in order starting from a sharpest offset-free image to a least sharp offset-free image.

### Claim 11 (depends on 7)

The method of claim 7 wherein the images are Bayer images and the offsets are calculated considering only green pixels.

### Claim 12

A device to process a set of images of a scene, comprising:
a sensor configured to generate the set of images of the scene;
a memory configured to store the set of images and respective characteristic curves;
a raster processing block configured to generate respective signals representing a noise rms value and a sharpness parameter for each image in the set;
an ordering block configured to assign an order to each image in the set based on the sharpness parameters;
a stabilization block configured to generate signals representing horizontal and vertical offsets for images with respect to a sharpest image in the set based on characteristic curves; and
an image processing pipeline having a noise reduction block configured to generate an output image filtered from noise, and an image generation block configured to generate an RGB image corresponding to the set of images.

### Claim 13 (depends on 12)

The device of claim 12 wherein the images are Bayer images.

### Claim 14

A system to process a set of digital images, comprising:
a sharpness block configured to determine a sharpest image in the set of images;
an image stabilization block configured to compensate for motion in the set of images using the sharpest image in the set of images as a reference; and
a noise reduction block configured to reduce noise in an output image generated from the set of images.

### Claim 15 (depends on 14)

The system of claim 14, further comprising an image sensor configured to generate the set of images.

### Claim 16 (depends on 14)

The system of claim 14 wherein the sharpness block is configured to order the set of images in decreasing order of sharpness.

### Claim 17 (depends on 14)

The system of claim 14, further comprising a curve generator configured to generate characteristic curves for images in the set of images, wherein the stabilization block is configured to compensate for the motion based on the characteristic curves.

### Claim 18 (depends on 14)

The system of claim 14, wherein the images are Bayer images.

### Claim 19

A computer readable memory medium comprising contents that cause a computing device to implement a method of merging N images into a single output image, the method including:
determining an order of sharpness among the N images;
determining vertical and horizontal offsets with respect to a sharpest image in the N images for other images in the N images and generating corresponding offset-free images;
generating pixels of an intermediate image by combining corresponding pixels of the sharpest image and the offset-free images; and
filtering noise from the intermediate image to generate the output image.

### Claim 20 (depends on 19)

The computer readable memory medium of claim 19, wherein the method further comprises:
generating the N images by taking a plurality of N images of a same scene; and
amplifying a luminance of each of the images N up to a level of illumination.
