1. A method of image high dynamic range compression, the method comprising: a. separating the image into a base image and a detail image, wherein the base image includes illumination information of the image; b. determining a base image histogram corresponding to the base image, wherein the base image histogram defines an illumination distribution of the base image; c. filtering the base image histogram according to a trimming function, thereby generating a base image trimmed histogram; d. calculating a base image cumulative histogram corresponding to the base image trimmed histogram; e. compressing the base image according to the base image cumulative histogram, thereby generating a compressed base image; and f. combining the compressed base image and the detailed image, thereby forming a compressed image.