MadJik Posted May 11, 2007 Share Posted May 11, 2007 Majority Color Effect Plugin What's this? This plugin is added to the menu Effects, submenu Stylize. In fact it was originally 99% made with CodeLab...(1% for external text editor, and for the icon). This is based on the (french) cellular automat using the majority rule. See the link for more... http://interstices.info/display.jsp?id=c_27035 The automate is based on boolean (0 or 1) cells. I had to adapt it for colors (0-255). The principle is each cell will take the value of its neighbours that have the majority. For each cell, I compute the average of the cell + its neighbours. If the cell color is greater than the average then it takes the value of the greatest value found. Else it take the value of the lowest value found. So there are 3 modes: Keep original colors: use min/max values found separately for R,G & B. Reduce to primal colors: use 0/255 separately for R,G & B. Reduce to black and white: use min/max values found and take the average of RGB to have a grey color. Download it! Plugin Majority.dll Here is the DLL The MadJik's All plugins package is available ! http://forums.getpaint.net/index.php?showtopic=7186 How to install Close Paint.net Classic version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects Microsoft Store version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: /My Documents/paint.net App Files/Effects/ You have to adapt for your language My Documents The User interface ...Choose the color mode: see previous explanations. ...Radius of tolerance: how many row/column to compute from the single pixel. Big values could take a long time to render. ...Color tolerance level: color level to define the default average between low or high colors. ...Include transparent pixels:Check to apply the effect on alpha channel as well. Some examples: 1. Original model from http://www.photo-libre.fr http://photoslibre.free.fr/photoslibres/gens/people/10.jpg ...and abstract Nebulous (from Codelab) 2. mode=0, radius=4, tolerance=127 (applied on the model) 3. mode=1, radius=4, tolerance=127 (applied on the model) 4. mode=2, radius=4, tolerance=127 (applied on the model) 5. mode=1, radius=1, tolerance=127 (applied on the model) + (run again) mode=2, radius=1, tolerance=127 1 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
MadJik Posted May 11, 2007 Author Share Posted May 11, 2007 Another test of this plugin: source: http://photoslibre.free.fr/photoslibres/transport/12.jpg Before: After: To do this I duplicate the layer 3 times and run the effect with differents settings, then cut out some dark/white sections to have a good (IMO)combination. And for fun the 'Rick' effect: Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Helio Posted May 11, 2007 Share Posted May 11, 2007 Hey, this is actually pretty cool. It might produce a good result if afterwards using the Oil Painting effect. Quote v An excellent open–source strategy game—highly recommended. "I wish I had never been born," she said. "What are we born for?" "For infinite happiness," said the Spirit. "You can step out into it at any moment..." Link to comment Share on other sites More sharing options...
Leif Posted May 11, 2007 Share Posted May 11, 2007 Max tolerance gives a frosted glass effect. Really fun effect. Quote My DA: http://leif-j.deviantart.com/ -------------- Some people seek justice so persistent, that they will do great injustice themselves. Link to comment Share on other sites More sharing options...
natjo1986 Posted May 11, 2007 Share Posted May 11, 2007 You kinda have to look for the link for plug-in, but off hand without testing it I really like #3 & #5. Quote Link to comment Share on other sites More sharing options...
MadJik Posted May 11, 2007 Author Share Posted May 11, 2007 Max tolerance gives a frosted glass effect. Really fun effect. Yes, I was just uploading images... 6. mode=0, radius=3, tolerance=0 on left 255 on right Model to compare (look at the eyes!) Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Helio Posted May 11, 2007 Share Posted May 11, 2007 Yikes! :shock: Quote v An excellent open–source strategy game—highly recommended. "I wish I had never been born," she said. "What are we born for?" "For infinite happiness," said the Spirit. "You can step out into it at any moment..." Link to comment Share on other sites More sharing options...
barkbark00 Posted May 11, 2007 Share Posted May 11, 2007 It looks like an aneurysm! :shock: :shock: :shock: :shock: :shock: Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
GangstaCrab Posted May 11, 2007 Share Posted May 11, 2007 It looks like an aneurysm! :shock: Wha? Quote Link to comment Share on other sites More sharing options...
barkbark00 Posted May 11, 2007 Share Posted May 11, 2007 http://en.wikipedia.org/wiki/Aneurysm Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
wec12 Posted May 11, 2007 Share Posted May 11, 2007 It looks like an aneurysm! :shock: :shock: :shock: :shock: :shock: Thanks for giving me a nice laugh of the day :wink: Quote Link to comment Share on other sites More sharing options...
Bob Posted May 11, 2007 Share Posted May 11, 2007 @BBk:I think the pic in this article is not really safe for children. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
Aron Posted May 11, 2007 Share Posted May 11, 2007 @BBk:I think the pic in this article is not really safe for children. no its scarry :shock: Quote My Deviant Link to comment Share on other sites More sharing options...
MadJik Posted December 9, 2007 Author Share Posted December 9, 2007 updated for paint.net v3.20 see the first post... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
MadJik Posted April 10, 2008 Author Share Posted April 10, 2008 New version... Check out the first post! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.