Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New module idea: descreen/dehalftone/inverse halftone #2078

Open
jywarren opened this issue Feb 25, 2022 · 0 comments
Open

New module idea: descreen/dehalftone/inverse halftone #2078

jywarren opened this issue Feb 25, 2022 · 0 comments
Labels
module New Module idea new-feature

Comments

@jywarren
Copy link
Member

jywarren commented Feb 25, 2022

Halftoned images, esp old images, can be "descreened" to produce clearer versions than just blurring the halftone.

Some use neural networks and some use FFT math. Here's a nice image of descreening from this excellent page and paper (click for higher res comparison):

image

Closeup:

image

Research:

Maybe the FFT-descreen OpenCV library looks simplest and most promising?

https://github.com/6o6o/fft-descreen/blob/38777f8bef9ab4ff695cc6c2fa957d34ab70ee44/descreen.py#L1-L54

Could we refactor that and model on our other OpenCV modules, like our Blob Analysis module?

https://github.com/publiclab/image-sequencer/blob/main/src/modules/BlobAnalysis/BlobAnalysis.js

@jywarren jywarren added module New Module idea new-feature labels Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module New Module idea new-feature
Projects
None yet
Development

No branches or pull requests

1 participant