A Novel Approach to the Unsupervised Extraction of Reliable Training Samples From Thematic Products