summaryrefslogtreecommitdiff
path: root/macros/graydiffweight.sci
blob: 443a79f1eada2460a2e4cb15a3f9068e094a78a6 (plain)
1
2
3
4
5
6
7
8
9
function [out]=graydiffweight(image,refgrayval)
           image1=mattolist(image);
         a=opencv_graydiffweight(image1,refgrayval);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
     
endfunction;