This repository contains MATLAB scripts and datasets for landslide susceptibility mapping using deep neural networks on geospatial raster data.
resize.m- Preprocess and resize raw raster TIFF datasets.resizedmapping.m- Train neural network and generate susceptibility maps from resized raster features.Dataset/- Contains resized TIFF raster files (labeled as original) scaled to 500×500 resolution andLandlsides.csvfor landslide locations.uttarakhand_susceptibility_map_nn_colored.png- Example output susceptibility map image.
The Dataset/ folder contains geospatial TIFF raster files and a CSV file with landslide point data (latitude and longitude).
Important: The TIFF files are resized versions scaled to 500×500 resolution but are labeled with original filenames for convenience.
You can replace the files in the Dataset/ folder with your own geospatial TIFF maps of any size or resolution, along with a corresponding CSV file containing landslide locations.
The resize.m script will automatically resize input TIFF maps for neural network processing, enabling analysis for any geographic region using your own data.
-
Run
resize.min MATLAB to preprocess and resize TIFF files, and extract features from landslide points. -
Run
resizedmapping.mto train the neural network model, generate susceptibility maps, and evaluate accuracy.
You can clone this repository directly from MATLAB:
-
Using the MATLAB GUI:
Go to the Home tab, click on Clone or Check Out Git Repository, paste the repository URL, select a folder, and click Clone. -
Using MATLAB Command Window:
Run the following command, replacing the URL with this repository's link:
!git clone https://github.com/Photon079/Landslide-susceptibility-mapping.git
After cloning, change the Current Folder to the cloned repository and run the MATLAB scripts as needed.
- TIFF files in this repo are resized to 500×500 pixels.
- When adding custom datasets, preprocessing will handle resizing automatically.
- Ensure landslide CSV matches geographic locations in the TIFF maps.
- MATLAB (Image Processing Toolbox recommended)
- Basic knowledge of MATLAB scripting and geospatial data handling
Feel free to open issues, fork, or submit pull requests. Contact the project owner for collaboration.
Thank you for exploring this project! 😊