Skip to content

add MONO16 / GRAY16_LE support#70

Open
julled wants to merge 2 commits intoros-drivers:masterfrom
julled:MONO16support
Open

add MONO16 / GRAY16_LE support#70
julled wants to merge 2 commits intoros-drivers:masterfrom
julled:MONO16support

Conversation

@julled
Copy link

@julled julled commented Dec 23, 2020

added support for MONO16/GRAY16_LE streams.

tested with a 12bit thermal camera (mapped to 16bit) on gstreamer1.0.

caps = gst_caps_new_simple( "video/x-raw-rgb", NULL,NULL);
} else if (image_encoding_ == sensor_msgs::image_encodings::MONO8) {
caps = gst_caps_new_simple("video/x-raw-gray", NULL, NULL);
} else if (image_encoding_ == sensor_msgs::image_encodings::MONO16) {
Copy link
Author

@julled julled Dec 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this stuff related to gst 0.1 is untested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant