Image-Contrast-Enhancement icon indicating copy to clipboard operation
Image-Contrast-Enhancement copied to clipboard

How to enhance contrast for this image

Open aspenlin opened this issue 4 years ago • 2 comments

For images like this one (images with text of low contrast), what parameters should I change for a better result?

contrast

I tried the default values with dhe.py and ying.py, it did help enhance the contrast a little bit but not much. I'm wondering whether the author knows better about how to tune some parameters in the program to get a better result for images like the one I provided.

Thank you very much for the code and for your help!

aspenlin avatar Jul 24 '19 16:07 aspenlin

Maybe deblur method is what you actually need ?

AndyHuang1995 avatar Aug 18 '19 08:08 AndyHuang1995

Hi @AndyHuang1995 i got this error.. how to fix this

Traceback (most recent call last): File "dhe.py", line 109, in main() File "dhe.py", line 102, in main img_name = sys.argv[1] IndexError: list index out of range

ghost avatar May 02 '20 04:05 ghost