How to select specific input data for A.I. Inference

From Tygron Preview Support Wiki
Jump to navigation Jump to search

[Work In Progress]

Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar)

It is possible to mask the image layer of a satellite input in a Combo Overlay. This way you can specifically in- or exclude certain areas from the Inference Overlay. Below you will find two examples, which require that you already have a regular inference overlay set up.

Exclude open water areas from an Inference Overlay

How to exclude open water from an Inference Overlay:
  1. Add an Average Overlay, we will use this to assign water areas.
  2. With this overlay selected, set the input options to "Attribute: Specific Layer" and "Terrains".
  3. Because we want a sharp distinction between water and land, we set the cell averaging distance to 0 meters.
  4. As attribute to look for, we select "WATER".
  5. Select finally "Update Now", and you have created an overlay that displays all open water areas.
  6. Now add a Combo Overlay.
  7. Select the Original Satellite overlay as input for Grid A.
  8. Select the Avg Water Terrains overlay as input for Grid B.
  9. Enter the following formula: "IF(GT(B, 0), NO_DATA, A)". This formula checks wether a point is in a water area. If so, return no data, else return the satelite image.
  10. Select again "Update Now".
  11. Now use this new combo overlay with a fitered satelite image as input for your inference overlay, and update. You have now excluded open water areas from your inference overlay.