Finding the tip of the dorsal fin from the wavelet transform of the outline. A plot of the original chain code is shown on top, with increasingly coarse details below. The position of the tip is found on the coarsest (bottom) level, and tracked back through the finer levels to obtain a more accurate location.