A method for delivering an elongated
medical device along a path to a target location using a
catheter procedure
system, comprising: generating a
mask of the path, tracking a position of a
distal portion of the elongated
medical device based on a set of real-time images, and determining a remaining
path length based at least on the position of the
distal portion of the elongated
medical device. The remaining
path length is the distance between the
distal portion of the elongated medical device and the target location. As the distal portion of the elongated medical device approaches the target location, the remaining
path length decreases. The method also includes: updating the remaining path length during movement of the elongated medical device; determining whether the distal portion of the elongated medical device deviates from the path; if the distal portion of the elongated medical device deviates from the path, adjusting the position of the elongated medical device; monitoring the distal portion of the elongated medical device in the real-time image set to identify prolapse; and advancing the elongated medical device to the target location at a speed determined based at least on the remaining path length.