Question:

- How to convert 12-bit packed image from Basler camera to OpenCV image format.

- How to convert the image from 12-bit packed to 16 bit once it has been transmitted to the IPC?


Answer:

- OpenCV only process 8,12&16bit image, so in order to display pylon 12-bit packed image on opencv image window, we must do pre-possicing for the 12-bit packed image to 16-bit image.

- Refer to "Utility_ImageFormatConverter"sample code for more information.