.BG
.FN cfamily
.TL
Ridge Chaining Procedure
.DN
Chains the ridge estimates produced by the function "crc".
.CS
cfamily(ccridge, bstep=1, nbchain=100, ptile=0.05)
.RA 
.AG ccridge
unchained ridge set as the output of the function "crc"
.OA
.AG bstep
maximal length for a gap in a ridge.
.AG nbchain
maximal number of chains produced by the function.
.AG ptile
relative threshold for the ridges.
.RT
Returns the results of the chaining algorithm

ordered map: image containing the ridges (displayed with
different colors)

chain: 2D array containing the chained ridges, according
to the chain data structure:

  chain[,1]: first point of the ridge

  chain[,2]: length of the chain

  chain[,3:(chain[,2]+2)]: values of the ridge

nbchain: number of chains produced by the algorithm
.SE
.DT
"crc" returns a measure in time-frequency (or time-scale)
space. "cfamily" turns it into a series of one-dimensional
objects (ridges).
The measure is first thresholded, with a relative threshold value
set to the input parameter ptile. During the chaining procedure, gaps
within a given ridge are allowed and filled in. The maximal length
of such gaps is the input parameter bstep.
.SH REFERENCES
See discussion in text of "Practical Time-Frequency Analysis".
.SA
"crc" for the ridge estimation, and "crcrec", "gcrcrec"
and "scrcrec" for corresponding reconstruction functions.
.EX

