This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lirec:firewire_camera_notes [2009-05-08 12:47] – davegriffiths | lirec:firewire_camera_notes [2009-05-08 12:55] (current) – davegriffiths | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| - In Trigger you should be able to select 30fps | - In Trigger you should be able to select 30fps | ||
| - | You can also get OpenCV to read from this mode, but it will get the raw image directly. | + | You can also get OpenCV to read from this mode, but it will get the raw image directly. |
| + | |||
| + | ===Getting the camera working with OpenCV=== | ||
| + | |||
| + | The caminfo for OpenCV I used for the raw image was as follows (I think Marek has a better way): | ||
| < | < | ||
| Line 61: | Line 65: | ||
| Where the input is a 1 channel image and the output is 3 channel RGB image. | Where the input is a 1 channel image and the output is 3 channel RGB image. | ||
| - | Before: | + | ==The bayer pattern image, raw data from the camera CCD== |
| {{: | {{: | ||
| - | After: | + | ==Converted to RGB== |
| {{: | {{: | ||