Article accepted for publication in Medical & Biological Engineering & Computing