histology analyser - replaced gaussian filter with median filter