-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have created a stepwise procedure for experimenting with Bayer mode capture:
1. su - 2. yum install python-imaging 3. wget http://dev.laptop.org/~bemasc/bayertest.tar.gz 4. tar xzvf bayertest.tar.gz 5. cd bayertest 6. python bayertest.py bayertest.py will produce a file "output.png" containing your picture, after interpolation by dcraw. Sample Raw bayer: http://dev.laptop.org/~bemasc/storefront_input.png Sample Interpolated: http://dev.laptop.org/~bemasc/storefront_output.png HUGE BUG: 1. After each reboot YOU MUST OPEN Record (or any other program that uses gstreamer to access the camera) BEFORE RUNNING bayertest.py. Otherwise, your images will be squished into the left half of the field. I have no idea why. It's pretty weird. Other bugs: 2. The included, patched version of dcraw assumes a bayer-grid orientation that does not match the camera's. Therefore, the temporary files are rotated by 180 degrees, and then rotated back afterwards. This is only an annoyance if you want to look at the raw data yourself. 3. The rightmost 4 pixels of each line are just repeats. I have no idea why. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHuJl2UJT6e6HFtqQRAkvoAJ4qm4++SAic3QUZD+FQdK+rPmQ9aQCeLqQB znVoSQZpGuP/OPt2UnJMHZc= =yNK/ -----END PGP SIGNATURE----- _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
