Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

merge overlay problem

Solved!
Go to solution

I want to overlay just a simple plain white colour text (no color) on a grayscale image (U16).

If I use the IMAQ Overlay Text to write the text and then use IMAQ Merge Overlay, it will create a color image but for further processing i want U16 gray scale image with overlays merged?

 

i attached my vi which is using for above purpose.

 

 

any help will be appreciated. 

thank you

0 Kudos
Message 1 of 3
(3,503 Views)
Solution
Accepted by topic author anil06

In Overlay there are two types: Destrcutive(Changes image pixels) and Non-Destructive overlays (Doesn't change the pixel intensities).

    IMAQ Merge Overlay creates a destructive overlay and the resulting image is RGB image. If you want to preserve original image without being changed, You should copy(IMAQ Copy) the original image to another buffer by creating user buffer( IMAQ create).

   Just a thought, If you want the overlays merged with image and use for further processing you can Check this link if it works and do you want destructive overlays for sure?

 

 

Thanks
uday
0 Kudos
Message 2 of 3
(3,481 Views)

Thank you very much.  I am trying your suggestion to see if it applies.

 

0 Kudos
Message 3 of 3
(3,473 Views)