It is currently Wed Apr 26, 2017 2:36 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 93 posts ]  Go to page 1, 2, 3, 4, 5 ... 10  Next
Author Message
 Post subject: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Thu Mar 05, 2015 6:22 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 105
Location: Brooklyn, NY
For those of you who think that I cannot spell 'Head', a Hedcut is a style of black-and-white drawing popularized over the years by the Wall Street Journal. Inspired by the Stipple/hedcut portraits thread in Photo Enhancements, I set out to make my own hedcut filter, based in part on that discussion, also based in part on my desire that the faux inkwork should trace the geometry of the underlying image, and also based on my whimsy that the style should also be akin, yet distinct from the WSJ. Close to my thinking are the copper plate etchings that served newspapers and periodicals in the decades before the halftone process became common. The everyday examples which survive are the portraits of people printed on currency, such as the presidents on U.S. Dollars.
Here is a representative reworking of Patrick David:
Image

This glass plate portrait of Jean Cocteau served as my initial test image:
Image

The filter works with color; here is Mr. David again:
Image

The filter's effect on cartoon or line material can be quite surprising. I find this re-rendering of my avatar very amusing. I seem to be undergoing electrocution:
Image

The filter came together fairly quickly, much sooner than I thought it would. I put it up into the Stream a couple of hours ago and it seems to be downloading from the G'MIC server nicely now. It lives in Testing ->Gmic Tutorials ->Hedcut (experimental). It should be generally available with a filter refresh.
The logic of the filter is packaged entirely in the G'MIC command -hedcut, which can be invoked in a shell with the gmic command.
Documentation of the filter is currently available at Particular Art: The Gimp Hedcut Filter
Though it did come together fairly quickly, this is still an experimental filter. Comments on its behaviour are always welcome. There are still aspects of it that I am thinking about and some elements of the user interface may yet change. Do play with it when you get a chance, and let me know what you think.

Garry


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: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Thu Mar 05, 2015 7:08 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 9873
Looks cool; better then what can be down by Edges Offset alone. Looking forward to you adding it to the GIMP-GMIC plugin soon Garry. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Thu Mar 05, 2015 8:27 pm  (#3) 
Offline
GimpChat Member

Joined: Mar 01, 2015
Posts: 16
Patrick David's blog is how I learned about G'Mic. Can't believe I haven't heard about it before now.

I couldn't get the fine detail in the above pics. Buster Keaton:

Image


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Thu Mar 05, 2015 11:37 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 105
Location: Brooklyn, NY
@serche
Thank you very much for testing!
I see that Mr. Keaton is very dark.
  1. I suggest enlarging the image 200% as a pre-step. That was how the fine detail on Pat David was obtained: I worked oversize and then reduced after running the filter.
  2. Pattern->Size: Initially accept the default of zero (smallest detail the filter is capable of).
  3. Photometric->Luminance Level: I would raise it to greater than 0.5. Raise it to a value when pattern disappears in highlights, then back off a bit. Jean Cocteau was around 0.6 luminance.
  4. Photometric->Contrast: With luminance set so that the pattern is almost like hairlines in the highlights, I would then increase contrast so that the pattern almost, but not quite entirely disappears in the shadow. Jean Cocteau was a little over 0.7 Contrast.
  5. Pattern->Smooth/Pattern->Size: larger values on both these controls makes the pattern less turbulent and more likely to follow edges and image features.
The link to "Particular Art: The Gimp Hedcut Filter" has notes on workflow, which may help.

Thank you again for testing.
Garry


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Fri Mar 06, 2015 2:00 am  (#5) 
Offline
GimpChat Member

Joined: Jan 20, 2013
Posts: 5956
Location: roma, italy
You got it, no rain but snow...
Excellent filter.
I made my first experiments:

used this as base image (from Deviant Art)
Attachment:
giulietta_for_a_walk_by_loretana-d6o43pl.jpg
giulietta_for_a_walk_by_loretana-d6o43pl.jpg [ 354.96 KiB | Viewed 3439 times ]


output using defaults:
Attachment:
giulietta_for_a_walk_by_loretana-1.jpg
giulietta_for_a_walk_by_loretana-1.jpg [ 951.04 KiB | Viewed 3439 times ]



...more

_________________
Vanitas vanitatum et omnia vanitas.


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Fri Mar 06, 2015 2:05 am  (#6) 
Offline
GimpChat Member

Joined: Jan 20, 2013
Posts: 5956
Location: roma, italy
(continued)

output after increasing first two parameters to 0.6
Attachment:
giulietta_for_a_walk_by_loretana-2.jpg
giulietta_for_a_walk_by_loretana-2.jpg [ 943.06 KiB | Viewed 3439 times ]


output after increasing as above the first 2 parameters
plus increasing B/C of the image by 30%
Attachment:
giulietta_for_a_walk_by_loretana-3.jpg
giulietta_for_a_walk_by_loretana-3.jpg [ 902.95 KiB | Viewed 3439 times ]


finally: parameters as above, image doubled and B/C increased by 30%,
then downsized to original size
Attachment:
giulietta_for_a_walk_by_loretana-4.jpg
giulietta_for_a_walk_by_loretana-4.jpg [ 952.65 KiB | Viewed 3439 times ]


...looks good!

_________________
Vanitas vanitatum et omnia vanitas.


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Fri Mar 06, 2015 2:12 am  (#7) 
Offline
GimpChat Member

Joined: Jan 20, 2013
Posts: 5956
Location: roma, italy
just to complete my tests:
same as 4th outcome but in colours and increased at the end the saturation
Attachment:
giulietta_for_a_walk_by_loretana-5.jpg
giulietta_for_a_walk_by_loretana-5.jpg [ 2.14 MiB | Viewed 3438 times ]

_________________
Vanitas vanitatum et omnia vanitas.


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Fri Mar 06, 2015 3:11 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1583
Nice one Garry !
anyway, it seems there is a problem with the folder hierarchy, this is what I get after an update :

Attachment:
gmic_hedcut.png
gmic_hedcut.png [ 144.63 KiB | Viewed 3424 times ]


There are two 'Gmic tutorials' folder, one in the other.


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Fri Mar 06, 2015 4:12 am  (#9) 
Offline
New Member

Joined: Mar 06, 2015
Posts: 1
thanks for info


Top
 Post subject: Re: Hedcut: A New Experimental Gimp-G'MIC Filter
PostPosted: Fri Mar 06, 2015 5:25 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 105
Location: Brooklyn, NY
@Ronounours
Yes - I need to remove the excess hierarchy directives from the Hedcut filter definition. It is establishing its own branch rooted at wherever it is in the stream.Will patch and upload.

@dinasset
That is a very satisfying outcome! Thank you for the broad range. It is always good to see someone else use the filter, unencumbered as they by the script writer's preconceived notions.

Garry


Top
Post new topic Reply to topic  [ 93 posts ]  Go to page 1, 2, 3, 4, 5 ... 10  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) new filter "Crazy Hedcut"

25

No new posts Gimp 2.9 64-bit Experimental

83

No new posts Attachment(s) Script 8 Colors (experimental)

11

No new posts Attachment(s) Round Raster 2 experimental (python script)

19

No new posts Attachment(s) Crazy Hedcut

41



* Login  



Powered by phpBB3 © phpBB Group