A Fast and reliable switching median filter for highly corrupted images by impulse noise