How to import trees based on an Inference Overlay

From Tygron Preview Support Wiki
Revision as of 14:31, 10 October 2024 by Frank@tygron.nl (talk | contribs)
Jump to navigation Jump to search

General steps:

  • Add a Satellite Overlay and configure an inference overlay
    • Select neural network named foliage
    • Specify prequel to satellite image
    • Lower mask and score thresholds to 0.3
    • Add all result type overlays
  • Calculate the overlay
  • Building -> import geo data
    • Import method: A Grid Overlay Legend
    • Overlay: Inference Overlay, frame 0, Select all legend entries
    • Check: Convert Geometry to Buffered Centerpoint
    • No filtering
    • Import as new Building with attributes
    • Assign one function: Standaard Loofbomen (Default Decidious tree)
    • One Stakeholder
Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar)
How to detect foliage based on an Inference Overlay:
  1. First add a Satellite Overlay. This will be used as input for the Inference Overlay.
  2. Add an Inference Overlay
  3. With the Inference Overlay added and selected, click on the wizard button in the Overlay's detail panel
  4. Once the wizard is ready, click next
  5. In the Select Model step, click on the Select button to open the neural network selection panel.
  6. In the selection panel, select the Neural Network named foliage.onnx and click next to advance the wizard.
  7. In the Input Tensors step, verify that multiple input tensors are recognized and click next. These should be correctly configured.
  8. In the Input prequels step, select the Input Prequel 'A', and under Overlay, select the Satellite Overlay. Click next.
  9. In the Output Tensors step, verify that output tensors are present, click next.
  10. In the Settings step, select the Score Threshold and adjust it to 0.3. This will lower the threshold to accept identified trees.
  11. In the Settings step, select the Mask Threshold and adjust it to 0.95. This will raise the threshold to include pixels of identified trees.
  12. Verify that the Inference Mode is set to BBOX_DETECTION and click next.
  13. In the Overlays step, select all result overlay types and click finish.


How to import trees based on Inference Overlay results:
  1. Follow the steps of How to detect foliage based on an Inference Overlay]],
  2. Select Current Situation in the ribbon bar,
  3. Hover over Buildings, and select the option Import Geo Data,
  4. Once the Geo Data Wizard is ready, click next,
  5. In the Import method step, select the option 'A Grid Overlay Legend' and click next
  6. In the Select Grid Overlay step, for Overlay, select the Inference Overlay added in the previous How-to.
  7. Click on the select all button for the included legend entries and click next.
  8. Inspect the identified legend polygons in the View Features step.
  9. Since we want to import the data as tree, select the option convert geometry to buffered centerpoint.
  10. In the Filter Features step, click on the Select button to open the neural network selection panel.
  11. In the Add or Update step, select the option import as new Building with attributesand click next.
  12. Select a naming scheme suitable to your needs and click next.
  13. Import all attributes and click next.
  14. Either import the features using one function, or use a custom mapping based on the VALUE attribute.
  15. In the Assign Stakeholders step, select any option and click next.
  16. In the finalize step, click next to import the features as tree trunks using the chosen centerpoint option.