# US 2017/0257557 A1 · Irregular-region based automatic image correction

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

- Number: US 2017/0257557 A1
- Document ID: US20170257557A1
- Status: Published application
- Kind: A1
- Application number: 15/059,097
- Filed: 2016-03-02
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Matthew Trusten; Narayana Karthik Sadanandam Ravirala; Adarsh Abhay Golikeri
- Web page: https://patentgrep.com/patent/US20170257557A1

## CPC

- H04N 23/62: Control of parameters via user interfaces
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- H04N 23/61: based on recognised objects
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/635: {Region indicators; Field of view indicators}
- H04N 23/64: {Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image}
- H04N 23/675: {comprising setting of focusing regions}
- G06T 2207/10148: Varying focus
- G06T 2207/20104: Interactive definition of region of interest [ROI]
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Methods and apparatuses for irregular-region based automatic image correction are disclosed. In one aspect, the method is operable by an imaging device including a touch sensor, for performing image correction. The method can include obtaining a first image of a scene and receiving, via the touch sensor, a touch input indicating a selected region of the first image and having a shape that corresponds to a shape of the selected region. The method can also include determining statistics indicating visual properties for the selected region, adjusting at least one image correction parameter of the imaging device based on the determined statistics and the shape of the touch input, and obtaining a second image of the scene based on the adjusted at least one image correction parameter of the imaging device.

## Claims

### Claim 1

A method, operable by an imaging device including a touch sensor, for performing image correction, the method comprising:
obtaining a first image of a scene;
receiving, via the touch sensor, a user-drawn input indicating a selected region of the first image and having a shape that corresponds to a shape of the selected region;
determining statistics indicating visual properties for the selected region;
adjusting at least one image correction parameter of the imaging device based on the determined statistics and the shape of the user-drawn input; and
obtaining a second image of the scene based on the adjusted at least one image correction parameter of the imaging device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one image correction parameter of the imaging device comprises one or more of: a position of a lens, a size of an aperture, a shutter speed, and a white balance compensation parameter.

### Claim 3 (depends on 1)

The method of claim 1, wherein the shape of the user-drawn input is one of an open curve and a closed loop, the method further comprising defining the selected region as an area of the first image corresponding to the user-drawn input based on the shape of the user-drawn input.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
partitioning the first image into a grid of blocks;
determining the statistics for each block of the grid; and
weighting the statistics for blocks of the grid corresponding to the selected region higher than blocks of the grid that do not correspond to the selected region.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
determining that the shape of the user-drawn input comprises an open curve; and
weighting the statistics for blocks of the grid that overlap the open curve higher than blocks of the grid that do not overlap the selected region.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
determining that the shape of the user-drawn input comprises a closed loop; and
weighting the statistics for blocks of the grid that are enclosed by the closed loop higher than blocks of the grid that are not enclosed by the selected region.

### Claim 7 (depends on 1)

The method of claim 1, wherein the at least one image correction parameter of the imaging device comprises a position of a lens, the method further comprising:
determining a plurality of positions of the lens respectively corresponding to different focal depths of the selected region; and
receiving a third image at each of the determined positions of the lens.

### Claim 8 (depends on 1)

The method of claim 1, wherein the at least one image correction parameter of the imaging device comprises a position of a lens, the method further comprising:
detecting at least one object within the selected region;
determining the position of the lens corresponding to a focal depth of the object; and
adjusting the position of the lens based on the determined position of the lens.

### Claim 9

An imaging device, comprising:
an image sensor;
a display;
a touch sensor;
at least one processor; and
a memory storing computer-executable instructions for controlling the at least one processor to:
obtain a first image of a scene from the image sensor;
control the display to display the first image;
receive, from the touch sensor, a user-drawn input indicating a selected region of the first image and having a shape that corresponds to a shape of the selected region;
determine statistics indicating visual properties for the selected region;
adjust at least one image correction parameter of the imaging device based on the determined statistics and the shape of the user-drawn input; and
obtain a second image of the scene based on the adjusted at least one image correction parameter of the imaging device.

### Claim 10 (depends on 9)

The imaging device of claim 9, wherein the at least one image correction parameter of the imaging device comprises one or more of: a position of a lens, a size of an aperture, a shutter speed, and a white balance compensation parameter.

### Claim 11 (depends on 9)

The imaging device of claim 9, wherein the shape of the user-drawn input is one of an open curve and a closed loop, the computer-executable instructions further for controlling the at least one processor to define the selected region as an area of the first image corresponding to the user-drawn input based on the shape of the user-drawn input.

### Claim 12 (depends on 9)

The imaging device of claim 9, wherein the computer-executable instructions are further for controlling the at least one processor to:
partition the first image into a grid of blocks;
determine the statistics for each block of the grid; and
weight the statistics for blocks of the grid corresponding to the selected region higher than blocks of the grid that do not correspond to the selected region.

### Claim 13 (depends on 12)

The imaging device of claim 12, wherein the computer-executable instructions are further for controlling the at least one processor to:
determine that the shape of the user-drawn input comprises an open curve; and
weigh the statistics for blocks of the grid that overlap the open curve higher than blocks of the grid that do not overlap the selected region.

### Claim 14 (depends on 12)

