A computer-implemented method for generating contours of anatomy based on user click points, the method comprising: displaying, by a computer, an image comprising an anatomical structure ; receiving, by the computer, a first user selection of a first click point at a first position on an outward facing edge of the anatomical structure ; applying, by the computer, a contour inference algorithm to generate an inferred contour around the outward facing edge based on the first position ; following generation of the inferred contour, receiving a second user selection of a second click point at a second position on the image ; creating a visual indicator on a segment of the inferred contour between the first position and the second position as indicative of the user's confirmation of accuracy of the segment , updating the inferred contour using the contour inference algorithm with a constraint requiring the segment to remain unmodified , following creation of the visual indicator, receiving one or more additional user selections of one or more additional click points at one or more additional positions on the image , identifying one or more leakages in the inferred contour, wherein the additional user selections of additional click points are located at positions corresponding to the one or more leakages, the one or more leakages in the inferred contour being identified using a computer and a machine learning model trained using a) a plurality of previously generated images of the anatomical structure and b) a plurality of inferred contours generated by applying the contour inference algorithm to the plurality of previously generated images; updating the visual indicator to cover a new segment of the inferred contour comprising the first position, the second position, and the one or more additional positions as indicative of the user's confirmation of accuracy of the new segment . displaying, by a computer, an image comprising an anatomical structure ; receiving, by the computer, a first user selection of a first click point at a first position on an outward facing edge of the anatomical structure ; applying, by the computer, a contour inference algorithm to generate an inferred contour around the outward facing edge based on the first position ; following generation of the inferred contour, receiving a second user selection of a second click point at a second position on the image ; creating a visual indicator on a segment of the inferred contour between the first position and the second position as indicative of the user's confirmation of accuracy of the segment , updating the inferred contour using the contour inference algorithm with a constraint requiring the segment to remain unmodified , following creation of the visual indicator, receiving one or more additional user selections of one or more additional click points at one or more additional positions on the image , identifying one or more leakages in the inferred contour, wherein the additional user selections of additional click points are located at positions corresponding to the one or more leakages, the one or more leakages in the inferred contour being identified using a computer and a machine learning model trained using a) a plurality of previously generated images of the anatomical structure and b) a plurality of inferred contours generated by applying the contour inference algorithm to the plurality of previously generated images; updating the visual indicator to cover a new segment of the inferred contour comprising the first position, the second position, and the one or more additional positions as indicative of the user's confirmation of accuracy of the new segment . <EOS>