IP Library Granted Patent US 12,596,077
Granted Patent B2
US 12,596,077 · App. 18/887,531 · Granted Apr 7, 2026

Passive camera lens smudge detection

Inventors: Xiaochun Liu (San Diego, CA); Yingjun Bai (San Jose, CA)
Assignee: Apple Inc.
G01N21/8851G06T7/0002G06T7/11G01N2021/8887G06T2207/10004
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 12,596,077
App. No.
18/887,531
Granted
Apr 7, 2026
Kind
B2
Abstract

This disclosure relates to devices, systems, and methods for passively determining the probability of the presence of a camera lens smudge on an image capture device, e.g., based on an analysis of images captured by the image capture device (and without the need for any reference images). The techniques include: obtaining an image using an image capture device and identifying and analyzing (e.g., in the form of gradient analysis) the regions of interest (ROIs) in high intensity areas of the image. A probability of the presence of a smudge on the image capture devices may then be determined and outputted to a display using any desired modality. According to some aspects, machine learning (ML)-based models may be used in the performance of the passive camera lens smudge detection techniques disclosed herein. According to other aspects, temporal consistency and/or sensor consistency constraints may also be applied to the smudge detection processes.

Claims (44)

1 . A device, comprising:

a display;

an image capture device; and

one or more processors operatively coupled to memory, wherein the one or more processors are configured to execute instructions causing the one or more processors to:

obtain an image using the image capture device;

identify a region of interest (ROI) in a high intensity area of the image;

determine an image gradient of the ROI is greater than a threshold value;

extract a plurality of sub-ROIs for the ROI;

determine a probability of a smudge on a lens of the image capture device; and

output the probability of the smudge on the lens of the image capture device to the display.

2 . The device of claim 1 , wherein the probability of the smudge on the image capture device is determined by a contrast measure for each of the plurality of sub-ROIs.

3 . The device of claim 1 , wherein the probability of the smudge on the image capture device is determined using convolutional blocks of a neural network for each of the plurality of sub-ROIs.

4 . The device of claim 1 , further comprising: obtaining a second image using the image capture device, wherein the probability of the smudge on the image capture device is further determined based, at least in part, on an analysis of high intensity areas of the second image.

5 . The device of claim 1 , wherein the probability is output in the form of a message on the display.

6 . The device of claim 1 , wherein the probability is output in the form of a status bar on the display.

7 . An image processing method, comprising:

obtaining an image using an image capture device;

identifying a region of interest (ROI) in a high intensity area of the image;

determining an image gradient of the ROI is greater than a threshold value;

extracting a plurality of sub-ROIs for the ROI;

determining a probability of a smudge on a lens of the image capture device; and

outputting the probability of the smudge on the lens of the image capture device to a display.

8 . The method of claim 7 , wherein the probability of the smudge on the image capture device is determined by a contrast measure for each of the plurality of sub-ROIs.

9 . The method of claim 7 , wherein the probability of the smudge on the image capture device is determined using convolutional blocks of a neural network for each of the plurality of sub-ROIs.

10 . The method of claim 7 , further comprising: obtaining a second image using the image capture device, wherein the probability of the smudge on the image capture device is further determined based, at least in part, on an analysis of high intensity areas of the second image.

11 . The method of claim 7 , wherein the probability is output in the form of a message on the display.

12 . The method of claim 7 , wherein the probability is output in the form of a status bar on the display.

13 . A system comprising:

an image capture device;

a display; and

a smudge detection module, wherein the smudge detection module is configured to:

obtain an image using the image capture device;

identify a region of interest (ROI) in a high intensity area of the image;

determine an image gradient of the ROI is greater than a threshold value;

extract a plurality of sub-ROIs for the ROI;

determine a probability of a smudge a lens of on the image capture device; and

output the probability of the smudge on the lens of the image capture device to the display.

14 . The system of claim 13 , wherein a neural engine comprises the smudge detection module.

15 . The system of claim 13 , wherein the probability of the smudge on the image capture device is determined by a contrast measure for each of the plurality of sub-ROIs.

16 . The system of claim 13 , wherein the probability of the smudge on the image capture device is determined using convolutional blocks of a neural network for each of the plurality of sub-ROIs.

17 . The system of claim 13 , further comprising: obtaining a second image using the image capture device, wherein the probability of the smudge on the image capture device is determined using the second image.

18 . The system of claim 13 , wherein the probability is output in the form of a message on the display.

19 . The system of claim 13 , wherein the probability is output in the form of a status bar on the display.

20 . The system of claim 13 , wherein the smudge detection module is operatively connected to an image signal processing (ISP) pipeline.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 17, 2024
From: LIU, XIAOCHUN; BAI, YINGJUN
To: APPLE INC.
Reel/Frame 068611/0590 →
Continuity (2)
Provisional Application 63586723 · Sep 29, 2023
Related Publication 20250110059A1 · Apr 3, 2025
References Cited (7)
US 11194324B2 · Kida · 2021 [cited by examiner]
US 11328428B2 · Kahlbaum · 2022 [cited by examiner]
US 11508052B2 · Gardiner · 2022 [cited by examiner]
US 11727664B2 · Wang · 2023 [cited by examiner]
US 12205340B2 · Schmitt · 2025 [cited by examiner]
US 12319246B2 · Alismail · 2025 [cited by examiner]
US 20190106085A1 · Bacchus · 2019 [cited by examiner]