完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我已经通过spartan3E的vga端口在显示器上完成了vhdl代码换色,它运行成功但我无法在显示器上显示图像。
由于我们有5个针对vga的引脚,即hsync,vsync,红色,绿色和蓝色,我不明白如何将像素位分配给vga中的红色,grren和蓝色。 哪种图像格式与vga兼容。 如果我们每像素有8位,那么如何将它分配给输出引脚? 以上来自于谷歌翻译 以下为原文 I have done vhdl code for color changing on monitor through vga port of spartan3E and it works successfully but i am not able to display image on monitor. As we have 5 out pins to vga i.e hsync,vsync,red,green and blue ,i am not understanding how to assign bits of pixel to red, grren and blue out of vga. which image format is compatible with vga. If we have 8 bits per pixel then how to assign this to out pins? |
|
相关推荐
10个回答
|
|
我认为你需要将彩色图像转换成二进制图像。
将每个8位R,G,B转换为1位二进制图像。 希望它会有所帮助 谢谢和RegardsBalkrishan ----------------------------------------------- ---------------------------------------------请将帖子标记为 一个答案“接受为解决方案”,以防它有助于解决您的查询。如果一个帖子引导到解决方案,请给予赞誉。 以上来自于谷歌翻译 以下为原文 I think you need to convert color image into binary image. convert each 8 bit R, G, B into 1 bit binary image. Hope it will helpThanks and Regards Balkrishan -------------------------------------------------------------------------------------------- Please mark the post as an answer "Accept as solution" in case it helped resolve your query. Give kudos in case a post in case it guided to the solution. |
|
|
|
请参阅附件。
你能把你的电路板ucf和数据表发给我吗? --Bala 谢谢和RegardsBalkrishan ----------------------------------------------- ---------------------------------------------请将帖子标记为 一个答案“接受为解决方案”,以防它有助于解决您的查询。如果一个帖子引导到解决方案,请给予赞誉。 vga.pdf 223 KB 以上来自于谷歌翻译 以下为原文 Please refer the attached document. can you please send me your board ucf and datasheet . --Bala Thanks and Regards Balkrishan -------------------------------------------------------------------------------------------- Please mark the post as an answer "Accept as solution" in case it helped resolve your query. Give kudos in case a post in case it guided to the solution. vga.pdf 223 KB |
|
|
|
先生,这个附件是关于斯巴达3E的vga ucf和vga时间。
Handout_VGA_UserManul_Spartan-3E Starter Kit.pdf 78 KB 以上来自于谷歌翻译 以下为原文 Sir, this attachment is regarding spartan 3E's vga ucf and vga timing. Handout_VGA_UserManul_Spartan-3E Starter Kit.pdf 78 KB |
|
|
|
该板仅支持3位显示颜色代码。
您需要将24位彩色图像转换为3种双色。 每个位代表一种颜色。 要从8位转换二进制,您可以在128灰度级上获取阈值。 任何超过128位的值都可以表示'1',否则'0' 谢谢和RegardsBalkrishan ----------------------------------------------- ---------------------------------------------请将帖子标记为 一个答案“接受为解决方案”,以防它有助于解决您的查询。如果一个帖子引导到解决方案,请给予赞誉。 以上来自于谷歌翻译 以下为原文 This board only support 3-Bit Display Color Codes. You need to convert your 24 bit color image into 3 bi colors. Each bit represent one color. To convert the binary from 8 bit you can take threshold on 128 gray level . Any value above 128 bit you can represent '1' and else '0'Thanks and Regards Balkrishan -------------------------------------------------------------------------------------------- Please mark the post as an answer "Accept as solution" in case it helped resolve your query. Give kudos in case a post in case it guided to the solution. |
|
|
|
先生,
RGB3 = uint8(IMG> 128); 是否是在matlab中将24位彩色图像转换为3位颜色的正确方法。 或建议我一些相关的链接 以上来自于谷歌翻译 以下为原文 Sir, RGB3=uint8(IMG > 128); is it correct way to convert 24 bit color image into 3 bit color in matlab. or suggest me some links regarding that |
|
|
|
您正在使用哪种语言进行申请。
在VHDL中,RGB应该是23到0,G = 23到16R = 15到8 B = 7到0G_out ='1'当G> 128时0'; 当R> 128时,R_out ='1',否则为0'; 当B> 128时,B_out ='1'0'; G_out,R_out,B_out将位于顶层,并为ucf中的这些端口分配正确的引脚 谢谢和RegardsBalkrishan ----------------------------------------------- ---------------------------------------------请将帖子标记为 一个答案“接受为解决方案”,以防它有助于解决您的查询。如果一个帖子引导到解决方案,请给予赞誉。 以上来自于谷歌翻译 以下为原文 which language you are using for your application. RGB should be 23 down to 0 in VHDL G = 23 down to 16 R = 15 down to 8 B= 7 down to 0 G_out = '1' when G >128 else 0'; R_out = '1' when R >128 else 0'; B_out = '1' when B >128 else 0'; G_out, R_out, B_out will be on top level and assign correct pin for these ports in ucf Thanks and Regards Balkrishan -------------------------------------------------------------------------------------------- Please mark the post as an answer "Accept as solution" in case it helped resolve your query. Give kudos in case a post in case it guided to the solution. |
|
|
|
|
|
|
|
先生,我试过阈值,但没有显示图像。只有屏幕变成深灰色。
以上来自于谷歌翻译 以下为原文 sir i tried thresholding but no image is displaying.Only the screen becomes dark gray . |
|
|
|
先生,我试过阈值,但没有显示图像。只有屏幕变成深灰色。
以上来自于谷歌翻译 以下为原文 sir i tried thresholding but no image is displaying.Only the screen becomes dark gray . |
|
|
|
你好
您可以尝试实现更小的尺寸,但由于这些设备没有DSP模块和低密度设备,因此不适合较大的视频尺寸或视频应用。 这些设备不支持Xilinx视频IP。 问候,萨蒂什----------------------------------------------- --- --------------------------------------------请注意 - 如果提供的信息有用,请将答案标记为“接受为解决方案”。给予您认为有用的帖子。感谢.-- ---------------------------- --------------------- ---------------------- 以上来自于谷歌翻译 以下为原文 Hi You can try implementing for smaller sizes but as these devices doesn't have DSP blocks and low density devices these are not suitable for larger video sizes or video applications. The Xilinx Video IP's are not supported for these devieces. Regards, Satish ---------------------------------------------------------------------------------------------- Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful. Give Kudos to a post which you think is helpful. --------------------------------------------------------------------------------------------- |
|
|
|
只有小组成员才能发言,加入小组>>
2380 浏览 7 评论
2797 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2262 浏览 9 评论
3335 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2428 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
755浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
543浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
365浏览 1评论
1960浏览 0评论
681浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 10:10 , Processed in 1.758626 second(s), Total 97, Slave 80 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号