www.gusucode.com > images 案例代码 matlab源码程序 > images/AdjustContrastOfRGBImageExample.m
%% Adjust Contrast of RGB Image % %% % Read an RGB image into the workspace and display it. % Copyright 2015 The MathWorks, Inc. RGB = imread('football.jpg'); imshow(RGB) %% % Adjust the contrast of the RGB image, specifying contrast limits. RGB2 = imadjust(RGB,[.2 .3 0; .6 .7 1],[]); figure imshow(RGB2)