Patent ID: 11875487
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 11:
12. A high dynamic range image processing apparatus, comprising:
an obtaining unit, configured to obtain image information of a to-be-processed high dynamic range HDR image, wherein the HDR image comprises a plurality of pixels, the image information comprises a maximum RGB component value of a first pixel corresponding to a first percentage and a maximum RGB component value of a second pixel corresponding to a second percentage, the first percentage indicates a percentage of at least one pixel with a maximum RGB component value less than or equal to the maximum RGB component value of the first pixel in the plurality of pixels to the plurality of pixels, the second percentage indicates a percentage of at least one pixel with a maximum RGB component value less than or equal to the maximum RGB component value of the second pixel in the plurality of pixels to the plurality of pixels, the maximum RGB component value indicates a largest value in an R component value, a G component value, and a B component value of a pixel, and both the first percentage and the second percentage are greater than 0 and less than 1;
a determining unit, configured to: determine a maximum reference value of the HDR image based on the maximum RGB component value of the first pixel corresponding to the first percentage and the maximum RGB component value of the second pixel corresponding to the second percentage; and determine a maximum luminance modification value of the HDR image based on the maximum reference value and a plurality of preset hierarchy intervals, wherein the hierarchy interval is used to classify the maximum reference value, each of the plurality of hierarchy intervals corresponds to one value range corresponding to the maximum reference value, and the maximum luminance modification value is used to modify a largest value in maximum RGB component values of the plurality of pixels comprised in the HDR image; and
an adjustment unit, configured to adjust a dynamic range of the HDR image based on the maximum luminance modification value.