Estimating coronary artery lumen area with optimization-based contour detection