A semi-automated method for edge detection in the evaluation of left ventricular function using ECG-gated single-photon emission tomography