I am trying to learn how to apply unsupervised classification to spatial data. In near infra red satelite pictures; the ocean is dark and the forest is white. Each pixel in such an image is an observation. I guess the variables are [x-position, y-position, grayscale]?
Which methods could I use to classify the pixels into ocean and forest? I want to ensure that the points in the classes forms spatially connected regions (e.g. no single trees in the ocean).
Thanks in advance for any answers!