Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

BCG & line profile

Solved!
Go to solution

BCG lookup and Line profile are inbuilt NI examples and i like to them have in my application, but they have individual while loops. How can I have them both in a single loop and while running switch to one by one when needed? Is Event structure helpful?

0 Kudos
Message 1 of 6
(5,089 Views)

Hello,

 

I do not understand what do you mean by "they have individual while loops"? You mean, you use them in two seperate while loops?

 

Can you provide an example?

 

I do not know what exactly you are trying to achieve, but you can use case structure (state machine).

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 6
(5,087 Views)

My application includes image processing which needs line profile & BCG. I wnt to change the values of BCG paramaters and also want to use  lineprofile while running the VI (as in the examples). I'm posting the example VIs running at different wihile loops. I like to have both to come under a single loop.

Download All
0 Kudos
Message 3 of 6
(5,073 Views)
Solution
Accepted by sree99

Hello,

 

you could use an event case, reacting to both the BCG values change and the ROI draw. You can change BCG and the line profile will update and vice versa.

 

Please see the attachment (saved for LV 2013).

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Message 4 of 6
(5,065 Views)

Thank you clemen for your support!!!

Can you please explain how can I extract phase information of a complex image plotting it in 3D and unwrap it. I couldn't find any module for phase unwrapping.

0 Kudos
Message 5 of 6
(5,048 Views)

Hello,

 

I suggest opening a new thread for your question.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 6 of 6
(5,043 Views)