Single-image HDR reconstruction by dual learning the camera imaging process