FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6355 Discussions

How I can read video frame in niosII for image processing

Altera_Forum
Honored Contributor II
1,145 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
219 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.
0 Kudos
Altera_Forum
Honored Contributor II
219 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
0 Kudos
Altera_Forum
Honored Contributor II
219 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=video%20ip 

hope it helps
0 Kudos
Reply