Medical image enhancement using Global mean and variance with Localization function