Mercurial > octave-nkf
view scripts/image/rgb2ntsc.m @ 595:a0cc17145462
[project @ 1994-08-09 18:42:23 by jwe]
author | jwe |
---|---|
date | Tue, 09 Aug 1994 18:42:23 +0000 |
parents | 4e826edfbc56 |
children | 56520a75b5b3 |
line wrap: on
line source
function yiq = rgb2ntsc(rgb) trans = [ 0.299 0.596 0.211; 0.587 -0.274 -0.523; 0.114 -0.322 0.312 ]; yiq = rgb * trans; endfunction