摘要:
A method for AWB (Automatic White Balance) compensation, performed by a processing unit, the method at least containing: acquiring a frame 0; dividing the frame 0 into blocks; obtaining block statistics information of each block of the frame 0; labeling each block of the frame 0 as one type according to its block statistics information; employing a first AWB compensation to the frame 0 with an input of first-type blocks of the frame 0, wherein the first-type blocks of the frame 0 are blocks labeled as a first type; employing a second AWB compensation to a frame 1 with an input of blocks of the frame 1 at the same locations as that of second-type blocks of the frame 0, wherein the second-type blocks of the frame 0 are blocks labeled as a second type; and fusing the compensated frame 0 with the compensated frame 1.
摘要:
A method for generating HDR (High Dynamic Range) images, performed by a processing unit, the method at least containing: acquiring a frame 0; obtaining frame statistics information at least includes a first pixel count for a dark area and a second pixel count for a saturate area; calculating the ratio according to the first pixel count and the second pixel count; calculating a first expansion factor and a second expansion factor according to the ratio and the exposure setting of the frame 0; expanding the frame 0 to HDR space using the first expansion factor; expanding a frame 1 to the HDR space using the second expansion factor; and fusing the expanded frame 0 with the expanded frame 1.