|This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.|
16.116 - Promote RGB
|Quick Reference to Scripting Command|
a=PROMOTERGB(RED, GREEN, BLUE, GREY, INVERT)
|Items in CAPS are 0/1 or ranges with more options than just 0/1.|
Ranges other than 0/1 are indicated by brackets, such as [0-2].
This shows how you can get an initial mask very quickly from an image color channel. Here, the image was from a "bluescreen", and all we did was promote the blue channel with invert on, and then use Harden Alpha
once and the resulting mask is what you see on the right. From here, You can (and should) additionally process the mask to enhance it, but this makes a great start. That's exactly what this operator is for!
The idea behind this operator is that many images — such as the example above — contain what amounts to a great start on a mask in one or more of the red and/or green and/or blue channels. This operator allows you to promote those channels either directly to an alpha channel, or to a greyscale image with may later be used in a layered image as a superpositioned Grey Mask layer.
16.116.1 - Promote RGB Controls
18.104.22.168 - Channels
Pick any combination of the ✓ Red , ✓ Green and ✓ Blue channels. The combination will be promoted to an average of the 2 or 3, or a copy of any single channel, and then inserted into the alpha channel as a mask. High levels result in opacity; see Invert, below, for enforcing the opposite behavior.
22.214.171.124 - Greyscale
This promotes the red and/or green and/or blue channel into a greyscale image instead of the alpha channel. Here, you may find it easier to work on the mask, and then use it as a superpositioned Grey Mask layer.
126.96.36.199 - Invert
This reverses the masking result — high levels result in transparency.
See Also: Color Keying and Color Wand
, Previous Page
. Next Page
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A
This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7