Update or add custom-created classes. The update or new class will be assigned if the expression is satisfied.
The last Expression can be
true which will imply that the last expression will always be assigned if all above evaluates as false
Choose the classification descriptor to modify.
Choose a class from the category and write the expression for it.
The operators that can be used:
Less than -
Less or equal -
Larger than -
Larger or equal -
The parameters that can be used:
Apply one or more pretreatments to spectrum, see Pretreatments
✅ Replace the classification column in the table.
⬜ Do not replace the classification column in the table instead adds a new column.
roundness < 10 & area >5
Indexing with 1 based index in band list.
(b10 >1.5 | b15 < 2) & b20 <= 1.2
Number of pixels by a implicit and explicit given class
[class A][ number > 10] -> Number of pixels of Class A more than 10
[class B][ precentClassA <= 10] -> Number of pixels of Class A less or equal to 10
Percent of pixels the total object, by a implicit and explicit given class
[class A][ percent > 0.5] -> percent of pixels of Class A more than 50%
[class B][ precentClassA <= 0.5] -> percent of pixels of Class A less or equal to 50%
Number of pixels of the largest connected class-object within the object.
[class A][ connected > 10] -> Number of connected pixels of Class A more than 10
[class B][ connectedClassA <= 10] -> Number of connected pixels of Class A less or equal to 10
Compare predicted class with explicit given class
[New Class][class = classA] => Create New Class if predicted class equals to class A
[New Class][class != classB and class != classNone] => Create New Class if predicted class is not class B and not no class
No class is specified as
Wire detection algorithm using kernel
iswire + kernel size, default is 3.
iswire, iswire3, iswire5
For assigning variables values which can be updated at runtime. The default value will be restored after each
var("Variable name", Default value)
var("Variable A", 10)
For comparison based on a class related value.
Implicit- Within the class expression
Explicit - Sets given class after name