Edge detection on ultrasound cardiac images using mathematical morphology and active contours