Jump to content

Binary thershold like Vision Assistant


Recommended Posts

Posted

Hi,
  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.

 

Posted

I think you have to display the result of the threshold as an overlay on the original image, I guess this is what they do.
 

Have you checked at the examples in LabVIEW, I think there is one that does that.

Help > Find examples... > then search for threshold

Posted

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 

Posted

It's really not clear to me what you said....
At the moment I've used Image To Image vi using the thresholded image as Small Image and as mask as well.
It works but it doesn't allow me to choose the color of the overlay. It's always black.

Posted

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.

 

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.