SVM-based cloud detection aided by contextual information