A Theoretical Framework for Change Detection Based on a Compound Multiclass Statistical Model of the Difference Image