Generalized minimum-error thresholding for unsupervised change detection from SAR amplitude imagery