Let TranslateGrayLevel function can be used by other class (public)