Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

autothreshold value

Solved!
Go to solution

Hi. 

Currently, I'm doing an image processing using IMAQ Vision (LabVIEW 2010) to inspect corrosion in pipeline.

I successfully detect the corroded area by using IMAQ AutoBThreshold 2. May I know where I can find the exact value of the threshold used in the function?

In my report, I need to state the threshold value to strenghten my result.

Thank you.

Smiley Happy

0 Kudos
Message 1 of 3
(3,871 Views)
Solution
Accepted by topic author nadiah

Hello,

 

you can determine the threshold values with "Threshold Range Out" using "IMAQ AutoBThreshold 2 VI".

 

Please see the attached code - the output "Threshold Range Out" is used for manual thresholding and it produces the same results.

If you run the example without modification, the values from 88-255 produce white regions (1 or 255 in this case) and values from 0-87 black regions (0). So, your threshold vlaue in this case is 88 (88 inculded).

 

I hope this helps.

 

Best regards,


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 2 of 3
(3,861 Views)

Yup. I got it. Thanks Klemen! Smiley Happy

0 Kudos
Message 3 of 3
(3,839 Views)