IceMan Reference Guide |
Most of these functions correspond to the C math library equivalents, and are called on a per-pixel basis. Given the limited precision of Fractional and FixedPoint types, some operations must be used with care. (Values are automatically clamped to the legal range).
Add two images.
Add two images, but wrap the result so that it falls in the range 0-1. Something like a floating point modulo operation.
Inverse tangent operation. The image being operated upon is the perpendicular, or y.
Divide one image by another: the image being operated upon is the numerator.
Compute the hypotenuse of a triangle: the image being operated upon is the first operand.
Result is the maximum of the two inputs.
Result is the minimum of the two inputs.
Multiply two images. The multiplier is the image being operated upon.
Mutiply image a by b and add c.
Implements a * (1 − b). a is the image being operated upon.
Return 0 if less than the lower threshold, 1 if greater than the upper threshold, and smoothly varying in between. (A cubic is used, with c1 continuity at both ends).
Subtract two images. The minuend is the image being operated upon.
Pixar Animation Studios
|