01-13-2012 11:12 PM - edited 01-13-2012 11:21 PM
Excuse me, I would like to convert IplImage to IMAQ_Image, that is accessible in Gray image. while in the case of color image, the default image style of IplImage is RGB U8,and the colorseq is BGR. And IMAQ Create VI has RGB U32 and RGB U64. How could I realize the convert from BGR U8 to RGB U32? Or is there other way support BGR U8 in IMAQ?
01-14-2012 11:06 AM
This can be accomplished by swapping the color planes R and B. Search for "ExtractColorPlane" and "ReplaceColorPlane". I am not aware if there is a faster VI available which will do the job.
01-15-2012 06:22 AM
Thank you very much, I will try this vi.