This software implemented the edge adjustment step described in Section 4.4 of the following reference:
[1] Li Xu, Cewu Lu, Yi Xu, Jiaya Jia, "Image Smoothing via L0 Gradient Minimization",  ACM Transactions on Graphics, (Proc. SIGGRAPH Asia 2011),  Vol. 30, No. 6, 2011. 
This software is released for research purpose only. 
Example
EdgeAdjust  oriimg, smoothimg, output, [labelimg], [sigma], [gamma]

oriimg - the file name of the original image
smoothimg - the file name of the L0 filtered image
output - the edge-adjusted result
labelimg - the selected scale map 
sigma - range of the scales, (see Eq. 15 of [1])
gamma - regularization weight, (see Eq. 15 of [1])

Version: 1.1  
Date: 2011/09/02


