# US 2015/0103193 A1 · Method and apparatus for long term image exposure with image stabilization on a mobile device

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

- Number: US 2015/0103193 A1
- Document ID: US20150103193A1
- Status: Published application
- Kind: A1
- Application number: 14/051,307
- Filed: 2013-10-10
- Published: 2015-04-16
- Earliest claimed: 2013-10-10
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Syed Zahir Bokari; Josh Abbott; Jim van Welzen
- Web page: https://patentgrep.com/patent/US20150103193A1

## CPC

- H04N 5/2621: {Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability}
- G01C 21/1656: {with passive imaging devices, e.g. cameras}
- G06T 7/248: {involving reference images or patches}
- G06T 7/74: {involving reference images or patches}
- H04N 5/272: Means for inserting a foreground image in a background image, i.e. inlay, outlay
- H04N 23/63: by using electronic viewfinders
- H04N 23/682: {Vibration or motion blur correction}
- G01C 11/00: Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G06T 2207/10016: Video; Image sequence
- G06T 2207/30244: Camera pose
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for displaying a live preview image on a mobile device is disclosed. The method comprises computing a history color value and confidence value for each pixel of a sensor of a camera on the device. Further, it comprises obtaining a new frame of pixels from the camera. Subsequently, for each pixel in the new frame, the method comprises: (a) determining if a pixel color is similar to a corresponding history color value and if a confidence corresponding to a pixel is above a predetermined threshold; (b) if the pixel color is not similar to the history color value and the confidence is above the predetermined threshold, displaying the history color value on the preview when displaying the new frame; and (c) if the pixel color is similar to the history color value or the confidence is below the threshold, displaying the pixel color on the preview instead.

## Claims

### Claim 1

A method for displaying a live preview image on an electronic device, said method comprising:
computing a history color value and confidence value for each pixel of a sensor of a camera on said electronic device;
obtaining a new frame of pixels from said camera; and
for each pixel in said new frame:
determining if a pixel color is similar to a corresponding history color value and if a confidence value corresponding to said pixel is above a predetermined threshold;
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is above said predetermined threshold, displaying said history color value on said live preview image when displaying said new frame; and
responsive to a determination that said pixel color is similar to said history color value or said confidence value is below said predetermined threshold, displaying said pixel color on said live preview image when displaying said new frame; and
calculating an updated history color value and an updated confidence value for said pixel.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
compensating for movement of said electronic device using a visual gyroscope to match pixels in said new frame to corresponding pixels in prior frames.

### Claim 3 (depends on 1)

The method of claim 1, wherein said calculating further comprises:
responsive to a determination that said pixel color is similar to said history color value and said confidence value is above said predetermined threshold, setting an updated history pixel color to equal a first blend of said history color value and increasing said confidence value, wherein said first blend is weighted towards said history color value.

### Claim 4 (depends on 3)

The method of claim 3, wherein said calculating further comprises:
responsive to a determination that said pixel color is similar to said history color value and said confidence value is below said predetermined threshold, setting an updated history pixel color to equal a second blend of said history color value and increasing said confidence value, wherein said second blend is weighted equally between said history color value and said pixel color.

### Claim 5 (depends on 4)

The method of claim 4, wherein said calculating further comprises:
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is above said predetermined threshold, setting an updated history pixel color to equal said history color value and decreasing said confidence value.

### Claim 6 (depends on 5)

The method of claim 5, wherein said calculating further comprises:
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is below said predetermined threshold, setting an updated history pixel color to equal a third blend of said history color value and decreasing said confidence value, wherein said third blend is weighted towards said pixel color.

### Claim 7 (depends on 1)

The method of claim 1, wherein a pixel in said new frame is determined to be similar to a corresponding history color value if a similarity threshold is met, wherein said similarity threshold is based on a Euclidian distance between two pixels.

### Claim 8

A computer-readable storage medium having stored thereon, computer executable instructions that, if executed by a computer system cause the computer system to perform a method for displaying a live preview image on a mobile device, said method comprising:
computing a history color value and confidence value for each pixel of a sensor of a camera on said mobile device;
obtaining a new frame of pixels from said camera; and
for each pixel in said new frame:
determining if a pixel color is similar to a corresponding history color value and if a confidence value corresponding to said pixel is above a predetermined threshold;
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is above said predetermined threshold, displaying said history color value on said live preview image when displaying said new frame; and
responsive to a determination that said pixel color is similar to said history color value or said confidence value is below said predetermined threshold, displaying said pixel color on said live preview image when displaying said new frame; and
calculating an updated history color value and an updated confidence value for said pixel.

