Matlab去除圖片上水印

<span style="font-size:18px;">I=imread('C:/Users/liwei/Desktop/bg.jpg');%讀入圖像 figure, imshow(I);%顯示去水印前的圖像 t =I(220:270,200:400,1:3);%大體估計水印區域 figure, imshow(t); t1 = t(:,:,1);%抽取原圖像r的R,G,B的其中一維獲得灰度矩
相關文章
相關標籤/搜索