摘要 |
<p>Provided are a digital image processing method and device. The method comprises: traversing pixels of an image to be processed (100); calculating the brightness value of a currently traversed pixel (101); recalculating the pixel color value of the current pixel according to the calculated brightness value of the current pixel (102); setting the pixel color value of the current pixel to the recalculated pixel color value (103); ending when all pixels in the image to be processed are traversed. The present invention can optimize the processing of images or video images, so as to eliminate the defects in the prior art that when images and/or video images are being processed, too many memory resources are occupied and the processing efficiency is not high, thereby rapidly performing color processing on images.</p> |