NorthernLights
May 29th, 2005, 12:31 PM
Some might remember my last thread on colour reduction when I, with the help of you all, created a stylizing effect. I'm still working on the same editing project actually, and this time I'm trying to figure out how to grayscale an image with the exception of strong green colours. Sound confusing enough?
I'm looking for a way to keep the green parts of the image as they are, but grayscaling the rest. So in other words, where the G channel has a higher value than the RB it should be kept as it is, otherwise it should be grayscaled. Furthermore, to prevent the edges between gray and green being too hard, I'm looking for a way to soften the edges. Perhaps by creating an alphachannel with a slight blur as a mask for the green parts, but I'm worried that it would make the greencoloured parts leak into other colours.
I still haven't learned that much scripting, so I'm not quite sure how to check and translate this through code into Shake. I was playing around a bit and found that an easy way to create a simple version of the effect is to use reorder "ggba". This shows an approximate idea on what I am looking for, but is far from a good thing to use.
Could anyone steer me in the right direction? :magnify:
I'm looking for a way to keep the green parts of the image as they are, but grayscaling the rest. So in other words, where the G channel has a higher value than the RB it should be kept as it is, otherwise it should be grayscaled. Furthermore, to prevent the edges between gray and green being too hard, I'm looking for a way to soften the edges. Perhaps by creating an alphachannel with a slight blur as a mask for the green parts, but I'm worried that it would make the greencoloured parts leak into other colours.
I still haven't learned that much scripting, so I'm not quite sure how to check and translate this through code into Shake. I was playing around a bit and found that an easy way to create a simple version of the effect is to use reorder "ggba". This shows an approximate idea on what I am looking for, but is far from a good thing to use.
Could anyone steer me in the right direction? :magnify: