Add additional camera mode: RGB8

Bug #504711 reported by Marko Mahnič
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyDC1394
Fix Released
Medium
Unassigned

Bug Description

PointGrey Flea2 cameras report the mode as RGB8 instead of RGB.

The following change is needed in camera.py twice (line 472, line 646):

- elif mode[-1] == 'RGB':
+ elif mode[-1] == 'RGB' or mode[-1] == 'RGB8':
                self._dtype = '>u1'
                self._shape.append( 3 )

Revision history for this message
Marko Mahnič (marko-mahnic) wrote :

Here are other reported modes:
[(320, 240, 'YUV422'), (640, 480, 'YUV411'), (640, 480, 'YUV422'), (640, 480, 'RGB8'), (640, 480, 'Y8'), (640, 480, 'Y16'), (800, 600, 'YUV422'), (800, 600, 'RGB8'), (800, 600, 'Y8'), (1024, 768, 'YUV422'), (1024, 768, 'RGB8'), (1024, 768, 'Y8'), (800, 600, 'Y16'), (1024, 768, 'Y16'), (1280, 960, 'YUV422'), (1280, 960, 'RGB8'), (1280, 960, 'Y8'), (1280, 960, 'Y16'), 'FORMAT7_0', 'FORMAT7_1', 'FORMAT7_2', 'FORMAT7_3']

Revision history for this message
SirVer (sirver) wrote :

Thanks for contributing. Those are added in the main branch.

Changed in pydc1394:
status: New → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.