Given a $4 \times 4$ image, find the $4 \times 4$ median filtered output using the $3 \times 3$ window with the borders zero-padded.
(i)
$$
x(m, n)=\left[\begin{array}{llll}
201 & 195 & 191 & 169 \\
210 & 201 & 181 & 157 \\
213 & 207 & 190 & 166 \\
204 & 204 & 197 & 159
\end{array}\right]
$$
(ii)
$$
x(m, n)=\left[\begin{array}{llll}
138 & 163 & 162 & 177 \\
148 & 157 & 167 & 175 \\
153 & 165 & 160 & 178 \\
157 & 162 & 164 & 188
\end{array}\right]