Research Article

Making Image More Energy Efficient for OLED Smart Devices

Algorithm 1

Pseudocode of ALS algorithm.
Adjusting luminance and saturation of NON-ROI of the image
Input: original image
Output: energy-efficient image
Algorithm:
()  Get NON-ROI coordinate matrix of the image by ROI Abstraction;
()  Calculate the value of grading regulation by dividing the distance from ROI to the image boundary;
()  Get the gradual changing matrix set by dividing into matrix sets;
() ,  Assign initial values to and
()  for   to   do
()   for   to   do
()    adjust the luminance of each pixel by Eq. (7);
()    adjust the saturation of each pixel by Eq. (8);
()   end for
()   end for
()   if check MSSIM meeting use’s requirements is true
    combine and of and output image;
()   else
()     update and , repeat (), (), (), (), (), ();
()   end if