04-12-2013 02:45 PM
Greetings, Daniel;
No problem, it was my pleasure. Let me know if you do have any questions about the plane extraction idea.
Have a great day!
Cordially;
Simon P.
04-12-2013 03:42 PM
So I went ahead and tried IMAQ ExtractColorPlanes.vi for my SSIM measurement. This time I had no image type errors although it failed to detect the difference between 2 images that are different. I have posted the VI along with the front panel screenshots. You will notice that the test image has a red square on one of the actor's face, I did this in microsoft paint.
04-12-2013 03:55 PM
I also tried an even worse test image and I still get perfect scores...
The picture seen below is what was used as the test image.
04-12-2013 04:02 PM
Greetings, Daniel;
I believe that the reason that the code is not able to find out the difference is that the IMAQ Create VIs repeat names. Since the images are effectively pointers, giving them the same name often leads to trouble. I modified the names for the IMAQ Create input strings and got the following result:
The change was the following:
If you are curious about the requirements for the IMAQ Create, more information may be found here:
http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_create/
Let me know if that helps.
04-12-2013 04:13 PM
YES YOU ARE CORRECT! Thanks!!
04-12-2013 04:15 PM
Greetings, Daniel;
No problem, it was my pleasure.
Cordially;
Simon P.