摘要: RGB2YCbCr conversions,the range is RGB[0,255] to YCbCr[0,255] : Y = R * 0.301 + G * 0.586 + B * 0.113 Cb = R * -0.168 + G * -0.332 + B * ... 阅读全文
posted @ 2015-07-24 19:01 爱吃粉条炖肉的笔记本 阅读(521) 评论(0) 推荐(0) 编辑
摘要: The formula is : Y = (y - 128) * C /128 + (B - 128) + 128. //About add 128 is ture or error ? Cb = [ (Cb - 128)*cos(H) + (Cr - 128)*sin(H)] * S/64 + 1 阅读全文
posted @ 2015-07-24 19:19 爱吃粉条炖肉的笔记本 阅读(726) 评论(0) 推荐(0) 编辑
摘要: Why the RGB toYCbCrWe saw in the earlier post, Bitmap images used the R-G-B planes directly to represent colour images. But medical research proved th... 阅读全文
posted @ 2015-07-24 19:09 爱吃粉条炖肉的笔记本 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Working in the YUV color space simplifies the calculations involved for ProcAmp adjustment control of a video stream. Y Processing To perform ProcAmp 阅读全文
posted @ 2015-07-17 19:18 爱吃粉条炖肉的笔记本 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 时钟相移问题,c0,c1均为50MHz时,c0-SDRAM_CLK c1-SYS_CLK,则c1相移0,c0相移-70.以5°前后调整. 阅读全文
posted @ 2014-06-18 16:39 爱吃粉条炖肉的笔记本 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 先Reset Vector EPCS Exception Vector Ram工程Program memory ,Read-only data memory...均为RAM.Hardware Image选择 EPCS编译.编译:先把POF文件下载到EPCS中.放到最底层后通过FLASH PROGRA... 阅读全文
posted @ 2014-06-18 16:19 爱吃粉条炖肉的笔记本 阅读(281) 评论(0) 推荐(0) 编辑
摘要: IO操作函数函数原型:IORD(BASE, REGNUM) 输入参数:BASE为寄存器的基地址,REGNUM为寄存器的偏移量函数说明:从基地址为BASE的设备中读取寄存器中偏移量为REGNUM的单元里面的值。寄存器的值在地址总线的范围之内。返回值: -函数原型:IOWR(BASE, REGNUM,... 阅读全文
posted @ 2014-06-18 16:12 爱吃粉条炖肉的笔记本 阅读(448) 评论(0) 推荐(0) 编辑
摘要: STD_LOGIC_1164程序包的转换函数有: TO_STD_LOGIC_VECTOR(a); --由BIT_VECTOR 转换成STD_LOGIC_VECTOR TO_BIT_VECTOR(a); --由STD_LOGIC_VECTOR 转换成BIT_VECTOR ... 阅读全文
posted @ 2014-04-21 20:55 爱吃粉条炖肉的笔记本 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: entity中定义为:scan_code : out STD_LOGIC_VECTOR(15 DOWNTO 0);architecture中说明:scan_code(15 downto 8) <= scan_code(7 downto 0);scan_code(7 downto 0) <= SH... 阅读全文
posted @ 2014-04-21 20:24 爱吃粉条炖肉的笔记本 阅读(5151) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-04-18 23:30 爱吃粉条炖肉的笔记本 阅读(1) 评论(0) 推荐(0) 编辑