MJW Posted December 2, 2008 Share Posted December 2, 2008 Often when I use posterize, I'm annoyed by the color shifts that occur because the truncation shifts the relationship between r, g, and b. In an attempt to reduce the problem, I wrote a CodeLab plugin that converts the color into HSV space, truncates the values, then converts back to RGB. Each component (hue, saturation, and value) can individually be selected to be posterized or not. Posterizing only the value is probably the closest to normal posterization. Following the philosophy that what's worth doing is worth overdoing, I added individual level controls for each of the 6 primary colors of light and pigment. For example, there can be 8 levels of red values and only 2 levels of blue values. To avoid the tedium of setting each value separately, there's also minimum level control for each component. This control overrides any individual control set to a smaller value, so it can act as a master control. The 6 color sections are normally centered on their associated color, but the offset angle can be set plus or minus 30 degrees. This is occasionally useful to achieve a better picture. Here is the DLL:PosterizeHSV.zip Quote Link to comment Share on other sites More sharing options...
david.atwell Posted December 2, 2008 Share Posted December 2, 2008 This is very cool! Excellent work. I'm a fan of your plugins. Quote The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him. Link to comment Share on other sites More sharing options...
oma Posted December 2, 2008 Share Posted December 2, 2008 nice rather long ui only thing that its really missing is perhaps some reset to default levels buttons for entire sections. (I know there are the individual ones along side each slider) :wink: I'm going to need some example pictures on how this works. ciao thanks for thinking of us all and sharing your work. OMA . Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
barkbark00 Posted December 2, 2008 Share Posted December 2, 2008 Does anyone know where this effect is in the menu? EDIT: Found it! Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
MJW Posted December 3, 2008 Author Share Posted December 3, 2008 nice rather long ui only thing that its really missing is perhaps some reset to default levels buttons for entire sections.The user interface is almost ridiculously long, I admit. I'm not sure how to reset multiple controls in CodeLab plugins. Sometime soon, I hope to have time to explore writing plugins directly with Visual Studio C# Express. That'd give me more flexibility in implementing user interfaces. Quote 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.