Camera @640x480 is black and white only #22
-
Hi all, |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
I used both cameras at the high resolution and they were colored
|
Beta Was this translation helpful? Give feedback.
-
Check the xml files. Maybe you are logging the pre-bayerred image
|
Beta Was this translation helpful? Give feedback.
-
Hi @Tariq-Abuhashim, icubmoddev --from camera/dragonfly2_config_right_bayer_640_480.ini With the following config files. dragonfly2_config_right_bayer_640_480.inidevice grabber icubEyes_640x480.ini:[CAMERA_CALIBRATION_RIGHT] w 640 [CAMERA_CALIBRATION_LEFT] w 640 [STEREO_CALIBRATION_CONFIGURATION] |
Beta Was this translation helpful? Give feedback.
-
Hi Roberto, Quite unlikely but I recommend you check the camera/dragonfly2_config_left_bayer_640_480.ini to see if there are differences with respect to the "right". In particular check width 640 are the important parameters. I would then make sure that the connection uses the bayer carrier (which reconstruct color in the YARP port): Start the grabbers: icubmoddev --from camera/dragonfly2_config_right_bayer_640_480.ini run two viewers, /view/left, /view/right Connect them: yarp connect /icub/image/left /view/left udp+recv.bayer+method.nearest In this way you are baypassing the camcalib completely at least we rule out a connection problem. Do you see colored images on both viewers? |
Beta Was this translation helpful? Give feedback.
-
Hi @lornat75 ,
Suggestions? |
Beta Was this translation helpful? Give feedback.
-
Hi @robertocalandra, maybe this is obvious, but on the machine where you are running
|
Beta Was this translation helpful? Give feedback.
-
Hi @gsaponaro. |
Beta Was this translation helpful? Give feedback.
-
You're right, the issues shouldn't be related. I was replying in response to "2) Trying to connect using the udp+recv.bayer+method.nearest option did not work at all. The viewers were not showing anything." Another possibility is to try |
Beta Was this translation helpful? Give feedback.
-
You mean both viewers (right and left) show black? Any output from the yarp connect command? If both left and right cameras do not work there could be an issue similar to what @gsaponaro reports. Otherwise we should investigate why right and left camers behave differently. Please use tcp just to be on the safe side it is usually less problematic than udp and mcast. |
Beta Was this translation helpful? Give feedback.
-
@robertocalandra, let me elaborate a bit more. If at least one of the cameras shows correct color information it means that the computer running |
Beta Was this translation helpful? Give feedback.
-
Solved. It turned out that it was a strange combination of concause. And @gsaponaro was right that the bayer carrier was not enabled! |
Beta Was this translation helpful? Give feedback.
Hi @robertocalandra, maybe this is obvious, but on the machine where you are running
yarpview
, can you confirm that the packageslibraw1394-dev libdc1394-22-dev
are installed, and that yarp is compiled with the following options?