Coder Social home page Coder Social logo

torhaa1 / dem_superresolution Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 82.11 MB

Exploring super-resolution upscaling of DEM data using the 2023 GISR model.

Jupyter Notebook 99.39% Python 0.61%
digital-elevation-models image-upscaling super-resolution gisr

dem_superresolution's Introduction

DEM Super-Resolution

Project Description

This repository explores upscaling of Digital Elevation Model (DEM) data using a state-of-the-art super-resolution model. The model used is from the 2023 paper, "A Global-Information-Constrained Deep Learning Network for Digital Elevation Model Super-Resolution.". For more details and original implementation see the paper. The article demonstrated the model's ability in enhancing the resolution of DEM data beyond traditional bicubic interpolation methods, which are often considered the baseline to beat for super-resolution models on DEM data.

Challenges:

Traditional SuperResolution models that work well for RGB images do not always yield satisfactory results when applied to DEM data. RGB images and DEM data are inherently different in their composition and characteristics. While RGB images have three channels and a value range from 0 to 255, DEM data operates on a single channel and typically showcases a larger value range, such as from 0m to 4000m.

Model Details

Dataset

The freely available 25m resolution bathymetry DEM data used in this project represents the seafloor at the Mid-Atlantic Ridge, specifically the Mohns Ridge. It can be accessed here.

Methodology

  • Model: The GISR (Global-Information-Constrained Deep Learning Network for Generating Super-Resolution DEMs) model is employed. It operates on 64x64 pixel images to produce high-resolution outputs.
  • Training: Initialized with pre-trained weights from the authors, this model harnesses prior knowledge from training on a vast image pair dataset. Fine-tuning on own dataset refines performance. However, this requires a lot of data for optimal results.

Image Preparation:

  1. HR Images: Large HR images (1653x1624 pixels) are segmented into 64x64 pixel patches for ease of processing.
  2. LR Image Creation: Corresponding LR images are generated by down-sampling HR images using kNN, where each pixel value in the LR image is estimated based on its k nearest neighbors from the HR image.

High-res, Low-res pair

Figure: High-res, Low-res pair

Training Process:

  • The paired LR-HR images become the training data for the super-resolution model.
  • Training spans 239 epochs: 99 epochs with the pretrained weights followed by 140 epochs on own specific dataset.
  • During this phase, a batch size of 32 is maintained.
  • Performance is evaluated using the PSNR (Peak Signal-to-Noise Ratio) and SSIM (Structural Similarity Index) metrics.

While the model showcased promising results for small demonstrations, it was not particularly suitable for generalizing to a large-scale processing tool. This would require significant changes and code optimization.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.