Introduction - If you have any usage issues, please Google them yourself
MATLAB image white balance processing gray world algorithm, input the BMP picture, and finally display the white balance after the image.
You need to change the first line according to the actual path and picture name, and remove the first line of notes (%RGB=imread ('c:/2.bmp');)