-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
camera1394: Debayering mono8 for cameras that say not to support raw8 Bayer pattern #42
Comments
@efernandez: please post any follow-up information here |
At this moment I don't have access to such camera, but the problem is simple. Maybe the camera should report that is actually using bayer some way, instead of saying |
I don't have access to one, either. This looks like a valid issue, so let's leave it open in hopes that someone with a suitable device can provide a pull request (and test it). |
Hi, |
@v01d: That's good. Can you provide a pull request that fixes this? I don't understand the problem well enough to fix it myself, but I can provide suggestions if you need help understanding the current code. |
Well in my case the problem is that when you select raw output from I will try to modify camera1394, but I'm not sure if I'm able to provide a On Fri, Apr 10, 2015 at 4:07 PM, jack-oquin [email protected]
|
We definitely want a solution that does not break anything else. What about adding a parameter that overrides the driver's normal encoding logic? |
What happens if you explicitly set |
If I set rggb, the image comes out debayered (in color) and camera1394 On Tue, Apr 14, 2015 at 5:49 PM, jack-oquin [email protected]
|
Did you also set What |
I tried setting bayer_method blank and does not make a difference. I was On Wed, Apr 15, 2015 at 3:02 PM, jack-oquin [email protected]
|
I am having trouble figuring out exactly what parameters you are using. Would you list them all? |
Ignoring Format 7 issues, it should work as described in this tutorial. I would like to understand which combination of those parameters fails with your camera. |
Carried over from code.ros.org Trac ticket
#5494
reported by efernandez:It seems that some IEEE1394 cameras have raw8 Bayer pattern formats/modes, but that just say to have mono8.
In ROS, when images are mono8 it's not possible to use the debayering capability of the image pipeline.
IMHO, one solution (or workaround) consists on forcing debayering for mono8.
Below are some links decribing the problem in more detail:
http://answers.ros.org/question/37862/force-raw8-for-debayering/
-- Enrique
It's a Basler A102fc camera.
The text was updated successfully, but these errors were encountered: