Text this: Medical image enhancement with brightness and detail preserving using multiscale top-hat transform by reconstruction