代码:用鼠标选取图像的感兴趣区域,matlab
%% 使用鼠标选定图片区域clcclearI=imread('test.jpg'); imshow(I);k = waitforbuttonpress; % 等待鼠标按下point1 = get(gca,'CurrentPoint'); % 鼠标按下了finalRect = rbbox; %point2 = ge...