This repository holds code and data for the paper k-means on Positive Definite Matrices, and an Application to Clustering in Radar Image Sequences by Daniel Fryer, Hien Nguyen and Pascal Castellazzi.
The script R/SAR_application.R calls functions that save their intermediary results in Rds format. These functions check for previously saved results before executing. So, most computationally intensive tasks need not be repeated more than once -- making for easier / quicker interactive exploratory analysis!
After cloning this repo, and before running any scripts, download the files from the Zenodo archive and place them in SAR_app_data/MG without changing their file names. Download links:
"https://zenodo.org/record/4008883/files/CC_sub_norm.tif?download=1"
"https://zenodo.org/record/4008883/files/VH_sub_norm.tif?download=1"
"https://zenodo.org/record/4008883/files/VV_sub_norm.tif?download=1"
-
R/SAR_application.R is the script that produces all results in the paper.
-
SAR_app_data/MG contains pre-processed SAR data.
-
results contains figures and other results produced in the code.
{rsar}
📦 provides tools for working with radar images in SAR_matrix
format.
{tidyverse}
📦 for data manipulation and publication graphics.
{raster}
📦 for working with raster images.
{plotly}
📦 for interactive 3D scatter plots!
The authors must be acknowledged in any publications or applications that make use of the data in this repository.