Skip to content

Add image sharpening algorithm - #584

Merged
sdebionne merged 4 commits into
boostorg:developfrom
harshitpant1:feature/image_sharpening
Sep 2, 2026
Merged

sdebionne merged 4 commits into
boostorg:developfrom
harshitpant1:feature/image_sharpening

Conversation

@harshitpant1

@harshitpant1 harshitpant1 commented Mar 18, 2021 •

Copy link
Copy Markdown
Contributor

Description

Image sharpening is a practice used frequently in fields like astronomy, printing industries and many other areas of image processing. This PR adds image sharpening functionality (using unsharp masking algorithm) for grayscale and RGB images to GIL.

References

Principles of Digital Image Processing: Fundamental Techniques by Wilhelm Burger, Mark J. Burge.

Tasklist

  • Add test case(s)
  • Ensure all CI builds pass
  • Review and approve

@harshitpant1

Copy link
Copy Markdown
Contributor Author

Note that for this to work, #577 needs to be looked into first.
Gentle reminder to @lpranam

@sdebionne
sdebionne force-pushed the feature/image_sharpening branch from 05ec89e to d7443be Compare September 2, 2026 19:21
@sdebionne sdebionne self-assigned this Sep 2, 2026
@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.28%. Comparing base (4d97acb) to head (cb90d78).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #584      +/-   ##
===========================================
+ Coverage    82.05%   82.28%   +0.23%     
===========================================
  Files          117      118       +1     
  Lines         5383     5453      +70     
===========================================
+ Hits          4417     4487      +70     
  Misses         966      966              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sdebionne

Copy link
Copy Markdown
Contributor

Added two regression tests (spike_produces_halo, threshold_suppresses_weak_edge) that assert on concrete sharpened output rather than degenerate no-op inputs.

@sdebionne
sdebionne requested a review from mloskot September 2, 2026 20:06
@sdebionne

Copy link
Copy Markdown
Contributor

@mloskot I will update the documentation once it is in AsciiDoc (to avoid reconverting again). MrDocs is getting a fix for the GIL headers 👍 .

@sdebionne
sdebionne merged commit 16b335e into boostorg:develop Sep 2, 2026
31 checks passed
@mloskot

mloskot commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Yeah, I've seen the comments. Funny, I've been disconnect from Boost for so long that I didn't know about the MrDocs thing. Thanks @sdebionne !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants