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. |
Quick Reference to Scripting Command |
a=CHANMAP(MODE[0-5], smooth) |
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]. |
CMap is short for Channel Map. This operator will map a palette to an image based on aspects of the image you choose. In the example above, the palette was mapped to the image based on the green channel. You can see that the pink parts of the flower where there is little green is mapped with the "low colors," black and dark red. The greenest parts of the image are mapped with the "high colors," white, yellow and red.
Operator dialog controls that have a Trend button next to them offer animation functionality. Trend allows you to set that variable over a set of frames. Each frame of the animation can be thought of as a slice of time. The trends allow you to alter some, all, or none of the variables for a particular time slice. Variables that have multiple states can be set to any of a number of values in the trend. Variables that are either on or off can only have an on or off value in the trend. You will notice that the trend graphs have equidistantly spaced vertical lines. Each of these lines represents a frame in the animation. The number of frames can be altered using Sequence controls... in the TimeLine pull down menu. Animation lengths of 100 - 999 frames will be represented with a vertical bar being 10 frames, and animation length greater than 1000 frames will have a vertical bar for every 100 frames. Click here to view more information on Trends.
Both of the images above were mapped to a 2 color palette with black on top and white on bottom based on the red channel . The difference between these two was that on the left smooth was not selected, on the right smooth was selected. Selecting smooth will blend the mapping color of intermediate values based on proportion. Now values that are closer to black than white will not be black, but a proportional mix of white and black, a dark grey.