Patent ID: 11875486
Assignee: BEIJING TUSEN ZHITU TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 9:
10. An imaging device, comprising an image sensor and an image processor, wherein the image sensor is configured to capture an image, and the image processor is configured to:
obtain the captured image as an image to be processed, and obtain a bit width of a pixel brightness value of the image to be processed and a maximum allowable bit width of a block random access memory of a hardware device for brightness histogram calculation, wherein each pixel brightness value is represented by data with a plurality of bits, and the number of the plurality of bits is equal to the bit width;
divide bits of each pixel of the image to be processed into a plurality of groups based on the bit width of the pixel brightness value of the image to be processed in such a manner that a number of bits of each group is smaller than or equal to the maximum allowable bit width;
perform brightness histogram calculation based on the data of each group of bits to obtain a brightness histogram component corresponding to the group;
determine a brightness evaluation value component corresponding to each group based on the brightness histogram component corresponding to the group and a number of pixels in the image to be processed; and
determine a brightness evaluation value of the image to be processed based on the respective brightness evaluation value components.