❔ How to apply filter high pass mask to bitmap in c#?
Please drop me the code..I want to apply high pass mask into bitmap so I could convert blurry text in image into much clear text which is readable..
3 Replies
I'm sure nobody will just drop some code. It's more beneficial to give directions on how to code that yourself.
That being said, there are several methods with which you can achieve high-pass filtering e. g. convolution (filtering with filter kernels). Here's a list of possible kernels with different effects https://en.wikipedia.org/wiki/Kernel_(image_processing)
There are some more involved techniques that require more math, like filtering in the frequency domain. This is fairly complex if you want to program it yourself, so here's something to read through https://www.dsi.unive.it/~bergamasco/teachingfiles/cvslides2019/5_filtering_in_frequency_domain.pdf
I'd recommend starting with an implementation for convolution first tho.
Or you could use a library that does that for you, though I'm not sure which ones have image filtering..
thanks for the material...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.