summaryrefslogtreecommitdiff
path: root/macros/ntsc2rgb.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ntsc2rgb.sci')
-rw-r--r--macros/ntsc2rgb.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/ntsc2rgb.sci b/macros/ntsc2rgb.sci
new file mode 100644
index 0000000..9752bc7
--- /dev/null
+++ b/macros/ntsc2rgb.sci
@@ -0,0 +1,7 @@
+function [output] = ntsc2rgb(pstDataR,pstDataG,pstDataB)
+ a = opencv_ntsc2rgb(pstDataR,pstDataG,pstDataB);
+ d = size(a);
+ for i=1:d
+ output(:,:,i) = a(i);
+ end
+endfunction