Creating a HDR image using a single RAW file