Essa é uma revisão anterior do documento!
Rule-Based Classification
This example shows how to perform a single classification of pools and roofs through rule-based classification.
This project is called “rule_based_classification” and uses the Tow Down operators TerraAIDA_Baatz_Segmenter and Dummy Top Down, and the Bottom Up operator Generic Bottom Up.
The InterIMAGE interpretation project can be downloaded here: ?????
Start InterIMAGE, click on File, New Project, and type the fields according the following:
Now insert three nodes, namely pools, roofs and background. All these three nodes will have the Top Down operator TerraAIDA_Baatz_Segmenter, as showed below.
All nodes, including node Scene, will have the Bottom Up operator Generic Bottom Up, with the following rule:
To classify, we can use the attribute ratio for band 1, as the following:
- pools
- ratio(band 1) < 0.3
- roofs
- ratio(band 1) > 0.4
- background
- ratio(band 1) >= 0.3 AND ratio(band 1) < = 0.4
Then we insert these rules in the three nodes, by clicking in TopDown Decision Rule. Note: Select the option No Merge, as the Lower-level Rule for all Top Down nodes.
After inserting the rules and starting the project, the resultant classification will show as the following: