Chain together Ridges of Wavelet Transform
[skellist,skelptr,skellen] = BuildSkelMapFast(maxmap)
matrix MMWT
storage for list of chains
vector of length nchain -- pointers to head of chain
vector of length nchain -- length of skellists
A chain is a list of maxima at essentially the same position across a range of scales. It is identified from the maxmap data structure output by WTMM by finding a root at coarse scales and identifying the closest maxima at the next finest scale. NO PROVISION IS MADE FOR 'terminating' A CHAIN before the finest scale is reached.
nchain = len(skellen) chains are found. A chain data structure is a list of scale-location pairs All chains are stored together in skellist. The k-th list begins in skellist at skelptr(k) The k-th list has length skellen(k)