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.129 - Monochrome

Quick Reference to Scripting Command
a=MONOCHROME(MODE)
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].



Operation Example
The Monochrome operation will take the selected area and convert it to a gray scale value.

The gray scale calculation can be done in one of two ways. The first method (RGB Average) treats the Red, Green, and Blue components of each pixel equally, and then derives a gray scale value from their average. The other option (Luminance) will convert each pixel in the selected area to gray cale based on the way that the human eye perceives light and dark.

The information below describes further the differences between the two monochrome modes.


Operator Dialog

§ 16.129.1 - Monochrome Controls

§ 16.129.1.1 - Trends

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.

§ 16.129.1.2 - Luminance/RGB Average

These two radio buttons allow you to select between a monochrome based on luminance values of a pixel, or the RGB average for each pixel in the area selection.

If you select to base the monochrome conversion on bulletsel.png R,G,B Average , then the pixels will be converted to monochrome based on the following formula: (+ Green + Blue) /3. Then all three color components are replaced with this new value. This will produce a gray scale value for each pixel in the selected area. This particular function assumes that each of the three color components contribute equally to the pixel's brightness. This is not the way your eye perceives brightness. The Luminance option will approximate more exactly the way the human eye perceives brightness.

The bulletsel.png Luminance  option will convert the selected region into a gray scale based on the way the human eye perceives brightness. The pixel is converted using: (* .33) + (Green * .59) + (Blue * .11) to create the brightness value, and then replacing the three color components with this new luminance value. Since all three color components are the same value the result is a gray scale value. This option uses a non-linear weighted average. This means that the three color components do not contribute equally to the brightness of each pixel. This is useful for producing a Black & White television or nighttime perception effect.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
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

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 311
box