Description: yuv,yv12,yuy2等各种格式与rgb格式之间的转换.-yuv, yv12, yuy2 various format and rgb conversion between formats. Platform: |
Size: 31744 |
Author:asdf |
Hits:
Description: 本文实现了利用B样条函数对图象插值放大的快速算法,并在此基础上,进一步提出了彩色图象放大的方案,既先将图象从RGB空间转换到YUV空间,对UV分量插值放大后进行低通滤波处理,最后再将图象转换至RGB空间。实验结果显示了该方法插值效果好并且处理时间短。-In this paper, the realization of the use of B-spline function of image interpolation to enlarge the fast algorithm, and on this basis, and further put forward a color image to enlarge the program, both the first image space conversion from RGB to YUV space, the weight of the UV Interpolation amplified low-pass filter processing, the final image and then convert to RGB space. The results show that the method of interpolation better and shorter processing time. Platform: |
Size: 217088 |
Author:jack |
Hits:
Description: 主要为opencv人脸的美化
人脸美化,我们用的皮肤检测,皮肤在颜色空间是特定的一个区域
检测到这个区域(感兴趣区域),完后对这个区域进行美化,就是滤波,主要是双边滤波和高斯滤波。
3.视频格式转换以及编码
处理好的矩阵颜色空间是rgb的,需要转换成yuv,yuv的颜色空间就是可以播放的,类似我们电视上面看的画面,编码就是传输时候需要发送流,只个流相当于针对数据的压缩,将yuv格式的视频帧编码成h264的格式
Rgb转换成yuv,opencv实现(美颜在这一步实现)
Yuv转换成h264,x264实现
H264转换成rtmp流,libxrtmp实现-Mainly opencv face beautification facial beautification, skin test our use, skin color space is a particular area of a detected region (region of interest), after this area landscaping, is filtered, mainly bilateral filtering and Gaussian filter. 3. Video format conversion and encoding process is a good matrix rgb color space, the need to convert yuv, yuv color space that can be played, similar to watching our television screen above, the coding is transmitted when you need to send traffic only stream equivalent for compressed data, video frame coded yuv format into h264 format Rgb convert yuv, opencv achieve (achieve beauty in this step) Yuv convert h264, x264 achieve H264 convert rtmp stream, libxrtmp achieve Platform: |
Size: 14661632 |
Author:wangyaning |
Hits: