Discussion:
IMAQ Color BCG Lookup Invalid Image type
(too old to reply)
Gorgoroth
2006-03-06 10:11:01 UTC
Permalink
Hi
 
I get this error message when opening an jpeg image. Anybody know whats wrong?
Check out attached image.
 
Regards
Anders


VI.JPG:
Loading Image...
ThSa
2006-03-06 13:11:04 UTC
Permalink
Hi Anders,
it is a litte bit difficult to say what's wrong out of the attached picture.
The function needs a RGB U32 picture - which image type have you connected to the IMAQ Create.vi?
If nothing is connected, the default value will used (grayscale u8), in
this case, create a constant and choose out of the pull down list RGB
(U32).

Regards,
ThSa
ThSa
2006-03-06 14:41:16 UTC
Permalink
I've attached a picuture which displays, how to modify the IMAQ Create.vi
The 2nd problem which ouccurs is, that you are using for the acquired
picture and the picture from file the same memory - that means, that
your are using only one IMAQ Create.vi for both.
Another problem with the wrong image type could occur, if you work with
1394cam in grayscale mode - in this case, it doesn't matter if you have
connected RGB(U32) or not...

Regards,
ThSa


Image1.png:
Loading Image...
Gorgoroth
2006-03-06 16:41:22 UTC
Permalink
Hi
Thanks for your help! I managed to sort it out. I found out that there was no need to load the picture. The attached VI show a solution that will suite my needs.
Regards
Anders


IEEE1394_Save_Load_Analyse_Working.vi:
http://forums.ni.com/attachments/ni/200/9161/1/IEEE1394_Save_Load_Analyse_Working.vi
Loading...