### Claim 9 (depends on 8)

The computer-readable medium as described in claim 8, wherein said method further comprises:
compensating for movement of said mobile device using a visual gyroscope to match pixels in said new frame to corresponding pixels in prior frames.

### Claim 10 (depends on 8)

The computer-readable medium as described in claim 8, wherein said calculating further comprises:
responsive to a determination that said pixel color is similar to said history color value and said confidence value is above said predetermined threshold, setting an updated history pixel color to equal a first blend of said history color value and increasing said confidence value, wherein said first blend is weighted towards said history color value.

### Claim 11 (depends on 10)

The computer-readable medium as described in claim 10, wherein said calculating further comprises:
responsive to a determination that said pixel color is similar to said history color value and said confidence value is below said predetermined threshold, setting an updated history pixel color to equal a second blend of said history color value and increasing said confidence value, wherein said second blend is weighted equally between said history color value and said pixel color.

### Claim 12 (depends on 11)

The computer-readable medium as described in claim 11, wherein said calculating further comprises:
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is above said predetermined threshold, setting an updated history pixel color to equal said history color value and decreasing said confidence value.

### Claim 13 (depends on 12)

The computer-readable medium as described in claim 12, wherein said calculating further comprises:
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is below said predetermined threshold, setting an updated history pixel color to equal a third blend of said history color value and decreasing said confidence value, wherein said third blend is weighted towards said pixel color.

### Claim 14 (depends on 8)

The computer-readable medium as described in claim 8, wherein a pixel in said new frame is determined to be similar to corresponding history color value if a similarity threshold is met, wherein said similarity threshold is based on a Euclidian distance between two pixels.

### Claim 15

A system for displaying a live preview image on a mobile device, said system comprising:
a display screen;
a memory;
a camera; and
a processor configured to:
maintain a history color value and confidence value for each pixel of a camera on said mobile device;
obtain a new frame of pixels from said camera; and
for each pixel in said new frame:
determine if a pixel color is similar to a corresponding history color value and if a confidence value corresponding to said pixel is above a predetermined threshold;
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is above said predetermined threshold, display said history color value on said live preview image when said new frame is rendered; and
responsive to a determination that said pixel color is similar to said history color value or said confidence value is below said predetermined threshold, display said pixel color on said live preview image when said new frame is rendered; and
calculate an updated history color value and an updated confidence value for said pixel.

### Claim 16 (depends on 15)

The system of claim 15, wherein said processor is further configured to: compensate for movement of said mobile device using a visual gyroscope to match pixels in said new frame to corresponding pixels in prior frames.

### Claim 17 (depends on 15)

The system of claim 15, wherein in order to calculate said updated history color value and said updated confidence value, said processor is further configured to:
responsive to a determination that said pixel color is similar to said history color value and said confidence value is above said predetermined threshold, set an updated history pixel color to equal a first blend of said history color value and increasing said confidence value, wherein said first blend is weighted towards said history color value.

### Claim 18 (depends on 17)

The system of claim 17, wherein in order to calculate said updated history color value and said updated confidence value, said processor is further configured to:
responsive to a determination that said pixel color is similar to said history color value and said confidence value is below said predetermined threshold, set an updated history pixel color to equal a second blend of said history color value and increasing said confidence value, wherein said second blend is weighted equally between said history color value and said pixel color.

### Claim 19 (depends on 18)

The system of claim 18, wherein in order to calculate said updated history color value and said updated confidence value, said processor is further configured to:
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is above said predetermined threshold, set an updated history pixel color to equal said history color value and decreasing said confidence value.

### Claim 20 (depends on 19)

The system of claim 19, wherein in order to calculate said updated history color value and said updated confidence value, said processor is further configured to:
responsive to a determination that said pixel color is not similar to said history color value and said confidence value is below said predetermined threshold, set an updated history pixel color to equal a third blend of said history color value and decreasing said confidence value, wherein said third blend is weighted towards said pixel color.
