On the ribbon, click
Raster Tools tab
Edit panel
Process Image drop-down menu
Convolve.
Click Smoothing Filters.
Click Expand All to expand the filter list.
Click Median Filter.
Click Run Filter to filter the image(s).
Enter a filter (or matrix) size. This filter uses a matrix for smoothing the pixels. For example, a filter size of 3 would filter each pixel by averaging the values of the 8 surrounding pixels.