How to clean a scan of handwriting? - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: How to clean a scan of handwriting? (/Thread-How-to-clean-a-scan-of-handwriting) |
How to clean a scan of handwriting? - Gerenuk - 01-07-2018 I'd like to clean up a short piece of handwriting (like a signature; see attachment). I found some kind of thresholding in Gimp, but ended up cleaning a lot with the eraser. Could you please suggest an approach / tools that seems best to get a single color version of the writing only? Ideally it should be the lines only, no stray dots, a fairly smooth edge of the written lines and in the end a single color stroke. RE: How to clean a scan of handwriting? - Ofnuts - 01-07-2018 (01-07-2018, 06:28 PM)Gerenuk Wrote: I'd like to clean up a short piece of handwriting (like a signature; see attachment). I found some kind of thresholding in Gimp, but ended up cleaning a lot with the eraser. Try this:
[attachment=1251]
The white background that was add initially isn't stricly necessary (even if it gives you a better idea of how things will look). You can remove it an export to PNG if you want the signature on a transparent background. [attachment=1252]
RE: How to clean a scan of handwriting? - Espermaschine - 01-08-2018 I usually use the colourpickers in the Levels dialogue to define a white point and clean up scans. RE: How to clean a scan of handwriting? - rich2005 - 01-08-2018 An alternative is "not-gimp" but center-line trace using Inkscape Works well on that image creating a quite a minimal path. [attachment=1254] RE: How to clean a scan of handwriting? - Espermaschine - 01-08-2018 (01-08-2018, 09:44 AM)rich2005 Wrote: An alternative is "not-gimp" but center-line trace using Inkscape you should change the join style to rounded, but i agree, the result is great RE: How to clean a scan of handwriting? - Gerenuk - 01-13-2018 (01-07-2018, 08:22 PM)Ofnuts Wrote: Try this: Thanks! At first I got different results, but then I realized that Add Layer Mask has to be applied to the original layer. What's a good reference to understand the Levels dialog for a beginner? I wonder why I got colors when I click on Channel Alpha. Is there a trick to "emphasize" all pixels so that I can reliably tell whether there are stray pixels left in between the letter? RE: How to clean a scan of handwriting? - Ofnuts - 01-13-2018 2) See https://docs.gimp.org/en/gimp-tool-levels.html But I wonder how you got colors? Screenshot? 3) Little known: View>Display filters and add Contrast or Gamma to the panel on the right. This changes the way the image is displayed, but not the image itself. Click on the filter you added to display its settings. RE: How to clean a scan of handwriting? - Gerenuk - 01-15-2018 (01-13-2018, 10:56 PM)Ofnuts Wrote: 2) See https://docs.gimp.org/en/gimp-tool-levels.html But I wonder how you got colors? Screenshot? Oh, you get colors (yellow) when you add the layer mask to the wrong layer (the background), then open the levels tools on the correct layer and click "Channels Auto". My fault. |