06-19-2017 01:42 PM
Hello
I am interested in putting a block of text with information from an engine ECU(which is controlled by labview too) such as RPM, cylinder head temp etc. next to an image which is a 16 bit tiff file. I have been able to overlay the text on the image, but it blocks out part of the image. I would like to not loose this information. Is there a way add this information to the side of the image? Maybe by stitching two tiff files together one with the image and one with the information(not sure how to write text on a tiff file)? I attached an example tiff file of the image. I have the Vision Development Module package.
Thanks
06-19-2017 01:44 PM
06-20-2017 05:12 PM - edited 06-20-2017 05:12 PM
Hi ChivasManiac12,
Did you get a chance to go through this thread? It looks like they're attempting to do something similar, so I'd be curious whether their solution works for you, too.
If it's not what you're looking for, can you let us know more details about the results you're seeing and how they differ from the results you want?
06-20-2017 10:27 PM
06-20-2017 10:51 PM
Good catch- thank you! This was the thread I was referring to.
06-21-2017 08:30 AM
It seems as if that thread is trying to write text on an image. I am trying to overlay text next to the image. So far, I take a black image(16 bit grayscale) and overlay white text on it, then I overlay a temporary image (RGB 32) over it. Then I use the merge overlay function to destructively overlay the text (which returns a RGB 32 image), in hopes of having the text remain when I later save the image to my computer. Then, I use IMAQ Cast image to turn the RGB image back into 16 bit grayscale, after this point when I save the image to my computer it is just a gray rectangle instead of a black rectangle with the desired text. I need to have the 16 bit grayscale image to stitch it with the other 16 bit grayscale image which is the actual image that i need. Instead, if I cast the RGB image as an 8-bit grayscale; the image is correct when I save it to my computer, but then i cant stitch it with the other image which is the whole point(I want to maintain those 16 bits for future anaylsis). Any ideas? I attached my vi and the images.