POF-ML
acos - Arccosine
The acos PU computes the arccosine value of a specified child PU.
Syntax
acos(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).
add - Addition
The add PU performs the addition between the two specified child PUs.
Syntax
add(child1,child2)
Input
This PU takes in input two PUs with one sample per pixel.
Parameters
- child1 - is the child PU of the addition left operand.
- child2 - is the child PU of the addition right operand.
Output
The output is a PU with one float sample per pixel (NaN for background).
asin - Arcsine
The asin PU computes the arcsine value of a specified child PU.
Syntax
asin(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).
atan - Arctangent
The atan PU computes the arctangent value of a specified child PU.
Syntax
atan(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).
atan2 - 2-argument arctangent
The atan2 PU computes the arctangent value of the two specified specified child PUs. Its equivalent to atan(child2/child1) (if child1 greater than 0).
Syntax
atan2(child1,child2)
Input
This PU takes in input two PUs with one sample per pixel.
Parameters
- child1 - is the child PU of the "x" operand.
- child2 - is the child PU of the "y" operand.
Output
The output is a PU with one float sample per pixel (NaN for background).
cos - Cosine
The cos PU computes the cosine value of a specified child PU.
Syntax
cos(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).
dif - Difference
The dif PU computes the difference value of the two specified child PUs.
Syntax
dif(child1,child2)
Input
This PU takes in input two PUs with one sample per pixel.
Parameters
- child1 - is the child PU of the left operand.
- child2 - is the child PU of the right operand.
Output
The output is a PU with one float sample per pixel (NaN for background).
div - Division
The add PU performs the division between the two specified child PUs.
Syntax
div(child1,child2)
Input
This PU takes in input two PUs with one sample per pixel.
Parameters
- child1 - is the child PU of the division left operand.
- child2 - is the child PU of the division right operand.
Output
The output is a PU with one float sample per pixel (NaN for background).
exp - Exponential
The exp PU computes the exponential value of a specified child PU.
Syntax
exp(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).
log - Logarithm
The log PU computes the logarithm value of a specified child PU.
Syntax
log(child[,base])
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
- base - is the base of the logarithm (optional - default is 'e').
Output
The output is a PU with one float sample per pixel (NaN for background).
mult - Multiplication
The mult PU performs the multiplication between the two specified child PUs.
Syntax
mult(child1,child2)
Input
This PU takes in input two PUs with one sample per pixel.
Parameters
- child1 - is the child PU of the multiplication left operand.
- child2 - is the child PU of the multiplication right operand.
Output
The output is a PU with one float sample per pixel (NaN for background).
poly - Polynomial function
The poly PU computes the result of user define polynomial function.
\( f(x) = c_0 + x^1 \times c_1 + x^2 \times c_2 \ + \ ... \ + \ x^n \times c_n \)
Syntax
poly(child,c0,c1[,c2,...,cN])
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU used as the variable of the polynomial function
- c0 - is the degree 0 coefficient.
- c1 - is the degree 1 coefficient.
- cN - is the degree N coefficient (optional - default is 0).
Output
The output is a PU with one float sample per pixel (NaN for background).
pow - Power function
The pow PU computes the result of user define power function.
Syntax
pow(child,const[,childIsExp])
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU. It could be used as the base or the exponent depending on the parameters "childIsExp".
- const - is a constant value used as the base or the exponent depending on the parameters "childIsExp".
-
childIsExp - is boolean that define if the child is used as exponent or as base (optional - default 0).
- 0 - child is used as base (child^const).
- 1 - child is used as exponent (const^child).
Output
The output is a PU with one float sample per pixel (NaN for background).
sin - Sine
The sin PU computes the sine value of a specified child PU.
Syntax
sin(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).
sub - Subtraction
The sub PU performs the subtraction between the two specified child PUs.
Syntax
sub(child1,child2)
Input
This PU takes in input two PUs with one sample per pixel.
Parameters
- child1 - is the child PU of the subtraction left operand.
- child2 - is the child PU of the subtraction right operand.
Output
The output is a PU with one float sample per pixel (NaN for background).
tan - Tangent
The tan PU computes the tangent value of a specified child PU.
Syntax
tan(child)
Input
This PU takes in input one PU with one sample per pixel.
Parameters
- child - is the child PU.
Output
The output is a PU with one float sample per pixel (NaN for background).