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 6
(5,322 Views)

Try out the attached example.

0 Kudos
Message 2 of 6
(5,305 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 6
(5,304 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 6
(5,202 Views)

Hi, 

I started to work with Vision and Motion functions one month ago and did my first project. I'm used a webcam to process fringe patterns projected on screen (similar to atteched video https://www.youtube.com/watch?v=1PL0UAdHG7o ), i programmed the video part in MyComputer (small Figure attached) but the program only can work well when the camera is configured in the lowest video mode (240x320 YUY2 30.00 fps), but when i changed the video mode for another ( for example 1920x1080 MJPG 30.00 fps) the program worked well for some seconds and after that it stopped. I undertand more data are processed using high quality video, so:

1. Can i use FPGA  to process video with more quality and with more fluent?

2. I used ROI (Region of Interest) to estimated intensity in the fringe pattern, can i use ROI in the FPGA workspace?

Thanks for every.Aaaimaaa.PNGAaaimaaaV2.PNG 

0 Kudos
Message 6 of 6
(87 Views)