Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:using_local_saturation [2013/07/24 17:18]
juliana
tutorial:using_local_saturation [2013/07/27 19:41]
juliana
Line 3: Line 3:
  
 Load the model “simulate_deforestation_using_local_saturation.xml” from \Examples\advanced\local_saturation Load the model “simulate_deforestation_using_local_saturation.xml” from \Examples\advanced\local_saturation
-Local saturation prevents a change from occurring within a specific region, in which a class area is greater than an established threshold (figure bellow). This feature is useful to simulate diffusion process as well as to establish a minimum forest remaining area (as established by the Brazilian forest code for private properties). Local saturation can be implemented by reducing the probability of a transition using an asymptotic function as follows:+Local saturation prevents a change from occurring within a specific region, in which a class area is greater than an established threshold (Fig.1). This feature is useful to simulate diffusion process as well as to establish a minimum forest remaining area (as established by the Brazilian forest code for private properties). Local saturation can be implemented by reducing the probability of a transition using an asymptotic function as follows:
  
 **P2 = P1 * (Li – Oc) / (Li + Oc), case Li >= Oc\\ **P2 = P1 * (Li – Oc) / (Li + Oc), case Li >= Oc\\
Line 17: Line 17:
  
  
-[{{ :​tutorial:​advanced_21.jpg |Two landscapes without and with local saturation effect}}]+[{{ :​tutorial:​advanced_21.jpg |Fig.1 Two landscapes without and with local saturation effect}}]
  
 Three //Calculate Map// functors are added to a deforestation simulation model in order to incorporate the saturation effect. Open them to see their equations. The first one assigns “1” to deforested cells and “0” to forest. The second counts the amount of cells deforested within a window size 3x3. It uses a neighborhood operator as follows: ​ Three //Calculate Map// functors are added to a deforestation simulation model in order to incorporate the saturation effect. Open them to see their equations. The first one assigns “1” to deforested cells and “0” to forest. The second counts the amount of cells deforested within a window size 3x3. It uses a neighborhood operator as follows: ​