close all;
clear;
clc;
low=140; %下限(调节)
high=164; %上限(调节)
k=1;
a=low/255;
b=high/255;
img_a = imread('aimimg.jpg');
img_proc = imadjust(img_a,[a b],[0 1],k);
figure;
subplot(1,2,1);imshow(uint8(img_a));
subplot(1,2,2);imshow(uint8(img_proc));
set(gcf,'position',[10,0,1550,800]);