%src为rgb图像,Contrast为调节的对比度值,调节范围为【-100,100】
function img = ContrastAdjust(src,Contrast)
Image=double(src);
R=Image(:,:,1);
G=Image(:,:,2)<
matlab实现调整图片的对比度
最新推荐文章于 2025-01-18 20:25:53 发布

%src为rgb图像,Contrast为调节的对比度值,调节范围为【-100,100】
function img = ContrastAdjust(src,Contrast)
Image=double(src);
R=Image(:,:,1);
G=Image(:,:,2)<