是否可以使用一组规则(如x1
发布于 2011-02-24 11:50:23
简短的回答是yes,你可以。
然而,亮度(Y)实际上是无关的。重要的是色度 (CbCr或UV)。
这方面被引用最多的论文之一是this one (未压缩的PS文件)。我已经实现了它,它似乎工作得相当好。
更新:上面的链接似乎已经被打破了,所以这里是这篇论文的bibtex引用:
@ARTICLE{767122,
author={Chai, D. and Ngan, K.N.},
journal={Circuits and Systems for Video Technology, IEEE Transactions on}, title={Face segmentation using skin-color map in videophone applications },
year={1999},
month={jun},
volume={9},
number={4},
pages={551 -564},
keywords={H.261-compliant coder;chrominance component;complex background scene;face-segmentation algorithm;fast algorithm;foreground/background coding;head-and-shoulders view;human skin color;input image;luminance;perceptual quality;pixels;regularization processes;reliable algorithm;simulation results;spatial distribution characteristics;test images;universal skin-color map;video coding;videophone applications;videophone sequence;videotelephony;brightness;image colour analysis;image segmentation;image sequences;video coding;videotelephony;},
doi={10.1109/76.767122},
ISSN={1051-8215},}
发布于 2011-02-24 06:45:56
这里有一个链接,它提供了RGB格式的规则:
http://www.codeproject.com/KB/graphics/RedMatterLibrary.aspx
下面是如何在RGB和YUV之间进行转换:
http://www.fourcc.org/fccyvrgb.php
希望这能有所帮助。
https://stackoverflow.com/questions/5089704
复制相似问题