summaryrefslogtreecommitdiff
path: root/macros/demosaic.sci
blob: 529511a43a3ae877c9d5262ede8219226e87b945 (plain)
1
2
3
4
5
6
7
8
function [out]=demosaic(src,code,dstCn)
         input_image1=mattolist(src);
         a=opencv_demosaic( input_image1,code,dstCn);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
endfunction;