Difference between revisions of "Locating objects in a fluorescent microscopic image"

From Course Wiki
Jump to: navigation, search
(Overview)
(Precision and accuracy of centroids of stationary objects)
Line 28: Line 28:
 
regionprops
 
regionprops
  
==Precision and accuracy of centroids of stationary objects==
+
==Centroid precision and accuracy==
 
# Image fluorescent microspheres as before, but change the settings in imaqtool to capture 5 sequential frames instead of 1.
 
# Image fluorescent microspheres as before, but change the settings in imaqtool to capture 5 sequential frames instead of 1.
 +
#* Ensure that the camera gain is set to 0.
 
# Run your centroid finding code on each image.
 
# Run your centroid finding code on each image.
 
# Compute the standard deviation of each particle's centroid, &sigma;<sub>x</sub> and &sigma;<sub>y</sub>.
 
# Compute the standard deviation of each particle's centroid, &sigma;<sub>x</sub> and &sigma;<sub>y</sub>.
 +
# Turn the gain up to 5; re-adjust the exposure setting, and acquire another set of 5 images
 +
# Turn the gain up to 10; re-adjust the exposure setting, and acquire another set of 5 images
 +
# Run your centroid finder on the gain=5 and gain=10 image sets and compute the standard deviation.
 +
 +
==Report==
 +
# Compare the accuracy an precision of intensity-weighted centroids at different gain settings.
 +
#* What is the trend in the uncertainty?
 +
#* What is the likely explanation for the trend?
  
 
===Error sources===
 
===Error sources===
Line 46: Line 55:
 
image representations, histogram and how to expose image page
 
image representations, histogram and how to expose image page
 
imaqtool/camera settings page
 
imaqtool/camera settings page
 +
Determine gain value to use
 
-->
 
-->
  
 
{{Template:20.309 bottom}}
 
{{Template:20.309 bottom}}

Revision as of 05:05, 2 January 2013

20.309: Biological Instrumentation and Measurement

ImageBar 774.jpg

Overview

In this exercise, you will figure out where stuff is in an image.

Goals

  • Develop software to find locations of fluorescent microspheres in a digital image, σx,n and σy,n.
  • Investigate the effect of optical noise sources on centroid accuracy and precision.

Procedure

Image 1 micron fluorescent microspheres

  1. Use imaqtool to record an image of 1 micron fluorescent microspheres at 40X magnification.
    • Minimize quantization noise by selecting 16-bit monochrome mode.
    • Adjust the camera settings to achieve good contrast with minimal noise.
  2. Plot a histogram of the pixel values to verify optimal exposure
    • Use a log axis for the pixel count.
    • Take another image if the contrast is low or some pixels are over-saturated.
  3. Write a function in Matlab or another languageto compute the centroid of each microsphere
    • The function should return an N row by 2 column matrix, where N is the number microspheres in the image. The first column should contain the X coordinate and the second column should contain Y.

Relevant Matlab commands

imaqtool imhist semilogy im2bw graythresh regionprops

Centroid precision and accuracy

  1. Image fluorescent microspheres as before, but change the settings in imaqtool to capture 5 sequential frames instead of 1.
    • Ensure that the camera gain is set to 0.
  2. Run your centroid finding code on each image.
  3. Compute the standard deviation of each particle's centroid, σx and σy.
  4. Turn the gain up to 5; re-adjust the exposure setting, and acquire another set of 5 images
  5. Turn the gain up to 10; re-adjust the exposure setting, and acquire another set of 5 images
  6. Run your centroid finder on the gain=5 and gain=10 image sets and compute the standard deviation.

Report

  1. Compare the accuracy an precision of intensity-weighted centroids at different gain settings.
    • What is the trend in the uncertainty?
    • What is the likely explanation for the trend?

Error sources

Discuss the effect of the following error sources on the centroid values.

  1. Shot noise
  2. Readout noise
  3. Dark current noise
  4. Ambient light
  5. Mechanical vibration

<-- Todo: image representations, histogram and how to expose image page imaqtool/camera settings page Determine gain value to use -->