03-03-2007 03:07 PM
03-05-2007 01:02 PM
Tomas,
I am not exactly sure what you are asking. The IMAQ Merge Overlay function will take any
overlays attached to the image and merge them with the pixel values of the
image, doing a destructive overlay. This
function will always return an RGB image, if the input image is an 8 bit
grayscale image, it will cast it to an RGB image and then put the overlay into
the pixel values of the image with the overlay’s color. Please clarify your question a little further
if you need more information.
Regards,
Luke H
03-06-2007 06:29 AM
03-06-2007 09:43 AM
It sounds like you are displaying an 8 bit grayscale image using a color palette, and you want to use that color palette with Merge Overlay.
You can create the palette for the input to Merge Overlay using IMAQ GetPalette vi, which is found under the Vision Utilities -> External Display menu. You can either specify the palette that you want it to generate, or you can use a property node of the image display to get the currently selected palette number and use that as the input to IMAQ GetPalette.
Bruce