Added bilateral filter.