# Unmixing (segmentation)

Use the spectral information from pure samples in the endmembers to create objects from the expression criteria for segmentation.

## Parameters

### Method

Use one of the following regression methods to compare the end members spectrum to the measurements:

• None Negative Least Squares

• Sum To One Least Squares

### Scatter correction

Select one of the options below

• None

• No scatter correction applied.

• Baseline

• A constant scatter correction is applied.

• Slope

• A linear scatter correction is applied.

• Parabola

• A quadratic scatter correction is applied.

### Expression (Optional)

To include extra expression.

### Expression

Write in the expression you want to apply. The following comparators can be used for the expression:

Standard arithmetic (+,-,/,* …) and comparison operators (=,>,< …) as well as some mathematical expressions (…) and constant values can be used in expressions.

Expand to see all available operator

Arithmetic Operator

Description

-

Subtract

+

/

Divide

*

Multiply

%

Modulo

^

Raised to a power

Comparison Operator

Description

=

Equal to

|

OR

TRUE if any of the conditions separated by OR is TRUE

&

AND

TRUE if all the conditions separated by AND is TRUE

!=

<>

Not equal to

<

Less than

<=

Less than or equal to

>

Greater than

>=

Greater than or equal to

Function operator

Description

SQRT(N)

SIN(N)

COS(N)

EXP(N)

LOG(N)

LOG10(N)

AVG(N)

ROUND(N)

Constants

Description

TRUE

Always evaluates to TRUE

FALSE

Always evaluates to FALSE

INF

token value

PI

approximated to 3.14159

Example: (Filename of end member 1) > 1 | (Filename of end member 2) < 0.5

### Range

Write in the wavelength range to use. If left empty all wavelengths are included.

### End Members (1-10)

Select files containing End members for each pure sample.

### Min area

The minimum number of pixels for an object to be included.

### Max area

The maximum number of pixels for an object to be included.

If 0 no maximum area is defined.

### Object filter

Use an expression to further exclude unwanted objects based on shape.

Properties that can be used for the Expression:

• Area

• Length

• Width

• Circumference

• Regularity

• Roundness

• Angle

• D1

• D2

• X

• Y

• MaxBorderDistance

• BoundingBoxArea

For details on each available property see: Object properties Details

### Shrink

Takes away numbers of pixels at the borders of the objects included in images.

### Separate

• Normal

• Can have both separated and combined objects.

• All objects are defined separately.

• Merge all objects into one

• All objects are defined as one.

• Merge all objects per row

• All objects per row segmentation are defined as one.

• Merge all objects per column

• All objects per column segmentation are defined as one.

Only visible when applicable

Link output objects from two or more segmentations to top segmentation. Descriptors can then be added to the common object output and will be calculated for objects from all segmentations.

The segmentations must be at same level to be available for linking.

JavaScript errors detected