I am struggling with pre-processing images in image recognition.
Up to now, I have tried:
my custom solution like this in python
image_with_better_contrast = round(image/255,0) * 255
- Histogram Equalization (better than previous)
- CLAHE (Contrast Limited Adaptive Histogram Equalization) (best of three)
But recently I compared CLAHE with the Auto Contrast feature of Photoshop on gray scale images - and results of Auto Contrast are impressive. I am excited to know about algorithm behind this feature.
Note: I know that Photoshop is proprietary software, and its code may be closed source. So any hint related to improving the CLAHE results, or any other algorithm, would be by me appreciated.
Photoshop
tag. – Royi