Color Mode Explanation
Posted: 21 June 2013 08:57 AM   [ Ignore ]
New Member
Rank
Total Posts:  3
Joined  2013-05-30

Great library. I have a C# program running with two cameras at 75fps capturing golf swings. I have searched for an explanation on the different color modes, but haven’t been able to find it. Specifically, what is different between the following 5 options?

      CLEYE_MONO_PROCESSED,
      CLEYE_COLOR_PROCESSED,
      CLEYE_MONO_RAW,
      CLEYE_COLOR_RAW,
      CLEYE_BAYER_RAW

I am sorry if that exists somewhere already, I couldn’t find it. Thanks for the library and for any help on this.

Scott

Profile
 
 
Posted: 27 June 2013 01:44 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17

@scottmahr,

The CLEYE_XXXX_PROCESSED color mode allows you to apply the following options to the camera frames:

CLEYE_HFLIP,
CLEYE_VFLIP,
CLEYE_HKEYSTONE,
CLEYE_VKEYSTONE,
CLEYE_XOFFSET,
CLEYE_YOFFSET,
CLEYE_ROTATION,
CLEYE_ZOOM

The CLEYE_XXXX_RAW color mode gives you the camera images without the above options and it is somewhat faster.
Finally, the CLEYE_BAYER_RAW color mode allows you to get the CMOS image from the sensor in its native Bayer format.

AlexP

Profile
 
 
Posted: 07 July 2016 02:34 AM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  1
Joined  2016-07-07

Finally, the CLEYE_BAYER_RAW color mode allows you to get the CMOS image from the sensor in its native Bayer format.

Is this actual true raw pixel data from the camera, or back-calculated from RGB (by the camera or by the driver)? If I set QVGA resolution, I get a ‘virtual’ Bayer pattern on the grayscale image!?!

I guess, the camera might report the color images always as raw Bayer matrix, but is this really the case?

Profile
 
 
 
 


RSS 2.0     Atom Feed