Estimate the length of the ridge line, which is composed of local maxima at adjacent CWT scales. The ridge line is cut off at the end point, whose amplitude divided by the maximum ridge amplitude is larger than the cutoff amplitude ratio threshold (0.5 by default).
估计脊线在相邻小波变换尺度,这是局部最大值组成的长度。在终点,其幅度由除以最大山脊振幅比截止幅度比阈值(默认为0.5)的脊线被切断。
用法----------Usage----------
getRidgeLength(ridgeList, Th = 0.5)
参数----------Arguments----------
参数:ridgeList
a list of identified ridges
确定脊列表
参数:Th
the cutoff amplitude ratio (the amplitude divided by the maximum amplitude of the ridge) threshold of the ridge line end.
截止振幅比(除以脊最大振幅的幅度)阈值的脊线的一端。