SAR despeckling based on soft classification