11-18-2011 10:29 PM
Hi All,How I can read video frame in niosII for image processing? I use the following IP & VIP: cpu sram altpll timer sysid jtag_uart sdram Clocked Video Input Color Plane Sequencer Frame Buffer Color Plane Sequencer two Clocked Video Outup, one for the 800x600 and the other for the VGA The SopC on DE2-115 works well wit this IP cores. After frame reads, I would make any simple image processing equal color to gray, resave it and send over ethernet to another Freescale Eval Board. Could you also explain me how I can transmit this over ethernet? Thanks a lot... Antonio
11-19-2011 10:20 AM
Hi,It depend on the kind of processing but for full image transformation with simple operations, a streaming module would be more efficient. Yet for NiosII access to frame: You should know when the image buffer is located in memory. Link the AvalonMM data bus of NiosII to that memory. Use IORD and IOWR to change the content. To send it over the ethernet, you can use sockets base on the InterNiche stack for example, you need to look to samples using it.
11-20-2011 10:49 PM
Hi,thanks you for the answer. Could I set in the Frame Buffer VIP follows - Run-time control for the reader thread for read video frame and make any image processing? When yes, could you give me any Nios II C-examples for the Frame Buffer to init,start and restore in sdram again? Thanks you alot. Antonio
11-21-2011 10:27 AM
Hi,I didn't personally use the Frame Buffer VIP, but here's the link of Altera Wiki page of the "Video processing designs using Altera VIP" : http://www.alterawiki.com/wiki/video_processing_designs_using_altera_vip?gsa_pos=4&wt.oss_r=1&wt.oss=video%20ip hope it helps