It is currently Tue Apr 16, 2024 5:10 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: A filter
PostPosted: Fri Oct 24, 2014 11:41 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 24, 2014
Posts: 49
I was trying to simplify shapes and give a painterly feeling to a picture, after some trial and error I come up with this code:
#@gimp corvo's painting_5 : gimp_corvo_painting_5, gimp_corvo_painting_5(0)
#@gimp : note = note("Polygonize settings")
#@gimp : Amplitude = int(35,0,2000)
#@gimp : Smoothness = float(10,0,100)
#@gimp : Minimal area = float(10,0,100)
#@gimp : Alpha Polygonize = float(0.5,0,1)
#@gimp : sep = separator()
#@gimp : Texture = float(50,0,100)
#@gimp : Plasma= float(0.3,0,1)
#@gimp : sep = separator()
#@gimp : note = note("Smooth settings")
#@gimp : Amplitude = float(50,0,1000)
#@gimp : Gradient smoothness = float(2,0,10)
#@gimp : Tensor smoothness = float(5,0,10)
#@gimp : Alpha Filter= float(1,0,1)
gimp_corvo_painting_5 :
--polygonize $1,$2,$3,10,10
--blend[0,1] alpha,$4
-texturize_canvas[2] $5,0.5,0.6
-smooth[2] $7,0.4,0.7,$8,$9
--plasma[2] 0.7,100,8 -n 0,255
-blend[3,2] grainmerge,$6
-bilateral[0,2] 10,7
-blend[0,2] alpha,$10
-rm[-1]

Image

The same result can probably be achieved with something simpler (I don't really know what I'm doing :oops: but it works, I think).
Sorry for my English.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: A filter
PostPosted: Sat Oct 25, 2014 5:09 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Thanks, I'll add it in few days (I'm away from my computer until Monday)


Top
 Post subject: Re: A filter
PostPosted: Sat Oct 25, 2014 8:13 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Like your result of your new preset. Not sure (I'm a GIMPer; not a coder) how to run it without it being a part of the G'MIC GIMP plugin. I tried to copy/paste in the code box inside G'MIC's code box within the plugin itself, but it didn't run. I'll await David to enter the code as a custom preset of yours. Looking forward to trying it out myself. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: A filter
PostPosted: Sat Oct 25, 2014 9:09 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Oct 24, 2014
Posts: 49
Thank you Ronounours. ^^ Oh, since I'm here, I wanted to say thank you for your work; colorize[interactive] is a real time saver, I love it. :)

Lylejk, in the codebox using the default values the commands are:
--polygonize 35,10,10,10,10
--blend[0,1] alpha,0.5
-texturize_canvas[2] 50,0.5,0.6
-smooth[2] 50,0.4,0.7,2,5
--plasma[2] 0.7,100,8 -n 0,255
-blend[3,2] grainmerge,0.3
-bilateral[0,2] 10,7
-blend[0,2] alpha,1
-rm[-1]


Top
 Post subject: Re: A filter
PostPosted: Sat Oct 25, 2014 7:03 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Thanks Corvo; that works great. Do look forward to the preset for the additional tweaks that will be enabled. Thanks for the preview. :)


Attachments:
L1000145crp.jpg
L1000145crp.jpg [ 712.88 KiB | Viewed 7066 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: A filter
PostPosted: Sun Oct 26, 2014 1:30 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Filter added, thanks Corvo :)


Attachments:
gmic_corvo.png
gmic_corvo.png [ 476.29 KiB | Viewed 7014 times ]
Top
 Post subject: Re: A filter
PostPosted: Sun Oct 26, 2014 1:40 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Cool; thanks again Corvo and you too David. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: A filter
PostPosted: Sun Oct 26, 2014 3:14 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
Image

Thank You Corvo,Thank You Ronounours


Top
 Post subject: Re: A filter
PostPosted: Mon Oct 27, 2014 11:27 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Dec 02, 2012
Posts: 203
Location: Cantabria, Spain
Interesting for draw!!!
Thans Corvo and David.


Left: Corvo + Leon _Morphology-edges-detection
Right: Corvo + HardSketch (2 layers) + Leon M_e_d


Attachments:
corvo.jpg
corvo.jpg [ 126.61 KiB | Viewed 6944 times ]

_________________
Image



My Gimp rides on Antergos (Arch), Linux Mint, Debian and Fedora
Top
 Post subject: Re: A filter
PostPosted: Mon Oct 27, 2014 5:51 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Oct 24, 2014
Posts: 49
Thank you to all ^^
Another example of the filter in action.
Image
With some colour corrections; gradient norm to extract and preserves the edges of the original image; some adjustment and the sky painted quickly with krita.


Top
 Post subject: Re: A filter
PostPosted: Thu Oct 30, 2014 3:51 pm  (#11) 
Offline
GimpChat Member

Joined: Aug 30, 2013
Posts: 63
Belated thanks, Corvo and David. A very nice filter to play with. I added G'MIC patterns-paper texture to further accentuate the painting texture.
Image


Top
 Post subject: Re: A filter
PostPosted: Thu Oct 30, 2014 5:37 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I love the texture there Acmespace, nice job

_________________
Image


Top
 Post subject: Re: A filter
PostPosted: Thu Oct 30, 2014 6:40 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
:ditto

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: A filter
PostPosted: Sat Nov 01, 2014 10:08 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 115
Location: Brooklyn, NY
@Corvo
Not bad! We should all be this good when we don't know what we're doing. It would simplify life a great deal.


Top
 Post subject: Re: A filter
PostPosted: Wed Mar 15, 2017 9:25 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Jamac4k,
Great images! And your model is stunning!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) cli345's cartoon filter as a native GEGL Filter.

10

No new posts Attachment(s) Made with new filter in G'mic

23

No new posts Attachment(s) Carve.. filter

3

No new posts Found a 'new' (for me) Filter

0

No new posts Attachment(s) what filter might help with this image?

7



* Login  



Powered by phpBB3 © phpBB Group