灰度级数k,k=2^b,称该图像为b比特图像. 降低灰度级数是靠2的幂次方 网上代码:https://blog.csdn.net/silence2015/article/details/68927360 function changereduce_factor(imgpath,reduce_factor) % Write a computer program capable of reducing the number of intensity levels to , % . The desir