IP Library › Granted Patent US 12,541,826
Granted Patent B2
US 12,541,826 · App. 18/490,505 · Granted Feb 3, 2026

Texture-preserving halo suppression for imaging systems

Inventors: Gunawath Dilshan Godaliyadda (Allen, TX); Tyler Luu (Richardson, TX); John W. Glotzbach (Allen, TX); Hamid R. Sheikh (Allen, TX)
Assignee: Samsung Electronics Co., Ltd.
G06T5/75
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,541,826
App. No.
18/490,505
Granted
Feb 3, 2026
Kind
B2
Abstract

A method includes obtaining, using at least one processing device of an electronic device, an input image containing blur. The method also includes generating, using the at least one processing device, an edge enhancement mask and a gain mask based on the input image. The method further includes generating, using the at least one processing device, a halo-suppressed edge mask based on the edge enhancement mask and the gain mask. In addition, the method includes generating, using the at least one processing device, a sharpened image based on the input image and the halo-suppressed edge mask.

Claims (74)

1 . A method comprising:

obtaining, using at least one processing device of an electronic device, an input image containing blur;

generating, using the at least one processing device, an edge enhancement mask and a non-binary gain mask based on the input image, wherein the non-binary gain mask contains pixel-wise gain operator values including at least one of zero or one and at least one value between zero and one;

generating, using the at least one processing device, a halo-suppressed edge mask based on the edge enhancement mask and the non-binary gain mask; and

generating, using the at least one processing device, a sharpened image based on the input image and the halo-suppressed edge mask;

wherein generating the non-binary gain mask comprises:

generating a non-binary initial edge mask based on a gradient computation performed using the input image;

generating a non-binary refined edge mask based on a first morphological operation performed using the non-binary initial edge mask; and

generating a non-binary thickened edge mask based on a second morphological operation performed using the non-binary initial edge mask, and

wherein each of the first morphological operation and the second morphological operation comprises a transform that replaces a value for at least one pixel with one of a minimum pixel value or a maximum pixel value within a window of pixels surrounding the at least one pixel.

2 . The method of claim 1 , wherein generating the non-binary gain mask further comprises:

combining the non-binary refined edge mask and the non-binary thickened edge mask to generate a non-binary gain suppression mask;

generating a non-binary gain enhancement mask based on the non-binary gain suppression mask; and

generating the non-binary gain mask based on the non-binary gain enhancement mask and the non-binary gain suppression mask.

3 . The method of claim 1 , wherein:

the first morphological operation comprises a first dilation operation followed by an erosion operation; and

the second morphological operation comprises a second dilation operation.

4 . The method of claim 2 , wherein generating the non-binary gain mask further comprises:

modulating the non-binary gain suppression mask based on edges in the input image, wherein first multiplicative values for modulating the non-binary gain suppression mask are based on at least one of: edge strengths, edge coherences, and edge orientations; and

modulating the non-binary gain enhancement mask based on the edges in the input image, wherein second multiplicative values for modulating the non-binary gain enhancement mask are based on negative enhancements or positive enhancements associated with the edges; and

wherein the non-binary gain mask is based on the modulated gain enhancement mask and the modulated gain suppression mask.

5 . The method of claim 1 , wherein generating the edge enhancement mask comprises generating the edge enhancement mask using unsharp-masking (USM) of the input image.

6 . The method of claim 1 , wherein generating the halo-suppressed edge mask comprises performing a pixel-wise multiplication of the edge enhancement mask and the non-binary gain mask.

7 . The method of claim 1 , wherein generating the sharpened image comprises adding the halo-suppressed edge mask to the input image in order to generate the sharpened image.

8 . An electronic device comprising:

at least one processing device configured to:

obtain an input image containing blur;

generate an edge enhancement mask and a non-binary gain mask based on the input image, wherein the non-binary gain mask contains pixel-wise gain operator values including at least one of zero or one and at least one value between zero and one;

generate a halo-suppressed edge mask based on the edge enhancement mask and the non-binary gain mask; and

