06-15-2013 06:48 PM
Hi member
I have this vi that do some processing on the aquired image from webcam
every time I put threshold vi on the result of math script ,every display image vi all ways become black
if I remove the threshold vi the vi work well
Please I am tired
the threshold should be between th and 255
best regards
06-17-2013 11:15 AM
Hi Saliim,
I would suggest making sure that you create a new IMAQ image buffer for storing the thresholded image. This will prevent the thresholded image from overwriting the original image in memory. I hope this helps!
06-17-2013 12:54 PM
thank dear
as you said extacllay ::::solved
before i closed the thrid
how can i speed up the excution of math script??
06-18-2013 11:50 AM
Hi Saliim,
I'm glad I could help! As far as increasing the speed of the math script node, I would recommend taking a look at some of these threads for tips:
It looks like there may not be too much to do to increase the execution speed since there's lots of overhead with calling Math Script in LabVIEW. You may look into recreating the code in LabVIEW.