Detection of viable myocardium and scar tissue