Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

I am facing kind of the same problem. I found a sample converting PV Image from ebus sdk (which uses several bayer Patterns) to IplImage. But if you use the Switch case structure like in the sample, a BG8 Color Image will be changed into a monochrome Image. If one uses nchannels=3 the program crashes. I Need to read out the buffer as PVImage the to convert it into an IplImage, after this I could use the cvConvert function. I know that the depth of a Bayer BG8 is 8 bit unsigned but I dont know how many channels to use for the IPLImage then. Setting channel to 1 seems the only possibility but also changes the colored Image into a Grey one. cheers Maik