opencv image loading and printing

asked 2014-12-04 02:44:08 -0600

PST gravatar image

I am currently designing a system which is running under linux, reading the pixel data (480x640 frame) from a fifo in FPGA, load the data pixel by pixel in to a matrix, and print it on the screen through the on board dvi port. Just wondering which opencv command shoud I use to do this loading and printing stuff and how should I interact with the screen through the dvi port?

I am thinking to do something like 1.char matrix[640][480]; 2.assign data to this matrix using a for loop 3.using imshow("image",matrix) But I'm not sure how this can be done using opencv command.

I am new to opencv, it will be most appreciated if some one can give me an example.

edit retag flag offensive close merge delete