diff scripts/image/ntsc2rgb.m @ 559:4e826edfbc56

[project @ 1994-07-25 22:18:28 by jwe] Initial revision
author jwe
date Mon, 25 Jul 1994 22:19:05 +0000
parents
children 56520a75b5b3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/image/ntsc2rgb.m	Mon Jul 25 22:19:05 1994 +0000
@@ -0,0 +1,7 @@
+function rgb = ntsc2rgb(yiq)
+
+  trans = [ 1. 1. 1.; 0.95617 -0.27269 -1.10374; 0.62143 -0.64681 1.70062 ];
+
+  rgb = yiq * trans;
+
+endfunction