A Novel Deep CNN-based Tone Mapping Operator and Wide Dynamic Range Imaging Applications