最近实验室需要,接手了一个MFC项目开发。一直需要对YUV进行操作,还需要改色之类的,在网上找了半天,都没找到YUV值与颜色的对应表,于是自己写了一个调色板小程序。
程序基于MFC开发,由于不想浪费太多时间,只是做了最基本的功能,没有调试检错,界面也很丑,毕竟是基于MFC的,能用就行了,要求别那么高了。
其中主要就是YUV转RGB、BMP封装和MFC的图片显示几项内容。
界面如下:
功能即输入YUV三通道值,显示对应的颜色,对于与YUV直接打交道的同学可能会有用吧,这里把程序和源码分享一下,不喜勿喷。
下载地址:
链接:https://pan.baidu.com/s/1_6Noqt3VLh2kBc8cDOItgw 密码:q8yi