A method comprises receiving anatomic image data comprising a plurality of graphical units and generating an initial segmented set of the plurality of graphical units associated with an anatomic tree structure. The method also comprises receiving an indication of a first user selected graphical unit from the plurality of graphical units and applying a cost function to determine a first sequence of the plurality of graphical units from the first user selected graphical unit to the initial segmented set of the plurality of graphical units.