Difference between revisions of "RawImage"

From ElphelWiki
Jump to: navigation, search
 
Line 1: Line 1:
 
The raw sensor data can be obtained on the 353 camera by reading from the /dev/ccam_img file.
 
The raw sensor data can be obtained on the 353 camera by reading from the /dev/ccam_img file.
  
However, I am having
+
However, I am having some problems doing this:
 +
  #. Trying to read from /dev/ccam_img right after booting the camera causes the reading process (I've tried dd and cat) to take all the CPU and block. Only after opening the web page of the camera (192.168.0.9) the proccess finishes (with error :( read error: invalid argument)
 +
 
 +
  #. Once I get the raw sensor data and convert it to an image (a PNG), I get the expected picture... sometimes. See URL for the results

Revision as of 13:20, 12 June 2008

The raw sensor data can be obtained on the 353 camera by reading from the /dev/ccam_img file.

However, I am having some problems doing this:

 #. Trying to read from /dev/ccam_img right after booting the camera causes the reading process (I've tried dd and cat) to take all the CPU and block. Only after opening the web page of the camera (192.168.0.9) the proccess finishes (with error :( read error: invalid argument)
 #. Once I get the raw sensor data and convert it to an image (a PNG), I get the expected picture... sometimes. See URL for the results