Text this: Dynamic Range Expansion Using Cumulative Histogram Learning for High Dynamic Range Image Generation