The imaging device of claim 12, wherein the computer-executable instructions are further for controlling the at least one processor to:
determine that the shape of the user-drawn input comprises a closed loop; and
weight the statistics for blocks of the grid that are enclosed by the closed loop higher than blocks of the grid that are not enclosed by the selected region.

### Claim 15 (depends on 9)

The imaging device of claim 9, wherein the at least one image correction parameter of the imaging device comprises a position of a lens, the computer-executable instructions being further for controlling the at least one processor to:
determine a plurality of positions of the lens respectively corresponding to different focal depths of the selected region; and
receive a third image at each of the determined positions of the lens.

### Claim 16 (depends on 9)

The imaging device of claim 9, wherein the at least one image correction parameter of the imaging device comprises a position of a lens, the computer-executable instructions being further for controlling the at least one processor to:
detect at least one object within the selected region;
determine the position of the lens corresponding to a focal depth of the object; and
adjust the position of the lens based on the determined position of the lens.

### Claim 17

An apparatus, comprising:
means for obtaining a first image of a scene;
means for receiving a user-drawn input indicating a selected region of the first image and having a shape that corresponds to a shape of the selected region;
means for determining statistics indicating visual properties for the selected region;
means for adjusting at least one image correction parameter of an imaging device based on the determined statistics and the shape of the user-drawn input; and
means for obtaining a second image of the scene based on the adjusted at least one image correction parameter of the imaging device.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the at least one image correction parameter of the imaging device comprises one or more of: a position of a lens, a size of an aperture, a shutter speed, and a white balance compensation parameter.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the shape of the user-drawn input is one of an open curve and a closed loop, the apparatus further comprising means for defining the selected region as an area of the first image corresponding to the user-drawn input based on the shape of the user-drawn input.

### Claim 20 (depends on 17)

The apparatus of claim 17, further comprising:
means for partitioning the first image into a grid of blocks;
means for determining the statistics for each block of the grid; and
means for weighting the statistics for blocks of the grid corresponding to the selected region higher than blocks of the grid that do not correspond to the selected region.

### Claim 21 (depends on 20)

The apparatus of claim 20, further comprising:
means for determining that the shape of the user-drawn input comprises an open curve; and
means for weighting the statistics for blocks of the grid that overlap the open curve higher than blocks of the grid that do not overlap the selected region.

### Claim 22 (depends on 20)

The apparatus of claim 20, further comprising:
means for determining that the shape of the user-drawn input comprises a closed loop; and
means for weighting the statistics for blocks of the grid that are enclosed by the closed loop higher than blocks of the grid that are not enclosed by the selected region.

### Claim 23 (depends on 17)

The apparatus of claim 17, wherein the at least one image correction parameter of the imaging device comprises a position of a lens, the apparatus further comprising:
means for determining a plurality of positions of the lens respectively corresponding to different focal depths of the selected region; and
means for receiving a third image at each of the determined positions of the lens.

### Claim 24 (depends on 17)

The apparatus of claim 17, wherein the at least one image correction parameter of the imaging device comprises a position of a lens, the apparatus further comprising:
means for detecting at least one object within the selected region;
means for determining the position of the lens corresponding to a focal depth of the object; and
means for adjusting the position of the lens based on the determined position of the lens.

### Claim 25

A non-transitory computer readable storage medium having stored thereon instructions that, when executed, cause a processor of a device to:
obtain a first image of a scene;
receive, via a touch sensor, a user-drawn input indicating a selected region of the first image and having a shape that corresponds to a shape of the selected region;
determine statistics indicating visual properties for the selected region;
adjust at least one image correction parameter of an imaging device based on the determined statistics and the shape of the user-drawn input; and
obtain a second image of the scene based on the adjusted at least one image correction parameter of the imaging device.

### Claim 26 (depends on 25)

The non-transitory computer readable storage medium of claim 25, wherein the at least one image correction parameter of the imaging device comprises one or more of: a position of a lens, a size of an aperture, a shutter speed, and a white balance compensation parameter.

### Claim 27 (depends on 25)

The non-transitory computer readable storage medium of claim 25, wherein the shape of the user-drawn input is one of an open curve and a closed loop, the non-transitory computer readable storage medium further having stored thereon instructions that, when executed, cause the processor to define the selected region as an area of the first image corresponding to the user-drawn input based on the shape of the user-drawn input.

### Claim 28 (depends on 25)

The non-transitory computer readable storage medium of claim 25, further having stored thereon instructions that, when executed, cause the processor to:
partition the first image into a grid of blocks;
determine the statistics for each block of the grid; and
weight the statistics for blocks of the grid corresponding to the selected region higher than blocks of the grid that do not correspond to the selected region.

### Claim 29 (depends on 28)

The non-transitory computer readable storage medium of claim 28, further having stored thereon instructions that, when executed, cause the processor to:
determine that the shape of the user-drawn input comprises an open curve; and
weight the statistics for blocks of the grid that overlap the open curve higher than blocks of the grid that do not overlap the selected region.

### Claim 30 (depends on 28)

The non-transitory computer readable storage medium of claim 28, further having stored thereon instructions that, when executed, cause the processor to:
determine that the shape of the user-drawn input comprises a closed loop; and
weight the statistics for blocks of the grid that are enclosed by the closed loop higher than blocks of the grid that are not enclosed by the selected region.
