Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch Image Processing (layer manupulation)
#1
Hi,

I'm kind of new using batch processing. I have about 300 pages of scanned old manuscript. Its yellowish and stained.

Normally I will clean it up by:


1. Duplicate the layer
2. Change the top layer mode to "grain merge"
3. Merge down the layer.
4. Repeat the steps until I got a much cleaner page.
5. Touch up using brush.

I was wondering if there is a scrip or command that I can use to to step 1 to step 3 on batch file. I mean, cleaning up old manuscript for family safekeeping is really hard work. If there is a batch processing that I can run and sit back. I still need to touch up here and there of course, but this will take at least 75% work load if I can automate it.

Thank you
Reply
#2
No replies ?  I was hoping one of the clever guys would give advice, however the attached plugin will perform steps 1 to 3. You can repeat using Filters -> Repeat Last (Ctrl-F) to suit

Since there is a step 4. Repeat the steps until I got a much cleaner page. That is an unknown, you can not script your judgement. So a batch for repeat n number times is not really feasible.

There are plugins for cleaning up scanned documents. The gimp_gmic_qt plugin http://www.gmic.eu has a filter. That can be run on a folder full of images using the BIMP batch plugin https://alessandrofrancesconi.it/projects/bimp/  This might be a better way to go.

Unzip the attached, Put grain-merge-layer.py  in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins  It registers in the Tools menu.


Attached Files
.zip   grain-merge-layer.zip (Size: 521 bytes / Downloads: 162)
Reply


Forum Jump: