Team:iHKU/software

From 2008.igem.org

(Difference between revisions)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style>
<style>
 +
body{
 +
background-color: black;
 +
}
#content{
#content{
padding:0px;
padding:0px;
 +
width:975px;
}
}
table{
table{
Line 37: Line 41:
#main
#main
{
{
-
width:965px;
+
width:975px;
-
         background-image:url(https://static.igem.org/mediawiki/2008/9/98/Bg.jpg);
+
         background-image:url(https://static.igem.org/mediawiki/2008/1/19/Bg_new.jpg);
         float:left;
         float:left;
}
}
#up1
#up1
{
{
-
width:965px;
+
width:975px;
height:25px;
height:25px;
background-image:url(https://static.igem.org/mediawiki/2008/d/d7/Up1.gif);
background-image:url(https://static.igem.org/mediawiki/2008/d/d7/Up1.gif);
Line 50: Line 54:
#down1
#down1
{
{
-
width:965px;
+
width:975px;
float:left;
float:left;
}
}
Line 68: Line 72:
width:230px;
width:230px;
height:600px;
height:600px;
 +
        background-image:url(https://static.igem.org/mediawiki/2008/8/8b/Leftside.jpg);
}
}
#left_extend
#left_extend
Line 78: Line 83:
#down1right
#down1right
{
{
-
width:700px;
+
width:745px;
float:left;
float:left;
}
}
Line 88: Line 93:
#rightside
#rightside
{
{
-
width:20px;
+
width:40px;
-
         float:left;
+
height:700px;
 +
         float:right;
 +
        background-image:url(https://static.igem.org/mediawiki/2008/7/7e/Rightside.jpg);
}
}
#rightsidepic
#rightsidepic
{
{
-
width: 20px;
+
width: 40px;
height: 746px;
height: 746px;
background-image:url(https://static.igem.org/mediawiki/2008/7/7e/Rightside.jpg);
background-image:url(https://static.igem.org/mediawiki/2008/7/7e/Rightside.jpg);
Line 99: Line 106:
#right_extend
#right_extend
{
{
-
width:20px;
+
width:40px;
background-image:url(https://static.igem.org/mediawiki/2008/6/6b/Rightext.jpg);
background-image:url(https://static.igem.org/mediawiki/2008/6/6b/Rightext.jpg);
}
}
Line 130: Line 137:
}
}
</style>
</style>
 +
  <style> 
 +
  <!-- 
 +
  a:link 
 +
  { 
 +
  color:#3366CC;
 +
  text-decoration:none 
 +
  } 
 +
  a:visited 
 +
  {
 +
  color:#FF6600;
 +
  text-decoration:none 
 +
  } 
 +
  a:hover 
 +
  { 
 +
  color:#66CCFF;text-decoration:underline 
 +
  } 
 +
  --> 
 +
  </style>
<div id="main">
<div id="main">
<div id="up1">
<div id="up1">
-
  <table width="100%" border="0">
+
<table width="100%" border="0">
         <tr>
         <tr>
-
           <th width="50%" scope="row">&nbsp;</th>
+
           <th width="61%" scope="row">&nbsp;</th>
-
           <td width="50%"><span class="style3"><a href="http://www.hku.hk/">The University of Hong Kong</a> | <a href="http://www.hku.hk/facmed/">The Faculty of Medicine</a></span></td>
+
           <td width="39%"><span class="headline"><a href="http://www.hku.hk">The University of Hong Kong</a> | <a href="http://www.hku.hk/facmed/">Li Ka Shing Faculty of Medicine</a></span></td>
         </tr>
         </tr>
       </table>
       </table>
Line 212: Line 237:
                   </tr>
                   </tr>
                 </table>
                 </table>
-
             </div>          
+
             </div>
 +
           
         </div>
         </div>
       <div id="down1right">
       <div id="down1right">
Line 218: Line 244:
             <div id="preheader"></div>
             <div id="preheader"></div>
             <div id="header"></div>
             <div id="header"></div>
-
        <div id="content1">
+
<div id="content1">
 +
               
             <table width="100%" border="0">
             <table width="100%" border="0">
                       <tr>
                       <tr>
Line 225: Line 252:
                         <td width="80%" align="left"><h1 class="style7"><a name="top" id="top"></a>Software</h1>
                         <td width="80%" align="left"><h1 class="style7"><a name="top" id="top"></a>Software</h1>
                           <ol>
                           <ol>
-
                             <li class="style18"><u><a href="#java">Java</a></u></li>
+
                             <li class="style18"><a href="#java">Java</a></li>
-
                             <li class="style18"><u><a href="#imagej">ImageJ</a></u><span class="style16"></li>
+
                             <li class="style18"><a href="#imagej">ImageJ</a><span class="style16"></li>
                           </ol>
                           </ol>
                           <p>&nbsp;</p>
                           <p>&nbsp;</p>
Line 313: Line 340:
                       </tr>
                       </tr>
</table>                 
</table>                 
-
             
+
                   
         </div>
         </div>
                  
                  
             <div id="footer1"></div>
             <div id="footer1"></div>
         </div>
         </div>
-
           
+
                <div id="rightside">
 +
           
 +
        </div>   
         </div>
         </div>
     </div>
     </div>
</div>
</div>
</html>
</html>
-
            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 />
+
<html>
-
                            For example, at  a time-point, the following pattern:</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 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 />
+
-
                            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 />
+
-
                            After taking the  gel photo, use image to open it. </p>
+
-
                          <p align="center">
+

Latest revision as of 18:05, 29 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]