Skip to main content
Skip table of contents

Intensity

Segment objects from measurements using intensities in the different bands/wavelengths

Parameters

Convert to

If the spectral data should be converted before applying the expression. Learn more inChanging spectra. No conversion will be made if the data already is the same format.

Expression

Write expression. Band numbers are denoted b[N] e.g. b1 and wavelengths are denoted w[nm] e.g. w1200. The following comparators can be used for the expression:

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

Note that Breeze does not validate the provided expression until you click Apply changes to apply it to some data.

Expand to see all available operators

Arithmetic Operator

Description

-

Subtract

+

Add

/

Divide

*

Multiply

%

Modulo

^

Raised to a power

Generic Operator

Description

:

Range operator, average a range of values. For example: w1200:w1500 yields average value of all data points between wavelength 1200 nm and 1500 nm.

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

Variable names that can be used in the expression:

  • MinValue

  • MaxValue

  • AvarageValue

Pretreatments

In top-down applied order ⬇️ , meaning Savitzky-Golay is applied first then Derivative and so on.

  • Savitzky-Golay

  • Derivative

  • SNV (Standard Normal Variate)

  • Logarithm

  • Center

  • UV (Unit Variance) scaling

For more on each type of pretreatment see: Pretreatments

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 x numbers of pixels at the borders of the objects included in images.

Separate

  • Normal

    • Can have both separated and combined objects.

  • Separate adjacent 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.

Descriptors after object will be calculated for all three segmentations (Sample1, Sample2 and Sample3)

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

Example

Using band numbers

Expression: (b10 > 1.5 | b15 < 2) & b20 <= 1.2


Using wavelengths

Expression: (w980 > 1.5 | w1024 < 2) & w1200 <= 1.2


Use variables for the expression

Expression: w980 > AvarageValue

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.