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

Parameters

Expression

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

  • Area

  • Length

  • Width

  • Circumference

  • Regularity

  • Roundness

  • Angle

  • D1

  • D2

  • X

  • Y

  • MaxBorderDistance

  • BoundingBoxArea

Variable names that can be used in the expression:

  • MinValue

  • MaxValue

  • AvarageValue

  • MinWavelengthValue

  • MaxWavelengthValue

  • AverageWavelengthValue

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

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.

Pretreatments

Apply one or more pretreatments, see Pretreatments

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