1. A method comprising: applying a branch detection algorithm to a medical image to determine a plurality of branches of a blood vessel appearing in the medical image; determining a plurality of segments of the blood vessel appearing in the medical image, each of the plurality of segments being bounded by one of the plurality of branches; applying an edge detection algorithm piecewise to each of the plurality of segments; forming a composite blood vessel outline from the piecewise edge detection.