In this algorithm, dynamic programming is used to calculate optimal local cosine tree during the LCT for signals, and the optimal entropy code is gained by the best partition of time axes.
A method of region partition based on the curvature variation of data points is proposed. This algorithm is simple in principle, easy for understanding and programming.