This repository contains the example code for results presented in Nowosad, J., Stepinski T. F. Generalizing the Simple Linear Iterative Clustering (SLIC) superpixels.
To reproduce the following example, you need to install several R packages and download a dataset.
You can find the packages' installation code in R/00-packages_installation.R
and all of the steps necessary to download and prepare the data are in R/01-prepare_data.R
.
Superpixels of spatial patterns in categorical data - R/02-create_superpixels.R