Sandbox
Set up the scene and adjust the exposure time
Since we are interested in how noise depends on intensity, we want to collect noise data for the largest possible range of intensities. It would also be nice to have about the same number of pixels at each intensity. The intensity histogram is a useful tool to diagnose these two criteria.
For this part of the lab, you will change your experimental set up to get an image with a approximately uniform intensity histogram. We have left it up to you to decide how to get such an image, but here are a few guidelines:
- In the Device Properties tab, set the Exposure Time Abs property to 100.
- Start running the live histogram utility.
- Adjust your experiment until your histogram is a reasonably uniform distribution of pixel values between about 10 and 2000. Figure 1 shows a reasonably nice histogram. You might want to try some combination of sliding the optical components around, and adjusting the exposure time and LED current (remember not to exceed 0.5A!).
MATLAB code for plotting a histogram:
[ counts, bins ] = hist( double( squeeze( exposureTest(:) ) ), 100); loglog( bins, counts, 'LineWidth', 3 ) xlabel( 'Intensity (ADU)' ) ylabel( 'Counts' ) title( 'Image Intensity Histogram' )
If you're curious, the hist MATLAB command takes in the intensities you measured in exposureTest, divides the range of intensities into 100 intervals or 'bins', then counts the number of pixels which fall into each bin.
flump |
blort |
<dpl>category=Fictitious country</dpl>
{{#dpl:
|category=Lab Manuals
}}
Somewhere else on the page, you can put the following to reference the elements
Please refer to Equation 1, and Fig 2