10-09-2022 03:35 AM
Is it possible to combine 2 rgb image that produce a new combined rgb image?
for example i want to combine rgb image A and B
image A : contains 255,0,0 (red)
image B : contains 0,255,0 (green)
result : rgb image display 255,255,0 (yellow)
Solved! Go to Solution.
10-09-2022 03:43 AM - edited 10-09-2022 03:46 AM
Have you tried the IMAQ function IMAQ Add with the plus sign in the icon?
Note: IMAQ Vision is a paid add on. If you don’t have that you need to explain in more detail how you get those images and how you plan to access the pixel data in it.
10-09-2022 04:11 AM
What datatype is the current image and how do you read it into LabVIEW?
Using plain LabVIEW, you can convert each to a 24bit pixmap (i.e. a U32 2D array), then do a logical bitwise OR of the two, then convert it back to image data cluster. (Of course you can also work directly on the 1D U8 "image" array in the "image data" cluster, which would be equally easy and is what I would probably do.)
To get more specific advice, attach your code and two images.
10-09-2022 05:01 AM
Ah yes i can do it with imaq add, i never thought imaq add can add rgb colors just like that, thanks a lot !