这段Matlab代码实现了基于逐段线性近似的快速双边滤波算法,该算法源于论文 Fast Bilateral Filtering for the Display of High-Dynamic-Range Images。代码经过优化,运行效率高,但注释较少,适合有一定基础的用户使用。