FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5949 Discussions

How I can read video frame in niosII for image processing

Altera_Forum
Honored Contributor II
998 Views

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
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
72 Views

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.
Altera_Forum
Honored Contributor II
72 Views

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
Altera_Forum
Honored Contributor II
72 Views

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... 

hope it helps
Reply