diff options
Diffstat (limited to 'macros/demosaic.sci')
-rw-r--r-- | macros/demosaic.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/demosaic.sci b/macros/demosaic.sci new file mode 100644 index 0000000..529511a --- /dev/null +++ b/macros/demosaic.sci @@ -0,0 +1,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; |