A relative motion model for myocardial infarction detection