CreateHighDynamicRangeImage High Dynamic Range algorithm implementation from scratch using Matlab (Not build in funtion)