denoise function

Remove or retain "noise" in a raster using PCA