Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

image processing

Altera_Forum
Honored Contributor II
2,675 Views

We r using cyclone III EP3C120F780C7 . 

Through DVI daughter card we want to send images to the board for processing and after that will retrieve those images again on the pc 

Please tell us it is possible for us to send single image through dvi to the board and if it is possible then what would be the source through we could send image 

 

 

We r going to use hyperspectral image
0 Kudos
17 Replies
Altera_Forum
Honored Contributor II
1,704 Views

Sending a single image via DVI would be possible, but it would easier to just have a video that contains a still image. 

You question is rather vague. I suggest you form a more specific question.
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

we have separate camera module which will going to capture images and store on the COMPUTER .  

After that our job is to take those images give it to the board for processing . For that we r using DVI daughter card. 

It has TR and RV end. My question is what would be the source through we can send images. 

Tell me whether if we could use computer as source for inputing images or else we require other sources such as cd or dvd player
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

If you're capturing on the PC, why are you sending them to the card via DVI? why not just via some data protocol? WHy not just have th DVI connectect directly to the daughter card?

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

we are not capturing image over pc, we will be capturing image on hyperspectral camera and that image we want to send it over dvi,so how can i do it .?is there any software so we can use pc's dvi to send images

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

 

--- Quote Start ---  

we will be capturing image on hyperspectral camera and that image we want to send it over dvi,so how can i do it .? 

--- Quote End ---  

 

 

Probably the easiest way would be to connect the hyperspectral camera DVI output directly to the FPGA card DVI input and to not involve the PC at all in this process. 

 

Interfacing the PC DVI output to the FPGA in a non-standard way (bypassing the operating system graphical user interface) is honestly more of a PC software question than an Altera FPGA question and you might have better luck researching that approach on a PC graphics card centric forum.
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

Camera does'nt come with DVI it's USB base camera 

So now we r saving those images on PC 

Does it possible for us to send single single image to the board. 

Because we have PC with DVI OUTPUT but we don't know how to send only particular image to the board. 

According to me it will going to send entire window of PC including that image as it normally displays on the monitor 

 

 

Please suggest some idea
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

DVI is really a video interface. It would be much easier (and possibly quicker) to send single images via a data interface rather than DVI. How about RS232 (for easy FPGA implementation?) or ethernet or PCI if you have the cores avaialble?

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

The board do not have rs232 interface. It has only hsmc connector & ethernet. Itwould not possible using DVI ? We r thinking of sending images through DVI only. Please tell us if it possible to send single images through DVI or not. If it is then tell us how we would able to send only that much image from Computer using DVI

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

Yes you can send images via DVI, but it seems like overkill for a single image.

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

DVI is a video interface, so it is constantly streaming video data in the DVI. You cannot send a single image using it, you will have to send a still image as if it was a video from the PC.

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

As Tricky said, the relatively simple task of getting your image into the FPGA so it can process it is being complicated by your choice of trying to use DVI for something which it was not intended. 

Sure, you can probably eventually get something working. 

 

But I really think you would be better off taking Tricky's advice and use some other interface (USB, JTAG, RS232, Ethernet, PCIe, .... ) which already has the necessary support on the PC side to accomplish your task. 

 

Good luck!
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

It is possible to get image into the board using jtag? yeah, is it. Beacause board has one embedded usbjtag and external jtag header

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

There are other methods, but one common approach with JTAG is to add the JTAG Avalon-MM Master component and connect it to your memory. Then use a TCL script via System Console to copy the image data from your PC hard drive to the memory in your FPGA.

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

so we r using dual channel ddr2 ram as memory.The system console would be the nios ii soft system console, is it?

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

The program name is "system-console" or maybe "system-console.exe" You can launch it from Eclipse on the "Nios II" menu -> "System Console", or you can launch it manually from the command prompt or any shell script you might write. 

http://www.altera.com/products/software/quartus-ii/subscription-edition/qsys/systems/qts-systems-console.html 

 

The debugging handbook and training video are worthwhile: 

http://www.altera.com/literature/hb/qts/qts_qii53028.pdf 

http://www.altera.com/education/training/courses/oemb1117
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

Sir, please tell us where and how we can see and display the image stored in memory??? will it display on nios ii console or system console terminal window???

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

 

--- Quote Start ---  

Sir, please tell us where and how we can see and display the image stored in memory??? will it display on nios ii console or system console terminal window??? 

--- Quote End ---  

 

 

You can use the system-console to dump the memory that contains the image. You can transfer the processed image back to the PC and display it there.
0 Kudos
Reply