Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting Large Amount of Small Specks
#3
Are you really using Gimp 2.8 ?

Quote:I have several hundred scanned pages I received as 1-bit images. The person that scanned them left a LOT of specks 1 to 10 pixels in diameter.

More than just a remove-speckle problem. Several hundred scans and 1 bit (black / white) images.

Several hundred, and the usual advice from the clever guys is "write a script" and apply in a batch file.

I am not that clever so I will use two Gimp plug-ins gimp-gmic to improve the scan  http://www.gmic.eu and BIMP  https://alessandrofrancesconi.it/projects/bimp/ for "several hundred" Both come with Windows installers.

Individually the workflow is 
convert the image to grayscale (for gmic)
apply the gmic repair scanned document filter.

I have gone a little step further and used a script to quickly apply the gmic filter. Attached gmic_shell.zip Unzip put gmic_shell.scm in C:\Users\"yourname"\.gimp-2.8\scripts

Then for several hundred apply that procedure using the plugin BIMP. 

The whole thing in 3 minutes https://youtu.be/hVE6pJXjF74





edit: add a pre-despeckle to the script for large speckles.


Attached Files
.zip   gmic_shell.zip (Size: 716 bytes / Downloads: 293)
Reply


Messages In This Thread
RE: Selecting Large Amount of Small Specks - by rich2005 - 02-22-2020, 09:59 AM

Forum Jump: