Text this: A localised cloud detection and masking method using spectral analysis