Automatic border detection of the left ventricle and quantification of intracardiac volumes