Normalized Difference Vegetation Index (NDVI) is a remote sensing technique that quanifies and visualizes vegetation health. It works by measuring the difference between the reflectance of near-infrared (NIR) and visible red light. Healthy vegetation typically absorbes more visible light and reflects more NIR light, resulting in higher NDVI values. NDVIs can be particularly helpful for crop momotiring and management, identifying drought, land cover classification, ecosystem monitoring and climate change studies. An NDVI can be preformed using Rscript relatively simply using sattelite imagery.
K-Means classification is an unsupervised classification method that operates by dividing data into clusters based on similarity and proximity to calculated centroids. This classification method can be useful to classify land cover and preform change detrections. In the context of this analysis however, the K-menas plot aids in data comprehension.
The workflow, in RStudio, uses a geoTIF data file of Sentinel 2 imagery from the Loch Tay area of Scotland (taycrop.tif). The file used has been cropped and undergone an atmospheric correction to make it easier to import. To replicate this analysis, download Houston_Data.zip from the repository, note thee file path you download it to and follow the code workflow from NDVI.HTML, NDVI3.Rmd (both are linked in the repository) or from NDVI3.pdf.