1. A method for creating a representation of a three-dimensional contour of an ear canal comprising: imaging said ear canal using an optical coherence tomography imaging sensor to: generate a plurality of signals at a plurality of positions in said ear canal; detect reflected signals corresponding to the respective signals; and create a plurality of cross section images based on the reflected signals; recording the position of said sensor at each position in said plurality of positions; identifying a boundary of an interior of said ear canal for each cross section in said plurality of cross section images, the identifying comprising: setting a contour line as a zero-level set of points of a two-dimensional function; and using a region-based algorithm and a level-set coordinate system to control an evolution of the contour line to identify the boundary; combining said plurality of cross section images as a function of said identified boundaries and said recorded positions to create a three dimensional representation of at least a portion of said ear canal; and editing by a user said three dimensional representation of at least the portion of said ear canal by reshaping said three dimensional representation.