LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use graph single brightness plane subVI with main VI?

Hello!

I have main VI (Convert Image.vi) which converts color image to grayscale (U8). It works well. Now I need to use Gray Pixel Location as SubVI (https://decibel.ni.com/content/docs/DOC-4373) to obtain of pixel locations. It has some inputs, one of them it U8 - I can take it from main VI, but others - I dont understand, especially error-in input. And do I need to put this subVI inside main while loop or not. How it is possible to connect properly this subVI to make main VI works to obtain pixel locations?

 

Thank you in advance for help.

Download All
0 Kudos
Message 1 of 4
(2,971 Views)

You can put this subVI inside of loop after "array to image" VI.

Error input may be skipped, but you can connect error out from "array to image" again.

And brightness level you should set value 0..255 which you wish.

0 Kudos
Message 2 of 4
(2,936 Views)

I already tried it. But the problem that after I did it - the main VI after running shows me only frame - it does not change the image while I am moving the web-camera. And subVI also did not evaluate any coordinates data.

Download All
0 Kudos
Message 3 of 4
(2,919 Views)

Did someone use this subVI - https://decibel.ni.com/content/docs/DOC-4373 ? How it can be used in correct way?

0 Kudos
Message 4 of 4
(2,867 Views)