LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Threshold Image

Solved!
Go to solution

Hi 

 

Thank you for the reply, how did you get those input terminals. I cannot seem to find/create them anywhere. 

 

Best Wishes 

Andrew

 

0 Kudos
Message 11 of 19
(1,168 Views)

Hi Andrew,

 

are you talking aout the FP element references on the left of the snippet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 19
(1,166 Views)

Hi GerdW

 

Yes I am, the two things labelled input and output.

 

Best Wishes 

Andrew

0 Kudos
Message 13 of 19
(1,162 Views)

Hi Andrew,

 

as I wrote before: these are references of those IntensityGraphs labelled "Input" and "Output"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 19
(1,159 Views)
Solution
Accepted by AndrewIons01

@AndrewIons01 wrote:

I am trying to apply a threshold to an Image so that I can track its centroid across a screen as a beam moves, the goal is a beam pointing Stabilization. 

 

I have set the threshold to be between 128 and 255. The vi description seems to suggest that I anything between these two values would be set to zero but it seems to do the opposite (Anything outside this range is set to 0). 


A few things:

  • Configuring grab and creating an image buffer should be done outside the loop
  • Why not use the IMAQ image indicators? They have a palette option for false colours
  • Were you using IMAQ threshold? The default setting is to replace the range, if you switch the boolean it keeps the range

 

Try this and set it to Keep Original Value

snip.png

0 Kudos
Message 15 of 19
(1,155 Views)

Ahh ok I will try this. 

 

Unfortunately, the camera has stopped communicating to LabVIEW, and the PC can no longer see it. how can I get it working again remotely.

 

I'm sorry to have to ask this.

 

Best Wishes 

Andrew

0 Kudos
Message 16 of 19
(1,150 Views)

I was using IMAQ Threshold yes. 

 

How do I change the pallet options for the indicator?

 

Best Wishes

Andrew

0 Kudos
Message 17 of 19
(1,148 Views)
Solution
Accepted by AndrewIons01

@AndrewIons01 wrote:
Unfortunately, the camera has stopped communicating to LabVIEW, and the PC can no longer see it. how can I get it working again remotely.



First select your camera on the Session control, the default value is empty. You could check Measurement and Automation explorer (MAX) to see if it's working, rebooting could help too.

RamonG_0-1616413086501.png

 

 


@AndrewIons01 wrote:

I was using IMAQ Threshold yes. 

 

How do I change the pallet options for the indicator?

 

Best Wishes

Andrew


Right click the indicator and look under Palette, by default it's set to grayscale.

 

RamonG_2-1616413201565.png

 

0 Kudos
Message 18 of 19
(1,144 Views)

Thank you for your help once again the camera is working now and I have managed to get the threshold working. 

 

Apologies for not replying instantly, I have been a busy at work. 

 

Thank you to all who helped. 

0 Kudos
Message 19 of 19
(1,116 Views)