k5924 / Elevation

An Elevation detection app made in Java for CSI_5_ADP_2021

Home Page:https://k5924.github.io/p/elevation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elevation

Introduction

We are provided with a working application that searches a raster of elevation data for regions of relative flatness. The raster is an image in which each pixel represents an elevation for a point on the terrain. The application can be imagined to be searching for potential landing sites for an aircraft or spacecraft of some kind. rgbelevation contains example images to use with the program

SearchUIEnhancement

  1. Run the search on a worker thread so the UI doesnt freeze
  2. Display output from the searcher in the text area under the raster
  3. A user can cancel the operation and quit the program by closing the window
  4. A user can cancel the operation without quitting the program through a cancel button
  5. A progress bar is updated each second by a dedicated thread that monitors the progress of the search

Parallelisation

  1. Make a class that extends recursive action which searches the raster for points of elevation
  2. Implement a compute method to make new threads in the fork join pool
  3. Discard information and update messages from the search listener

Considerations

All code must implement thread-safety correctly

Languages and Tools:

java

About

An Elevation detection app made in Java for CSI_5_ADP_2021

https://k5924.github.io/p/elevation/

License:MIT License


Languages

Language:Java 100.0%