Team:iHKU/software

From 2008.igem.org

(Difference between revisions)
(New page: <html> <style> #content{ padding:0px; } table{ background-color: transparent; } p { font-family: Calibri; font-size: 13px; } p:first-letter { color:#990000; font-size:x-large; } h1 { font-...)
Line 286: Line 286:
                             The light  intensity 3D plot is achieved by using ImageJ’s interactive 3D surface plot  plug-in accompanied with the automatic mouse control program. Pattern at each  time point will be plotted and finally integrated into a real-time growth  pattern.<br />
                             The light  intensity 3D plot is achieved by using ImageJ’s interactive 3D surface plot  plug-in accompanied with the automatic mouse control program. Pattern at each  time point will be plotted and finally integrated into a real-time growth  pattern.<br />
                             For example, at  a time-point, the following pattern:</p>
                             For example, at  a time-point, the following pattern:</p>
-
                           <p align="center"><img src="image/software_pic4.JPG" width="286" height="275" /></p>
+
                           <p align="center"><img src="/wiki/images/8/8b/Software_pic4.JPG" width="286" height="275" /></p>
                           <p>Will be plotted  like this:</p>
                           <p>Will be plotted  like this:</p>
-
                           <p align="center"><img src="image/software_pic5.JPG" width="286" height="286" /></p>
+
                           <p align="center"><img src="/wiki/images/b/b1/Software_pic5.JPG" width="286" height="286" /></p>
                           <p>and finally integrate the plot of different  time point into a single pattern growth animation.<br />
                           <p>and finally integrate the plot of different  time point into a single pattern growth animation.<br />
                             Furthermore, we are hoping to extend this  method of measurement to other application, like recording total band  brightness on gel photo to measure the chromosome expression level by using  ImageJ with its build-in Gel analyze function. (refer  to Roy’s design).<br />
                             Furthermore, we are hoping to extend this  method of measurement to other application, like recording total band  brightness on gel photo to measure the chromosome expression level by using  ImageJ with its build-in Gel analyze function. (refer  to Roy’s design).<br />
                             The steps to  calculate the band is as follow:<br />
                             The steps to  calculate the band is as follow:<br />
                             After taking the  gel photo, use image to open it. </p>
                             After taking the  gel photo, use image to open it. </p>
-
                           <p align="center"><img src="image/software_pic6.JPG" width="412" height="79" /></p>
+
                           <p align="center"><img src="/wiki/images/1/14/Software_pic6.JPG" width="412" height="79" /></p>
                           <p>Use rectangular  tool to select the band as small as possible to just cover the band</p>
                           <p>Use rectangular  tool to select the band as small as possible to just cover the band</p>
-
                           <div align="center"><img src="image/software_pic7.JPG" width="429" height="25" />                          </div>
+
                           <div align="center"><img src="/wiki/images/d/dc/Software_pic7.JPG" width="429" height="25" />                          </div>
                           <p>Use  Analyze-Gels-Select First Lane (Or Ctrl+1)</p>
                           <p>Use  Analyze-Gels-Select First Lane (Or Ctrl+1)</p>
-
                           <p align="center"><img src="image/software_pic8.JPG" width="398" height="83" /></p>
+
                           <p align="center"><img src="/wiki/images/6/6e/Software_pic8.JPG" width="398" height="83" /></p>
                           <p>Invert the  selected ROI</p>
                           <p>Invert the  selected ROI</p>
                           <div align="center">
                           <div align="center">
-
                             <p><img src="image/software_pic9.JPG" width="399" height="83" /></p>
+
                             <p><img src="/wiki/images/6/63/Software_pic9.JPG" width="399" height="83" /></p>
                           </div>
                           </div>
                           <p>Use mouse  pointer to move the square selection to the second lane, select  Analyze-Gels-Plot Lane (Or Ctrl+3)</p>
                           <p>Use mouse  pointer to move the square selection to the second lane, select  Analyze-Gels-Plot Lane (Or Ctrl+3)</p>
-
                           <p align="center"><img src="image/software_pic10.JPG" width="399" height="186" /></p>
+
                           <p align="center"><img src="/wiki/images/e/e6/Software_pic10.JPG" width="399" height="186" /></p>
                           <p>Use Straight  Line Selection tool to separate each lane</p>
                           <p>Use Straight  Line Selection tool to separate each lane</p>
-
                           <p align="center"><img src="image/software_pic11.JPG" width="419" height="186" /></p>
+
                           <p align="center"><img src="/wiki/images/3/3c/Software_pic11.JPG" width="419" height="186" /></p>
                           <p align="left">Use Wand Tools to measure area of each line</p>
                           <p align="left">Use Wand Tools to measure area of each line</p>
-
                           <p align="center"><img src="image/software_pic12.JPG" width="419" height="186" /></p>
+
                           <p align="center"><img src="/wiki/images/b/be/Software_pic12.JPG" width="419" height="186" /></p>
                           <p>Finally, record  the result and plot graph</p>
                           <p>Finally, record  the result and plot graph</p>
-
                           <div align="center"><img src="image/software_pic13.JPG" width="372" height="163" /></div>
+
                           <div align="center"><img src="/wiki/images/d/d2/Software_pic13.JPG" width="372" height="163" /></div>
                           <p align="left"><a href="#top">[Back to Top]</a></p></td>
                           <p align="left"><a href="#top">[Back to Top]</a></p></td>
                         <td width="10%">&nbsp;</td>
                         <td width="10%">&nbsp;</td>

Revision as of 19:57, 28 October 2008

 

 

Software

  1. Java

  2. ImageJ

A. Java

A simple Java program is used to automate the picture capturing process.
This Java program will simulate a mouse left-click for every INTERVAL ms, and will stop after DURATION ms.

import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
public class MouseController implements Runnable {
private Robot robot;
private volatile boolean stop = false;
// you can adjust these two variables for your own needs.
private static int INTERVAL = 1000;
private static int DURATION = 15000;
public MouseController() {
try {
robot = new Robot();
} catch (AWTException ex) {
ex.printStackTrace();
}
}
public void run() {
while(!stop) {
robot.mousePress(InputEvent.BUTTON1_MASK);
robot.mouseRelease(InputEvent.BUTTON1_MASK);
try {
Thread.sleep(INTERVAL);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
}
public synchronized void stop() {
stop = true;
}
public static void main(String[] args) {
MouseController mc = new MouseController();
Thread mcThread = new Thread(mc);
System.out.println("Picture capturing started");
mcThread.start();
try {
Thread.sleep(DURATION);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
mc.stop();
System.out.println("Picture capturing stopped");
}
}

[Back to Top]

B. ImageJ

ImageJ, a powerful medical image analyze tool, is used to measure the plate brightness. The Region of Interest (ROI) is set to the entire plate excluding the edge area where the high level of signal intensity caused by reflection of light source from the plate’s side wall will distort the signal.
The light intensity 3D plot is achieved by using ImageJ’s interactive 3D surface plot plug-in accompanied with the automatic mouse control program. Pattern at each time point will be plotted and finally integrated into a real-time growth pattern.
For example, at a time-point, the following pattern:

Will be plotted like this:

and finally integrate the plot of different time point into a single pattern growth animation.
Furthermore, we are hoping to extend this method of measurement to other application, like recording total band brightness on gel photo to measure the chromosome expression level by using ImageJ with its build-in Gel analyze function. (refer to Roy’s design).
The steps to calculate the band is as follow:
After taking the gel photo, use image to open it.

Use rectangular tool to select the band as small as possible to just cover the band

Use Analyze-Gels-Select First Lane (Or Ctrl+1)

Invert the selected ROI

Use mouse pointer to move the square selection to the second lane, select Analyze-Gels-Plot Lane (Or Ctrl+3)

Use Straight Line Selection tool to separate each lane

Use Wand Tools to measure area of each line

Finally, record the result and plot graph

[Back to Top]