Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image processing in NI Rio FPGA

I am using NI Myrio FPGA to do image processing. With the help of NI Vision Assistant 2014, i am able to get the image from usb webcam. I want to use FPGA to convert the image to HSV. However the functions provided in NI Vision Assistant only allow me to get either H, S, or V image at once.

In order to solve it, i try to create one more FIFO to store the image. Here is my FPGA coding.

 

fpga code.jpg

 

However, I do not know how to access these FIFO. Here is Labview coding.

code 1.jpg

code 2.jpg

All these coding are actually generated by NI Vision Assistant and i cant find where can specify which FIFO i am accessing. Any can help me?

0 Kudos
Message 1 of 5
(4,833 Views)

Try out the attached example.

0 Kudos
Message 2 of 5
(4,816 Views)

The implementation VI on the FPGA is IVA Vision FPGA (FPGA).vi. Copy it in your project under the FPGA target of my RIO or just check out the implementation.

In the Host VI, make sure you create the dest image as HSL and that should be it. Both transfer FIFOs should be of type U32.

Let me know if you have issues and I'll try to help.

 

Christophe

0 Kudos
Message 3 of 5
(4,815 Views)

fpga.jpg

Now i actually having this problem. I searched online but most of people said it is the problem of Windows. Reinstalling Windows will solve it.

0 Kudos
Message 5 of 5
(4,713 Views)