rpiRobotics / rpi_gige_v_framework

BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Improve image format support #2

Open johnwason opened 6 years ago

johnwason commented 6 years ago

Currently only fmtMono8 (grayscale) and fMtBayerRG8 (Bayer) are supported. More formats are specified in gevapi.h, but the current camera only supports these two formats. Strangely fMtBayerRG8 appears to work with OpenCV COLOR_BayerBG2BGR conversion rather than COLOR_BayerRG2BGR. Using COLOR_BayerRG2BGR results in an incorrect color conversion.