Text this: Contrast enhancement for medical images based on histogram equalization followed by median filter