Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

CWIMAQVision.Threshold (Visual Basic)

Is there any other methods other than the one above, as this sets pixel values outside the given range to 0. It would be nice to have a function that leaves the pixel values outside the given range unchanged.
0 Kudos
Message 1 of 2
(3,042 Views)
Heather,
You could use the Multi Threshold2 Method, with the replacement set to False. By setting replacement to False, this will allow you to specify the two ranges you want to keep the vaules in, and the rest would be set to zero.
Best Regards,
Chris D
NI Applications Engineer
0 Kudos
Message 2 of 2
(3,042 Views)