I have a problem, I am trying to implement a median filter. The task to be solved is to calculate a median filter on a matrix, which has to be repeated x times. The problem I h