Skip to content

AveryLor/tracingCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tracingCode

This repository contains the code for tracing the glacier outline in an image and fitting a polynomial to the traced points. The model is intended for analyzing the glacier's shape and estimating its volume based on its cross-sectional area.

All of this was built for the APS163 modelling essay by Avery Lor.

Features

  • Image Tracing: Allows users to trace the glacier's outline directly on an image.
  • Polynomial Fit: Fits a polynomial to the traced points to model the glacier's outline.
  • Visualization: Displays the original image with the fitted polynomial overlayed for easy visual inspection.
  • Data Output: The traced points are saved for future analysis, and the polynomial equation is displayed.

Requirements

Before running the code, make sure you have the following libraries installed:

  • numpy - for numerical computations
  • matplotlib - for plotting and visualization

You can install these dependencies using pip:

pip install numpy matplotlib

About

This script traces the image of the Blomstrand Glacier, in Svalbard, Norway from 1918 to 2018 and models it as a polynomial function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages