The process of finding multiple edges: (a), (c), and (e) are a flattened graph constructed from gradient images of the airway lumen, the mucosa and the submucosa layer; (b), (d), and (f) are the corresponding shortest paths obtained by the DP algorithm of (a), (c) and (e), respectively; (g) is the original OCT image overlaid with the edges detected.