capturing 12-bit with pylon_camera
Hi guys,
I just bought this basler camera, which has 74db of dynamic range, and supports 8/12 bits mono. I am trying to use pylon_camera package to capture the images with 12-bit depth by changing image_encoding in config/default.yaml to 'mono12', but I got this warn;
[ WARN] [1542626430.607438860]: Desired image encoding parameter: 'mono12' is not part of the 'sensor_msgs/image_encodings.h' list! Will not set encoding
[ INFO] [1542626430.988273140]: Cam supports the following [GenAPI|ROS] image encodings: ['Mono8'|'mono8'] ['Mono12'|'NO_ROS_EQUIVALENT']
[ WARN] [1542626430.988326369]: No image encoding provided. Will use 'mono8' or 'rgb8' as fallback!
I checked the code inside pylon_camera package, seems like it only supports 'mono8' 'rgb8' and "BayerBG8". Can anyone tell me if there is way to capture 12-bit image with this camera?