Use expressions to calculate properties of individual classes in a category.

The last Expression can be true which will imply that the last expression will always be assigned if all above evaluates as false

Parameters

Category

Choose which classification category to use.

Expression

The expressions are applied in order top-down

Choose a class from the category and write the expression for it.

The operators that can be used:

  • Equals - =

  • And - &

  • Or - |

  • Less than - <

  • Less or equal - <=

  • Larger than - >

  • Larger or equal - >=

  • Different from !=

The parameters that can be used:

  • Area

  • Length

  • Width

  • Circumference

  • Regularity

  • Roundness

  • Angle

  • D1

  • D2

  • X

  • Y

  • MaxBorderDistance

  • BoundingBoxArea

Pretreatments

Select any pretreatments to apply to the spectrum prior to expression evaluation, see Pretreatments