Implement a weighted median filter (Sec. 6.4.3) as an ImageJ plugin, specifying the weights as a constant, two-dimensional int array. Test the filter on suitable images and compare the results with those from a standard median filter. Explain why, for example, the weight matrix
$$
W(i, j)=\left[\begin{array}{lll}
0 & 1 & 0 \\
1 & 5 & 1 \\
0 & 1 & 0
\end{array}\right]
$$
does not make sense.