It is currently 25 Jan 2021, 09:22
| ||||
| ||||
|
|

Cleaning up an image

Cleaning up an image
Is there a fast way to clean up an image (after converting to black and white, and sometimes reducing in size) to smooth out the lines and make them more precise and sharp? Up to now, I have simply hand-edited the image, pixel by pixel, but that gets pretty tedious, especially for more complex images (I'm working on a few snowflakes at the moment). Any process that cuts down on that work, even if it doesn't eliminate it completely, would be very helpful. I'm using the images to make pattern files, so I want them to be as clean as possible. Finished size for each image ranges from about 150x150 pixels to 300x300 pixels.
GIMP Learn rocks...
-
Wallace
- View:
|Posts
- Topic Posts: 1/7 | Posts: 895
- Joined: 11 Oct 2016, 21:24
- Cash on hand: 7,428.52 GLP
- Bank: 6,219,731.62 GLP
- Gender: Guy
- Location: Arizona USA
- GIMP Version: 2.8.18
- My YouTube Channel
- My deviantart Account
- x 1597
- x 307
Cleaning up an image can mean many things.
Once the image(s) are converted to B&W.
Usually with a white background and the lines, or main subjects being black.
You can use color curves.
To help adjust the the white background and remove any stray pixels/anomalies from it.
While simultaneously tightening up the black lines as well.
For example:
Before applying Color Curves. After applying Color Curves.
Once the image(s) are converted to B&W.
Usually with a white background and the lines, or main subjects being black.
You can use color curves.
To help adjust the the white background and remove any stray pixels/anomalies from it.
While simultaneously tightening up the black lines as well.
For example:
Before applying Color Curves. After applying Color Curves.

Already did that (evidently I wasn't clear--I'm sorry). I used Colors->Threshold to reduce it to black and white. Now I'm left with this (for example):Wallace wrote: ↑22 Feb 2020, 19:32Cleaning up an image can mean many things.
Once the image(s) are converted to B&W.
Usually with a white background and the lines, or main subjects being black.
You can use color curves.
To help adjust the the white background and remove any stray pixels/anomalies from it.
While simultaneously tightening up the black lines as well.
It still has a lot of jagged, asymmetrical edges that I want to smooth out and make symmetrical. I can edit the image pixel by pixel (and have, for some less complex images), but I'm hoping for a way to eliminate at least some of that tedium.
GIMP Learn rocks...
@enxio27 ,
Image obtained through these steps, authored by Ofnuts and Denzjos at: https://www.gimp-forum.net/Thread-Selec ... all-Specks
►Select the background color
►Select> Grow by one pixel
►Select> Shrink by one pixel
►[Delete]
►Filters / GMic-Qt / Black & White / Stamp
►Select the background color
►Select> Grow by one pixel
►Select> Shrink by one pixel
►[Delete]
►Filters / GMic-Qt / Black & White / Stamp
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
Hi, Krikor. Could you explain why you would grow by one pixel and then shrink by one pixel? I don't understand. Wouldn't shrinking it undo the growing that you just did? I tried following those instructions and it did not improve the image for me. What am I doing wrong?
GIMP Learn rocks...
Hi @CtrlAltDel , I asked myself the same question when I saw these steps. It also made little sense to me. But coming from Ofnuts it was like having a guarantee seal.CtrlAltDel wrote: ↑24 Feb 2020, 10:16Hi, Krikor. Could you explain why you would grow by one pixel and then shrink by one pixel? I don't understand. Wouldn't shrinking it undo the growing that you just did? I tried following those instructions and it did not improve the image for me. What am I doing wrong?
So I tested these steps, but unlike you I was able to confirm that in fact small specks were actually eliminated.
As they are very small, I suggest checking the change with a zoom.
In the image below, the before and after using the first 4 steps (without applying the stamp filter). Note that I circled in red some spots that disappeared after the indicated procedure, but there are others that have not been marked but have also been removed.
Regarding the explanation behind this magic, I believe that when there is a 1 px magnification, the specks end up being selected along with the background color and form a unique selection. When the reduction is made by 1 px and after this selection is deleted, the specks are deleted along with the selection.
Similar to the footprints that are removed by the waves on the beach.

But I suggest that the question be asked directly to @Ofnuts, he could better answer that question.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
I won't bother Ofnuts, you've explained probably as well as it needs to be explained. Thank you very much. I will try it again and see if I can gain a noticeable improvement with the image.Krikor wrote: ↑24 Feb 2020, 14:12Hi @CtrlAltDel , I asked myself the same question when I saw these steps. It also made little sense to me. But coming from Ofnuts it was like having a guarantee seal.CtrlAltDel wrote: ↑24 Feb 2020, 10:16Hi, Krikor. Could you explain why you would grow by one pixel and then shrink by one pixel? I don't understand. Wouldn't shrinking it undo the growing that you just did? I tried following those instructions and it did not improve the image for me. What am I doing wrong?
So I tested these steps, but unlike you I was able to confirm that in fact small specks were actually eliminated.
As they are very small, I suggest checking the change with a zoom.
Thank you for such a detailed response.
GIMP Learn rocks...
| ||||
| ||||
|
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0 Replies
- 843 Views
-
Last post by cowherd
29 Sep 2020, 03:29
-
- 2 Replies
- 6406 Views
-
Last post by enxio27
22 Feb 2020, 23:21
-
- 5 Replies
- 8445 Views
-
Last post by rich2005
27 Feb 2020, 08:10
-
-
Image comment (parasite) concatenation?
by R Soul » 13 Apr 2020, 12:47 » in GIMP Python Fu Scripts/Plug-ins - 2 Replies
- 2352 Views
-
Last post by skinnyhouse
21 Apr 2020, 09:01
-
-
-
How to Un-perspectify an image in GIMP - Mandala Example
by tim » 07 Aug 2020, 14:27 » in GIMP Tutorials - 2 Replies
- 1916 Views
-
Last post by Pat625
09 Aug 2020, 14:50
-
-
-
Center Resize All Layers To Image Size
by tim » 21 Aug 2020, 13:23 » in GIMP Python Fu Scripts/Plug-ins - 1 Replies
- 1181 Views
-
Last post by GJL
22 Aug 2020, 13:32
-
-
- 0 Replies
- 588 Views
-
Last post by tim
21 Sep 2020, 22:30
Who is online
Users browsing this forum: No registered users and 13 guests