Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
lirec:firewire_camera_notes [2009-03-24 16:40] – 161.23.251.227 | lirec:firewire_camera_notes [2009-05-08 12:49] – davegriffiths | ||
---|---|---|---|
Line 5: | Line 5: | ||
* [[http:// | * [[http:// | ||
- | ===Howto=== | + | ===Getting it working=== |
* After plugging the camera in, you may need to do: | * After plugging the camera in, you may need to do: | ||
Line 54: | Line 54: | ||
}; | }; | ||
</ | </ | ||
+ | |||
+ | ===Using OpenCV for the debayering=== | ||
+ | |||
+ | OpenCV has a built in debayering algorithm, as part of it's colour space conversions. The one which works with the lirec camera is: | ||
+ | < | ||
+ | Where the input is a 1 channel image and the output is 3 channel RGB image. | ||
+ | |||
+ | ==The bayer pattern image, raw data from the camera CCD== | ||
+ | {{: | ||
+ | |||
+ | ==Converted to RGB== | ||
+ | {{: | ||
+ |