Two-stage false contour detection using directional contrast and its application to adaptive false contour reduction