generate a sharpened image based on the input image and the halo-suppressed edge mask;

wherein, to generate the non-binary gain mask, the at least one processing device is configured to:

generate a non-binary initial edge mask based on a gradient computation performed using the input image;

generate a non-binary refined edge mask based on a first morphological operation performed using the non-binary initial edge mask; and

generate a non-binary thickened edge mask based on a second morphological operation performed using the non-binary initial edge mask, and

wherein each of the first morphological operation and the second morphological operation comprises a transform that replaces a value for at least one pixel with one of a minimum pixel value or a maximum pixel value within a window of pixels surrounding the at least one pixel.

9 . The electronic device of claim 8 , wherein, to generate the non-binary gain mask, the at least one processing device is further configured to:

combine the non-binary refined edge mask and the non-binary thickened edge mask to generate a non-binary gain suppression mask;

generate a non-binary gain enhancement mask based on the non-binary gain suppression mask; and

generate the non-binary gain mask based on the non-binary gain enhancement mask and the non-binary gain suppression mask.

10 . The electronic device of claim 8 , wherein:

the first morphological operation comprises a first dilation operation followed by an erosion operation; and

the second morphological operation comprises a second dilation operation.

11 . The electronic device of claim 9 , wherein, to generate the non-binary gain mask, the at least one processing device is further configured to:

modulate the non-binary gain suppression mask based on edges in the input image, wherein first multiplicative values for modulating the non-binary gain suppression mask are based on at least one of: edge strengths, edge coherences, and edge orientations; and

modulate the non-binary gain enhancement mask based on the edges in the input image, wherein second multiplicative values for modulating the non-binary gain enhancement mask are based on negative enhancements or positive enhancements associated with the edges; and

wherein the non-binary gain mask is based on the modulated gain enhancement mask and the modulated gain suppression mask.

12 . The electronic device of claim 8 , wherein, to generate the edge enhancement mask, the at least one processing device is configured to use unsharp-masking (USM) of the input image.

13 . The electronic device of claim 8 , wherein, to generate the halo-suppressed edge mask, the at least one processing device is configured to perform a pixel-wise multiplication of the edge enhancement mask and the non-binary gain mask.

14 . The electronic device of claim 8 , wherein, to generate the sharpened image, the at least one processing device is configured to add the halo-suppressed edge mask to the input image.

15 . A non-transitory machine readable medium containing instructions that when executed cause at least one processor of an electronic device to:

obtain an input image containing blur;

generate an edge enhancement mask and a non-binary gain mask based on the input image, wherein the non-binary gain mask contains pixel-wise gain operator values including at least one of zero or one and at least one value between zero and one;

generate a halo-suppressed edge mask based on the edge enhancement mask and the non-binary gain mask; and

generate a sharpened image based on the input image and the halo-suppressed edge mask;

wherein the instructions that when executed cause the at least one processor to generate the non-binary gain mask comprise instructions that when executed cause the at least one processor to:

generate a non-binary initial edge mask based on a gradient computation performed using the input image;

generate a non-binary refined edge mask based on a first morphological operation performed using the non-binary initial edge mask; and

generate a non-binary thickened edge mask based on a second morphological operation performed using the non-binary initial edge mask, and

wherein each of the first morphological operation and the second morphological operation comprises a transform that replaces a value for at least one pixel with one of a minimum pixel value or a maximum pixel value within a window of pixels surrounding the at least one pixel.

16 . The non-transitory machine readable medium of claim 15 , wherein the instructions that when executed cause the at least one processor to generate the non-binary gain mask further comprise instructions that when executed cause the at least one processor to:

combine the non-binary refined edge mask and the non-binary thickened edge mask to generate a non-binary gain suppression mask;

generate a non-binary gain enhancement mask based on the non-binary gain suppression mask; and

generate the non-binary gain mask based on the non-binary gain enhancement mask and the non-binary gain suppression mask.

17 . The non-transitory machine readable medium of claim 15 , wherein:

the first morphological operation comprises a first dilation operation followed by an erosion operation; and

