Single image rain/snow removal using distortion type information