‎03-24-2009 10:00 AM
Hello,
I am using an ROI contour on a displayed image of my program and i want to programmatically change the color of it to transparrent.
I am using the property node and i bundle in the red green and blue values, however it does not accept the colorbox to change it to transparrent.
Do you know if there is any way to do this?
The result should be to draw an ROI and just have it invisible.
Thanks,
Christos
‎03-25-2009 10:37 PM
Christos,
LabVIEW supports transparency in two ways. Either you can use the Set Mask VI to select a specific color to be transparent in the image, or you can use the alpha bit. Here is a KnowledgeBase article that talks about transparency in LabVIEW and has an example VI to set transparency using the second method.
I hope this helps.
-Christina
‎03-26-2009 06:56 AM
Hello Christina, thanks for your response.
These methods are known to me, however, when you create a Display and then a property node for the ROI contour color, the input of it takes only 8bit RGB color. I couldn't find any node that takes the alpha, or the transparent value.
Let me know if you have a more specific solution in mind to solve this problem.
Currently i believe that the Labview code for the ROI contour is insufficient.
Thank you,
Christos
‎03-26-2009 08:10 AM