I have a photo of a document with black text on a white background.
The photo has a few problems:
- The text is a bit blurry.
- Overall, there is noise even in the white areas.
- The background is not really white, but somewhat yellowish.
- Most importantly: Some areas of the image, including the areas that are supposed to be white, are darker than others.
I want to clean up this picture. I am on Linux.
The "Colors> Auto> White Balance" filter in GIMP delivers promising results. However, the background in different areas of the image is not balanced.
However, if I only select a portion of the image, the "White Balance" filter actually works better in that area.
Therefore I imagine that the gradual application of the "white balance" would work very well in local areas of the image.
I imagine that the "White Balance" filter is implemented as follows:
- Collect color statistics of the entire image.
- Create a color conversion matrix and apply it globally.
So what do I want instead:
- Collect local color statistics for each area from e.g. 100 * 100 px.
- Create local color conversion matrices.
- Create a continuous function of the conversion matrices per pixel.
- Apply locally per pixel.
Do you know something that works either in GIMP or as standalone software, e.g. for the linux command line?
I am processing all files in a document library. I need to get the file as well as the metadata. It is relatively easy. But for each file I would also like to get the name of the document set in which it is located, if it exists. I see a lot of advice on getting all the files in a set of documents, but nothing else. Can someone help?