In the task
catalog you will find the Landsat 8 scene from June 5, 2023,
showing the area of the Szamotuły county. Make an unsupervised classification,
which will consist of the following steps:
- List and load spectral bands.
- Load vector data and transform CRS.
- Crop raster data to the area.
- Scale the values and remove outliers.
- Prepare the matrix for classification (remove empty values and sample).
- Use the k-means algorithm for clustering and validate the results with
the silhouette index. Check how the results change depending on the number
of clusters. Optionally, you can test another clustering method.
- Try to interpret what the clusters represent using a boxplot and
RGB composition.
- Present the results on a map and choose the appropriate color scheme.