A fully automatic system for segmentation and analysis of the left and right ventricles of the heart using a bi-temporal two-component model