blob: 4c4a4be81d29d62efc8c95a886987b233c28ba47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
function[dstMat] = imsharpen(SrcImg)
srcMat = mattolist(SrcImg)
// [rows cols channels]=size(SrcImg);
// imgList=list();
// for i=1:channels
// imgList(i)=SrcImg(:,:,i);
// end
// disp(imgList(i))
// out = opencv_imsharpen(imgList)
out = opencv_imsharpen(srcMat)
[rows cols channel] = size(out)
for i = 1: channel
dstMat(:,:,i) = out(i)
end
endfunction
|