summaryrefslogtreecommitdiff
path: root/macros/bwlookup.sci
blob: 5ab8f66eaf36f4f029c2b05c8dc93151dbfa03c2 (plain)
1
2
3
4
5
6
7
8
function [out]=bwlookup(image,lut)
         image1=mattolist(image);
         a=opencv_bwlookup(image1,lut);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
endfunction;