Change pixel interpolation/extrapolation methods for masks warping