view 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 source

function rgb = ntsc2rgb(yiq)

  trans = [ 1. 1. 1.; 0.95617 -0.27269 -1.10374; 0.62143 -0.64681 1.70062 ];

  rgb = yiq * trans;

endfunction