LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Text Next to Image Instead of On (TIFF file)

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

0 Kudos
Message 1 of 6
(3,063 Views)

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?

 

 

Kathryn K.
Technical Support Engineer
National Instruments
http://ni.com/support
0 Kudos
Message 3 of 6
(2,989 Views)

Hi Kathryn,

 

I think you missed the link to "this thread".


GCentral
0 Kudos
Message 4 of 6
(2,980 Views)

Good catch- thank you! This was the thread I was referring to.

 

Kathryn K.
Technical Support Engineer
National Instruments
http://ni.com/support
0 Kudos
Message 5 of 6
(2,976 Views)

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. 

0 Kudos
Message 6 of 6
(2,964 Views)