Jump to content

Binary thershold like Vision Assistant

Recommended Posts

  I would like to threshold a binaty image showing to the user the original Image overlayed by the thershold result like the Vision Assistand does.
I've tried with the Keep/Replace Value input in the threshold VI but it does the exact opposite of what I need (it replace or not the thresholded image leaving BLACK the rest)
I need to replace the thresholded values with a user color and leave the rest of image as it is.

Any suggestion on How to do it?

thank you so much.


Link to comment

you have to do this method 

use  thershould vi to time

1 use for it for rest of range with replace value that you want (0 up to 255)

2 use it with range that you want and make of for replace value 

now you need just to add this two  picture to each other 

Link to comment

At the moment I solved using IMAQFillImage VI.

That VI allow, using a binary image as mask to determine which pixels has to be overwritten, to do what I need.
Beeing an 8bit grayscale image it allows me only to choose 255 gradients from black to white, but converting the image in a coloured one, it allow to use every color I want.


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.