Compression using Median Filtering

This applet applies a median filter to an image to reduce detail. A run-length encoding algorithm is then applied to the result of the filtering process. The applet outputs a new window showing the image after the median filter process.

As in the other image compression applets, the original size of theimage is shown along with the size that results after the compression operation.

This applet also allows the user to specify the size of the window used in the median filter. The window is of size n x n, with n odd. The user has to enter the value of n. If the value entered is not odd, then the applet will round it to the next lowest odd number. Also, if the user 'forgets' to enter a number for the parameter n, the default chosen is 3.