I have an assignment in the collage that to implement the median filter with this pseudo-code, I don\'t understand what is the problem if I edit on the image itself.