the second morphological operation comprises a second dilation operation.

18 . The non-transitory machine readable medium of claim 16 , wherein the instructions that when executed cause the at least one processor to generate the non-binary gain mask further comprise instructions that when executed cause the at least one processor to:

modulate the non-binary gain suppression mask based on edges in the input image, wherein first multiplicative values for modulating the non-binary gain suppression mask are based on at least one of: edge strengths, edge coherences, and edge orientations; and

modulate the non-binary gain enhancement mask based on the edges in the input image, wherein second multiplicative values for modulating the non-binary gain enhancement mask are based on negative enhancements or positive enhancements associated with the edges; and

wherein the non-binary gain mask is based on the modulated gain enhancement mask and the modulated gain suppression mask.

19 . The non-transitory machine readable medium of claim 15 , wherein the instructions that when executed cause the at least one processor to generate the halo-suppressed edge mask comprise:

instructions that when executed cause the at least one processor to perform a pixel-wise multiplication of the edge enhancement mask and the non-binary gain mask.

20 . The non-transitory machine readable medium of claim 15 , wherein the instructions that when executed cause the at least one processor to generate the sharpened image comprise:

instructions that when executed cause the at least one processor to add the halo-suppressed edge mask to the input image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 19, 2023
From: GODALIYADDA, GUNAWATH DILSHAN; LUU, TYLER; GLOTZBACH, JOHN W.; SHEIKH, HAMID R.
To: SAMSUNG ELECTRONICS CO., LTD
Reel/Frame 065283/0550 →
Continuity (2)
Provisional Application 63528499 · Jul 24, 2023
Related Publication 20250037250A1 · Jan 30, 2025
References Cited (24)
US 6323855B1 · Hamilton, Jr. et al. · 2001 [cited by applicant]
US 9262816B2 · Bak · 2016 [cited by applicant]
US 9779491B2 · Tezaur et al. · 2017 [cited by applicant]
US 11582464B2 · Turbell et al. · 2023 [cited by applicant]
US 20040201722A1 · Gomi · 2004 [cited by examiner]
US 20070175998A1 · Lev · 2007 [cited by examiner]
US 20140085507A1 · Pillman et al. · 2014 [cited by applicant]
US 20170262966A1 · Oniki et al. · 2017 [cited by applicant]
US 20190028640A1 · Kanda et al. · 2019 [cited by applicant]
US 20190304073A1 · McElvain · 2019 [cited by examiner]
US 20210374925A1 · Finlayson · 2021 [cited by examiner]
US 20220005157A1 · Shu et al. · 2022 [cited by applicant]
US 20220044364A1 · Jee et al. · 2022 [cited by applicant]
US 20220207658A1 · Tong · 2022 [cited by examiner]
CN 111161136A · 2020 [cited by applicant]
CN 115797238A · 2023 [cited by applicant]
WO 2020191475A1 · 2020 [cited by applicant]
Wikipedia, “Structure tensor,” Mar. 2023, 33 pages. [cited by applicant]
Zhou et al., “Gradient-based Feature Extraction From Raw Bayer Pattern Images,” IEEE Transactions on Image Processing, vol. 30, May 2021, 12 pages. [cited by applicant]
Lowe, “Lecture 6: Features and Image Matching,” University of Washington, CSE Vision Faculty, 2004, 61 pages. [cited by applicant]
Madislav, “Anisotropic image segmentation by a gradient structure tensor,” 2021, 12 pages. [cited by applicant]
International Search Report and Written Opinion of the International Searching Authority dated Aug. 5, 2024 in connection with International Patent Application No. PCT/KR2024/005784, 8 pages. [cited by applicant]
Supplementary European Search Report dated Dec. 23, 2025 in connection with European Patent Application No. 24845737.6, 8 pages. [cited by applicant]
Ngo et al., “Nonlinear Unsharp Masking Algorithm,” Conference: 2020 International Conference on Electronics, Information, and Communication (ICEIC), Jan. 2020, 6 pages. [cited by applicant]