Files | |
| file | psBinaryOp.h |
| Provides binary functions for simple matrix and vector element operations. | |
| file | psUnaryOp.h |
| Provides unary functions for simple matrix and vector element operations. | |
Functions | |
| psMathType * | psBinaryOp (psPtr out, const psPtr in1, const char *op, const psPtr in2) |
| Perform simple binary arithmetic with images or vectors. | |
| psMathType * | psUnaryOp (psPtr out, const psPtr in, const char *op) |
| Perform simple unary arithmetic with images or vectors. | |
|
||||||||||||||||||||
|
Perform simple binary arithmetic with images or vectors. Performs addition, subtraction, multiplication, division, power, minumum, and maximum arithmetic operations with images and vectors. Uses the form: out = in1 op in2, Where op is: "=", "+", "-", "*", "/", "^", "min", or "max" This function only supports vector-vector or image-image operations.
|
|
||||||||||||||||
|
Perform simple unary arithmetic with images or vectors. Performs absolute value, exponent, natural log, power of 10, log, sine, cosine, tangent, arcsine, arccosine, or arctan. operations with images and vectors. Uses the form: out = op(in), Where op is: "abs", "exp", "ln", "ten", "log", "sin", "cos", "tan" "asin", "acos", "atan", "dsin", "dcos", dtan", "dasin", "dacos", or "datan". Trigometric Operations with "d" prefix use units of degrees. Those without are in radians. This function only supports vector-vector or image-image opertions.
|
1.4.2