Skip to content

Support Bayer image encodings in ColorSubscriber#67

Open
griffith826 wants to merge 1 commit into
MIT-SPARK:developfrom
griffith826:fix/bayer-encoding
Open

Support Bayer image encodings in ColorSubscriber#67
griffith826 wants to merge 1 commit into
MIT-SPARK:developfrom
griffith826:fix/bayer-encoding

Conversation

@griffith826

Copy link
Copy Markdown

Adds support for Bayer image encodings in ColorSubscriber::fillInput() by treating Bayer images as color inputs and converting them via cv_bridge::toCvCopy(..., RGB8).

This allows Hydra-ROS to work with camera drivers that publish raw Bayer data (e.g., bayer_rggb8) without requiring manual debayering logic. Existing color and mono image handling is unchanged.

@nathanhhughes nathanhhughes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great, thanks for doing this!

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.

2 participants