mid3 35 test/correctness/median3x3.cpp mid_x(x, y) = mid3(input(x-1, y), input(x, y), input(x+1, y)); mid3 40 test/correctness/median3x3.cpp mid_mid(x, y) = mid3(mid_x(x, y-1), mid_x(x, y), mid_x(x, y+1)); mid3 43 test/correctness/median3x3.cpp median3x3(x, y) = mid3(min_max(x, y), max_min(x, y), mid_mid(x, y));