11-03-2020 03:41 AM
Hi,
I have made and got (apparently) working a subVI to calculate the average of a series of images loaded from bmp files. I am using LabView 2017 and Vision 2017.
After some tide-up and a reboot, the VI started giving an "Invalid Image Type Error" at the first extract color planes block (probe position in the screenshot) and I cannot understand why.
The image reference provided to the IMAQ VI is not empty and points to a RGB(U32) image, which is a supported type, while for the silngle plane image references I have tried all the greyscale types available, getting a different error ("Not Compatible") only for Greyscale(U8).
Best,
Michael
Solved! Go to Solution.
11-03-2020 05:35 AM - edited 11-03-2020 05:35 AM
Hi Michael,
An RGB U32 has 8 bit channels for red, green and blue respectively. You can therefore only extract it into U8 Greyscale. Where does your "Not compatible" error originate from?
11-03-2020 05:53 AM
Thank you a lot Pablo!
Debugging again after your input, I realized that the "Incompatible Image Size" error was generated at the last Combine Image Planes! The reason for this one was that I used an empty RGB(u32) image reference as source.
Here I share the corrected VI.