pyGigE-V icon indicating copy to clipboard operation
pyGigE-V copied to clipboard

Converting to a four 8bit component for color display (RGBA)

Open davidbsp opened this issue 6 years ago • 1 comments

Hi, it seems that this wrapper does not support Bayer conversion, am I right? I can only get a grayscale image in my DALSA Nano-C2420.

The C++ code for this conversion in the examples of the GigE-V SDK looks like this:

context.format = Convert_SaperaFormat_To_X11( pixFormat);
context.depth = pixDepth;
context.convertBuffer = malloc((maxWidth * maxHeight * ((pixDepth + 7)/8)));
context.convertFormat = TRUE;

Is there any way to achieve the same (colored image) with this wrapper?

davidbsp avatar May 14 '19 11:05 davidbsp

Hi, We are facing the same problem, did you find any solution?

unaaimendi avatar Nov 08 '21 12:11 unaaimendi