Re: RGB-Channel-Mixer (Technicolor-Effect)
Burkhard Plaum <[email protected]>
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, stefan wrote: > Hi, > > do we have some thing like "yuvchannelmixer"? That is: A filter in which > I can perform this: > > R = 1.75 * R - 0.50 * G - 0.25 * B > G = -0.25 * R + 1.50 * G - 0.25 * B > R = -0.25 * R - 0.50 * G + 1.75 * B I would call this "color matrix"-filter rather than channel mixer. It would indeed be a very universal tool, if it allows arbitrary coefficient matrices, and also an offset (so you can do things like channel = 1.0 - channel). If I'm not mistaken, it's always possible to convert such a matrix from RGB to YUV, so the user can specify the RGB matrix, while the filter uses the (faster) YUV matrix. Just my $0.02 Burkhard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV