IP Library Granted Patent US 11,244,429
Granted Patent B2
US 11,244,429 · App. 16/875,656 · Granted Feb 8, 2022

Method of providing a sharpness measure for an image

Inventors: Florin Nanu (Bucharest, RO); Adrian Bobei (Bucharest, RO); Alexandru Malaescu (Bucharest, RO); Cosmin Clapon (Bucharest, RO)
Assignee: FotoNation Limited
G06T5/003G06K9/00228G06K9/44G06T7/0002G06T7/13G06T7/42H04N5/23212H04N5/23219H04N5/232123G06K2009/4666G06T2207/30168
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,244,429
App. No.
16/875,656
Granted
Feb 8, 2022
Kind
B2
Abstract

A method of providing a sharpness measure for an image comprises detecting an object region within an image; obtaining meta-data for the image; and scaling the chosen object region to a fixed size. A gradient map is calculated for the scaled object region and compared against a threshold determined for the image to provide a filtered gradient map of values exceeding the threshold. The threshold for the image is a function of at least: a contrast level for the detected object region, a distance to the subject and an ISO/gain used for image acquisition. A sharpness measure for the object region is determined as a function of the filtered gradient map values, the sharpness measure being proportional to the filtered gradient map values.

Claims (63)

1. A method comprising:

detecting an object region within an image;

obtaining meta-data for the image;

scaling the object region to obtain a scaled region;

determining a threshold for the scaled region based at least in part on the meta-data;

calculating map values for the scaled region;

comparing the map values to the threshold;

obtaining, based at least in part on the comparing, filtered map values;

calculating a noise measure for the object region by:

sorting mean sharpness values in order of magnitude to obtain sorted sharpness values;

selecting a sub-range of sharpness values from the sorted sharpness values; and

calculating the noise measure for the object region as a function of the sub-range of sharpness values;

determining a sharpness measure for the object region based at least in part on the filtered map values and the noise measure; and

correcting focus of the object region based at least in part on the sharpness measure.

2. A method according to claim 1 , wherein the map values comprise gradient map values.

3. A method according to claim 1 , wherein the sharpness measure is proportional to at least one of the filtered map values.

4. A method according to claim 1 , wherein the threshold for the image is a function of one or more of: a contrast level for the object region, a distance to a subject in the object region, or an International Organization for Standardization (ISO) value used for image acquisition.

5. A method according to claim 1 , wherein scaling the object region comprises scaling the object region to a fixed size.

6. A method according to claim 1 , wherein the object region comprises a face.

7. A method according to claim 1 , wherein calculating the noise measure further comprises:

splitting the filtered map values into an array; and

determining the mean sharpness values for each cell of the array.

8. A method according to claim 1 , further comprising extracting meta-data from the image to determine one or more parameters for the threshold.

9. A non-transitory computer program product comprising computer readable instructions, which when executed in an image processing device are arranged to perform operations comprising:

detecting an object region within an image;

obtaining meta-data for the image;

scaling the object region to obtain a scaled region;

determining a threshold for the scaled region based at least in part on the meta- data;

calculating map values for the scaled region;

comparing the map values to the threshold;

obtaining, based at least in part on the comparing, filtered map values;

calculating a noise measure for the object region by:

sorting mean sharpness values in order of magnitude to obtain sorted sharpness values;

selecting a sub-range of sharpness values from the sorted sharpness values; and

calculating the noise measure for the object region as a function of the sub-range of sharpness values;

determining a sharpness measure for the object region based at least in part on the filtered map values and the noise measure; and

correcting focus of the object region based at least in part on the sharpness measure.

10. A non-transitory computer program product according to claim 9 , wherein the map values comprise gradient map values.

11. A non-transitory computer program product according to claim 9 , wherein the sharpness measure is proportional to at least one of the filtered map values.

12. A non-transitory computer program product according to claim 9 , wherein the threshold for the image is a function of one or more of: a contrast level for the object region, a distance to a subject in the object region, or an International Organization for Standardization (ISO) value used for image acquisition.

13. A non-transitory computer program product according to claim 9 , wherein scaling the object region comprises scaling the object region to a fixed size.

14. A non-transitory computer program product according to claim 9 , wherein the object region comprises a face.

15. An image processing device comprising:

a processing unit; and

a computer program product storing computer readable instructions that, when executed by the processing unit, configures the image processing device to perform operations comprising:

detecting an object region within an image;

obtaining meta-data for the image;

scaling the object region to obtain a scaled region;

determining a threshold for the scaled region based at least in part on the meta-data;

calculating map values for the scaled region;

comparing the map values to the threshold;

obtaining, based at least in part on the comparing, filtered map values;

calculating a noise measure for the object region by:

sorting mean sharpness values in order of magnitude to obtain sorted sharpness values;

selecting a sub-range of sharpness values from the sorted sharpness values; and

calculating the noise measure for the object region as a function of the sub-range of sharpness values;

determining a sharpness measure for the object region based at least in part on the filtered map values and the noise measure; and

correcting focus of the object region based at least in part on the sharpness measure.

16. An image processing device according to claim 15 , wherein the map values comprise gradient map values.

17. An image processing device according to claim 15 , wherein the sharpness measure is proportional to at least one of the filtered map values.

18. An image processing device according to claim 15 , wherein the threshold for the image is a function of one or more of: a contrast level for the object region, a distance to a subject in the object region, or an International Organization for Standardization (ISO) value used for image acquisition.

19. An image processing device according to claim 15 , wherein scaling the object region comprises scaling the object region to a fixed size.

20. An image processing device according to claim 15 , wherein the object region comprises a face.

Assignments (6)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 12, 2025
From: TOBII TECHNOLOGIES LTD
To: ADEIA MEDIA HOLDINGS LLC
Reel/Frame 071572/0855 →
CONVERSION Recorded Jun 12, 2025
From: ADEIA MEDIA HOLDINGS LLC
To: ADEIA MEDIA HOLDINGS INC.
Reel/Frame 071577/0875 →
SECURITY INTEREST Recorded May 28, 2025
From: ADEIA INC. (F/K/A XPERI HOLDING CORPORATION); ADEIA HOLDINGS INC.; ADEIA MEDIA HOLDINGS INC.; ADEIA IMAGING LLC; ADEIA MEDIA LLC; ADEIA MEDIA SOLUTIONS INC.; ADEIA SEMICONDUCTOR BONDING TECHNOLOGIES INC.; ADEIA TECHNOLOGIES INC.; ADEIA GUIDES INC.; ADEIA SOLUTIONS LLC; ADEIA SEMICONDUCTOR ADVANCED TECHNOLOGIES INC.; ADEIA SEMICONDUCTOR SOLUTIONS LLC; ADEIA SEMICONDUCTOR INTELLECTUAL PROPERTY LLC; ADEIA SEMICONDUCTOR TECHNOLOGIES LLC; ADEIA PUBLISHING INC.
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 071454/0343 →
CHANGE OF NAME Recorded Mar 31, 2025
From: FOTONATION LIMITED
To: TOBII TECHNOLOGIES LIMITED
Reel/Frame 070682/0207 →
CHANGE OF NAME Recorded Feb 17, 2025
From: FOTONATION LIMITED
To: TOBII TECHNOLOGY LIMITED
Reel/Frame 070238/0774 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 15, 2020
From: NANU, FLORIN; BOBEI, ADRIAN; MALAESCU, ALEXANDRU; CLAPON, COSMIN
To: FOTONATION LIMITED
Reel/Frame 052676/0254 →