Top
Menu

POF-ML

Aggregation

Here is listed and described the PUs of the aggregation category.

cvf - Coefficient of Variation (Float)

The cvf PU computes the coefficient of variation pixel per pixel of all the specified children PUs.

Syntax

cvf(child1,child2[,...])

Input

This PU takes in input at least two (2) PUs with one sample per pixel.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one float sample per pixel (NaN for background).

lc - Linear Combination

The lc PU computes a linear combination between several children PUs. The formula applied is the following: x1*child1 + x2*child2 + ... + xN*childN

Syntax

lc(x1,child1[,x2,child2[,...[x10,child10]]])

Input

This PU takes in input a list of tuple coefficient/PU (at least one tuple).

Parameters

  • xN - is the coefficient of the Nth tuple.
  • childN - is the child PU of the Nth tuple.

Output

The output is a PU with one 8-bits unsigned integer sample per pixel (0 for background).

max - Maximum

The max PU retrieves the maximum value among all the specified children PUs.

Syntax

max(child1,child2[,...])

Input

This PU takes in input at least two (2) PUs with one sample per pixel. All the PUs should have the same data type.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one sample per pixel. The output data type is the same as in input.

mean - Mean

The mean PU computes the mean value of all the specified children PUs.

Deprecated: prefer the "meanf" PU.

Syntax

mean(child1,child2[,...[,child10]])

Input

This PU takes in input at least two (2) PUs with one sample per pixel. All the PUs should have the same data type.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one sample per pixel. The output data type is the same as in input.

meanf - Mean (Float)

The meanf PU computes the mean value of all the specified children PUs and return it as a float value.

Syntax

meanf(child1,child2[,...])

Input

This PU takes in input at least two (2) PUs with one sample per pixel.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one float sample per pixel.

min - Minimum

The min PU retrieves the minimum value among all the specified children PUs.

Syntax

min(child1,child2[,...])

Input

This PU takes in input at least two (2) PUs with one sample per pixel. All the PUs should have the same data type.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one sample per pixel. The output data type is the same as in input.

over - Overlay

The over PU performs an overlay of all the children PUs. The first parameter will be drawn at the top and the last at the bottom.

Syntax

over(child1,child2[,...[,child10]])

Input

This PU takes in input at least two (2) PUs with one sample per pixel. All the PUs should have the same data type.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one sample per pixel. The output data type is the same as in input.

stdev - Standard Deviation

The mean PU computes the standard deviation value of all the specified children PUs.

Deprecated: prefer the "stdevf" PU.

Syntax

stdev(child1,child2[,...[,child10]])

Input

This PU takes in input at least two (2) PUs with one sample per pixel. All the PUs should have the same data type.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one sample per pixel. The output data type is the same as in input.

stdevf - Standard Deviation (Float)

The stdevf PU computes the standard deviation value of all the specified children PUs and return it as a float value.

Syntax

stdevf(child1,child2[,...])

Input

This PU takes in input at least two (2) PUs with one sample per pixel.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one float sample per pixel.

sum - Sum

The sum PU computes the sum value of all the specified children PUs.

Syntax

sum(child1,child2[,...[,child10]])

Input

This PU takes in input at least two (2) PUs with one sample per pixel. All the PUs should have the same data type.

Parameters

  • childN - is the Nth child PU.

Output

The output is a PU with one sample per pixel. The output data type is the same as in input.