MRF-Based Remote-Sensing Image Classification with Automatic Model Parameter Estimation