03-10-2015 10:44 AM
Hi there,
So I am trying to use an example called Image Processing with Vision Assistant on FPGA, to edit and compress some PIV images. However, when I try to use threshould function on Vision Express sub-VI and then compile to my FPGA I receive a black image on the display, when I run the host VI. It might be due the fact that the threshoulded image is black and red and the display configuration is U8 greyscale, but there isn´t an option of a binary display and I tried using Lookup table to obtain a black and white image but then it adds a new control, memory in, which I don´t know what should I do with it.
If I could the image as a binary(and being able to display it), it would be perfect, but my programming really sucks and I don´t know how to do it.
Many thanks in advance!
Solved! Go to Solution.
03-10-2015 10:54 AM
To display the binary image on the host, use a binary palette: right click on the image display control, click the palette menu, then select Binary.
Another option is to convert the image on Vision Assistant FPGA to 8-bit (Conversion function in the Grayscale palette), then choose Operators and multiply by 255.
The image sent back will then be a 8-bit image with values of 255 for the thresholded pixels.
Hope this helps,
Christophe
03-12-2015 04:57 AM
Thanks Christope! Multiplying it, worked.