add 3st lab, median filter