Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
interimage:examples:rule_based_classification [2010/06/17 14:36] tkorting |
interimage:examples:rule_based_classification [2010/09/14 11:42] (current) tkorting |
||
---|---|---|---|
Line 3: | Line 3: | ||
This example shows how to perform a single classification of pools and roofs through 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//. | + | This project is called "Rule_based_classification" and uses the Top Down operators //TA_Baatz_Segmenter// and //Dummy Top Down//, and the Bottom Up operator //Generic Bottom Up//. |
===== Download ===== | ===== Download ===== | ||
- | {{:interimage:examples:interimage_examples_rule_based_classification.zip}} | + | {{:interimage:examples:ta_interimage_examples_rule_based_classification.zip}} |
===== Step-by-step ===== | ===== Step-by-step ===== | ||
- | Start InterIMAGE, click on //File//, //New Project//, and type the fields according the following: | + | Start InterIMAGE, click on //File//, //New Project//, and type the fields according to the following: |
{{:interimage:examples:new_project_rule_based_classification.png?400}} | {{:interimage:examples:new_project_rule_based_classification.png?400}} | ||
- | 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. | + | Now insert three nodes, namely //pools//, //roofs// and //background//. All these three nodes will have the Top Down operator //TA_Baatz_Segmenter//, as shown below. |
{{:interimage:examples:nodes_rule_based_classification.png?600}} | {{:interimage:examples:nodes_rule_based_classification.png?600}} | ||
Line 23: | Line 23: | ||
{{:interimage:examples:rule_based_classification_bottomups.png?400}} | {{:interimage:examples:rule_based_classification_bottomups.png?400}} | ||
- | To classify, we can use the attribute //ratio// for band 1, as the following: | + | To classify, one can use the attribute //ratio// for band 1, as follows: |
* //pools// | * //pools// | ||
Line 32: | Line 32: | ||
* ratio(band 1) >= 0.3 AND ratio(band 1) < = 0.4 | * 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. | + | Then one inserts 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. |
{{:interimage:examples:rule_based_classification_background_rules.png?400}} | {{:interimage:examples:rule_based_classification_background_rules.png?400}} | ||
- | After inserting the rules and starting the project, the resultant classification will show as the following: | + | After inserting the rules and starting the project, the resulting classification will look as follows: |
{{:interimage:examples:result_rule_based_classification.png?600}} | {{:interimage:examples:result_rule_based_classification.png?600}} |