[cv_bridge] Is it correct check for color format?
standmit opened this issue · 2 comments
standmit commented
vision_opencv/cv_bridge/src/cv_bridge.cpp
Lines 203 to 206 in c791220
There are both checks for color format and mono format in the same place. Is it a bug?
ijnek commented
I belive what its doing here, is it's checking whether the source and destination encoding is a valid ("known") encoding type, rather than checking whether the source and destination is a "color" (ie. not grey) format. So I don't think it's a bug.