Optical filters for on-line image processing in microscopy