GIMP Chat
http://gimpchat.com/

GEGL filter that makes Basic Pencil Drawings
http://gimpchat.com/viewtopic.php?f=9&t=19928
Page 1 of 1

Author:  contrast_ [ Sun May 15, 2022 7:42 pm ]
Post subject:  GEGL filter that makes Basic Pencil Drawings

Filter works best in Solid color backgrounds. It looks like crap if a lot of information is going on in the background.
https://github.com/LinuxBeaver/gegl-pen ... l-drawing/
@MareroQ will likely chime in with a Windows build port.

Image

Image

Author:  Pocholo [ Sun May 15, 2022 9:51 pm ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

Good work, contrast_. I will like to create Gegl plugin, but I don't know how. Maybe you can post the basics? :)

Author:  MareroQ [ Sun May 15, 2022 11:23 pm ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

Version for Gimp-2.10.30 Win 64 Bit attached.
Place the file in Gegl plugins in a directory: ... \lib\gegl-0.4\

In menu Tools➤GEGL Operation➤Pencil drawing


We have cli345 on the forum - a comic book style master and Gegl Graph expert - maybe he will suggest something or join this game?

Attachments:
sketch_Win64bit.zip [35.32 KiB]
Downloaded 64 times

Author:  contrast_ [ Mon May 16, 2022 6:41 pm ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

Pocholo wrote:
Good work, contrast_. I will like to create Gegl plugin, but I don't know how. Maybe you can post the basics? :)

All I am doing is stitching more simple gegl operations together. look at my .c files on github and gegl.org and maybe you'll get the hang of it.

Author:  cli345 [ Thu May 19, 2022 7:58 am ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

Hello, :)

Here is yet another pencil gegl graph:
noise-reduction
domain-transform n-iterations=5
difference-of-gaussians radius1=1 radius2=0.33
gray
levels in-low=0.004 in-high=0.009
invert-gamma
rgb-clip
noise-reduction
Here are examples:
Attachment:
examples_orig.jpg
examples_orig.jpg [ 183.79 KiB | Viewed 1916 times ]

Attachment:
examples_geglPencil.jpg
examples_geglPencil.jpg [ 153.6 KiB | Viewed 1916 times ]

Have fun! :)

Author:  contrast_ [ Thu May 19, 2022 9:07 am ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

cli345 wrote:
Hello, :)

Here is yet another pencil gegl graph:
noise-reduction
domain-transform n-iterations=5
difference-of-gaussians radius1=1 radius2=0.33
gray
levels in-low=0.004 in-high=0.009
invert-gamma
rgb-clip
noise-reduction
Here are examples:
Attachment:
examples_orig.jpg

Attachment:
examples_geglPencil.jpg

Have fun! :)


I can try to make this into a filter and give you full credit for discovering the algorithm.

levels
domain transform
and difference of gaussian

will have sliders. Everything else will be hidden.

Author:  contrast_ [ Thu May 19, 2022 10:14 am ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

I make a filter that uses your algorithm and it will replace my gegl:pencil

This works on images even with complex backgrounds so i will have to change the description
Image

Author:  contrast_ [ Thu May 19, 2022 10:46 am ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

https://github.com/LinuxBeaver/gegl-pen ... il-drawing
Image

gegl:pencil has had a major overhaul. cli345 gets the credit. This algorithm unlike mine works in noisy backgrounds


MareroQ will have to recompile for Windows. lol

Author:  MareroQ [ Thu May 19, 2022 11:20 am ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

New version for Gimp-2.10.30 Win 64 Bit attached.
Nice collaboration :bigthup

Attachments:
sketch_new_Win64bit.zip [35.66 KiB]
Downloaded 77 times

Author:  PixLab [ Mon Aug 15, 2022 5:15 am ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

I'm quite impressed by this GEGL drawing filter, comparing with G'MIC (sketch or pencil filters), this GEGL is a winner for me (even though I don't use those type of filters).
Image

I got few problem, tough, but the filter still work once I closed the GIMP window's bug ;)
Image

Author:  contrast_ [ Mon Sep 12, 2022 2:07 pm ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

I will be removing the remove color mode from GEGL:photo2cartoon because this filter literally does that but better.

I don't want to fuse the two filters as gegl:pencil is much faster loading then gegl:photo2cartoon.

Author:  contrast_ [ Mon Sep 12, 2022 4:14 pm ]
Post subject:  Re: GEGL filter that makes Basic Pencil Drawings

Image

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/