Text this: Medical imaging through histogram equalization and canny edge detection method