Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
uvscada:gxs700 [2017/12/23 18:26] mcmasteruvscada:gxs700 [2017/12/31 19:04] mcmaster
Line 16: Line 16:
  
 ^ Image  ^ Vendor  ^ Product                ^ Works?    ^ Notes                                                    ^ ^ Image  ^ Vendor  ^ Product                ^ Works?    ^ Notes                                                    ^
-|        | Gendex  | GXS700 small (type 1)  | Yes*      | Linux VM problematic from Windows VMWare and VirtualBox  |+|        | Gendex  | GXS700 small (type 1)  | Yes       | Linux VM problematic from Windows VMWare and VirtualBox  |
 |        | Gendex  | GXS700 large (type 2)  | Yes       | Primary device I develop for                             | |        | Gendex  | GXS700 large (type 2)  | Yes       | Primary device I develop for                             |
 |        | Dexis   | Platinum               | Probably  | Test failed but DUT was likely broken                    | |        | Dexis   | Platinum               | Probably  | Test failed but DUT was likely broken                    |
Line 59: Line 59:
 This step tests the sensor without actually firing x-rays at it.  This is also useful for calibrating sensor defects This step tests the sensor without actually firing x-rays at it.  This is also useful for calibrating sensor defects
  
-{{:uvscada:gxs700:force.jpg?300}}+{{:uvscada:gxs700:good.png?300}}
  
-    - $ python gxs700/capture.py -f+    - $ python gxs700/capture.py -f -e
     - Check which you got:     - Check which you got:
       * Waiting for image: expected response.  Continue below       * Waiting for image: expected response.  Continue below
       * "Exception: Failed to find a device": plugged in?  Did you run permission script?       * "Exception: Failed to find a device": plugged in?  Did you run permission script?
-    - It should have written capture_000.png and capture_000.bin to the current directory +    - It should have written capture_000_e.png to the current directory 
-    - Above will be very dark.  Enhance contrast by doing histogram equalization: python gxs700/decode.py -e capture_000.bin capture_000e.png +    - You should see an image roughly resembling the noise of the reference above.  If you do, your sensor probably works
-    - You should see an image roughly resembling the reference above.  If you do, your sensor probably works+
  
 ====== X-ray capture ====== ====== X-ray capture ======
Line 171: Line 170:
 Takes raw, uncalibrated images.  I've been asked a few times if I could provide calibration files for the Windows driver or could even use their calibration files on my driver.  However, I'm not really interested in supporting their proprietary format. If someone submits a patch though I'll probably merge it in. Takes raw, uncalibrated images.  I've been asked a few times if I could provide calibration files for the Windows driver or could even use their calibration files on my driver.  However, I'm not really interested in supporting their proprietary format. If someone submits a patch though I'll probably merge it in.
  
-That said, I'm not against coming up with an independent calibration scheme.  I know how to take dark frames (see API) which is the key component.  Uncalibrated images have been generally good enough for me so I haven't put work into this.  If you are interested though shoot me line.+There is a a quick and dirty scheme thoughFirst, take dark field capture, that is a capture with no x-raysUse something like: 
 + 
 +  $ gxs700-capture -f -e 
 + 
 +This should yield a raw picture that looks something like this
 + 
 +{{:uvscada:gxs700:cal:df.jpg?200|}} 
 + 
 +And histogram equalized looks like this: 
 + 
 +{{:uvscada:gxs700:cal:dfe.jpg?200|}} 
 + 
 +Now make sure the sensor and the x-ray head have the exact same position and settings you will use to take your actual image capture. Make sure there is nothing in the beam and do standard capture (and also firing the x-ray head): 
 + 
 +  $ gxs700-capture -e 
 + 
 +This produces a flat field image like this: 
 + 
 +{{:uvscada:gxs700:cal:ff.jpg?200|}} 
 + 
 +Which might look like this when histogram equalized: 
 + 
 +{{:uvscada:gxs700:cal:ffe.jpg?200|}} 
  
 ====== Quality ====== ====== Quality ======
 
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki