Difference between revisions of "Team:Peking/Software"

 
(46 intermediate revisions by 6 users not shown)
Line 7: Line 7:
 
         <!--- Basic Page Needs========================================================================= -->
 
         <!--- Basic Page Needs========================================================================= -->
 
         <meta charset="utf-8"/>
 
         <meta charset="utf-8"/>
         <title>Home</title>
+
         <title></title>
 
         <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.2, user-scalable=yes" />
 
         <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.2, user-scalable=yes" />
 
         <meta name="description" content="Wiki of Peking iGEM 2018" />
 
         <meta name="description" content="Wiki of Peking iGEM 2018" />
         <meta name="author" content="Li Jiamian & Wang Yuqing"/>
+
         <meta name="author" content="Peking iGEM"/>
 
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
         <!-- Mobile Specific Metas===================================================================== -->
 
         <!-- Mobile Specific Metas===================================================================== -->
         <meta name="viewport" content="width=device-width, einitial-scale=1, maximum-scale=1"/>
+
         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
 
         <!-- Fix  Overwrite the original iGEM style=================================================== -->
 
         <!-- Fix  Overwrite the original iGEM style=================================================== -->
 
         <link href="https://2018.igem.org/Template:Peking/css/fix?action=raw&ctype=text/css" rel="stylesheet" />
 
         <link href="https://2018.igem.org/Template:Peking/css/fix?action=raw&ctype=text/css" rel="stylesheet" />
Line 23: Line 23:
 
         <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/layout?action=raw&ctype=text/css"/>
 
         <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/layout?action=raw&ctype=text/css"/>
 
         <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/media-queries?action=raw&ctype=text/css"/>
 
         <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/media-queries?action=raw&ctype=text/css"/>
        <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/priorstyle?action=raw&ctype=text/css"/>
 
 
         <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/notebook_panel?action=raw&ctype=text/css"/>
 
         <link rel="stylesheet" href="https://2018.igem.org/Template:Peking/css/notebook_panel?action=raw&ctype=text/css"/>
 
         <style>
 
         <style>
 +
                        body { background: #D2D8D8 url(https://static.igem.org/mediawiki/2018/7/78/T--Peking--images_bodyBackground.jpeg); background-attachment:fixed;}
 
             .texttitle{
 
             .texttitle{
 
                 color:#6495ED;
 
                 color:#6495ED;
                 font-size: 20px;
+
                 font-size: 32px;
 
                 line-height: 48px;
 
                 line-height: 48px;
 
                 margin-bottom: 12px;
 
                 margin-bottom: 12px;
Line 36: Line 36:
 
                 text-transform: uppercase;
 
                 text-transform: uppercase;
 
                 font-weight: 350;
 
                 font-weight: 350;
              text-align:center;  
+
                text-align: center;
     
+
                padding-top:40px;
              padding-top:40px;
+
 
             }
 
             }
 
         sup{font-size:11px;}
 
         sup{font-size:11px;}
Line 67: Line 66:
 
             position: relative;
 
             position: relative;
 
         }
 
         }
 +
        #page-wrap a:hover {color:#6495ED;}
 
          
 
          
 
         #sidebar {
 
         #sidebar {
Line 170: Line 170:
 
          
 
          
 
         .coll p a{
 
         .coll p a{
             color:#5c9085 !important;
+
             color:#6495ED !important;
 
         }
 
         }
 
         .coll p a:hover{
 
         .coll p a:hover{
             color:#11abb0 !important;
+
             color:#6495ED!important;
 
         }
 
         }
 
         .coll {
 
         .coll {
Line 243: Line 243:
 
                                 </ul>
 
                                 </ul>
 
                             </li>
 
                             </li>
                             <li class="dropdown menu-3"><a class="dropdown-toggle" data-toggle="dropdown" href="#" >Modeling</a>
+
                             <li class="menu-3"><a class="colapse-menu1" href="https://2018.igem.org/Team:Peking/Model">Modeling</a>
                                <ul class="dropdown-menu">
+
                                    <li><a href="https://2018.igem.org/Team:Peking/Modeling_overview">Overview</a></li>
+
                                    <li><a href="https://2018.igem.org/Team:Peking/SPOT_Formation" class="barfont1">SPOT Formation</a></li>
+
                                    <li><a href="https://2018.igem.org/Team:Peking/Application" class="barfont1">Application</a></li>
+
                                </ul>
+
 
                             </li>
 
                             </li>
 
                             <li class="menu-4"><a class="colapse-menu1" href="https://2018.igem.org/Team:Peking/Software">Software</a>
 
                             <li class="menu-4"><a class="colapse-menu1" href="https://2018.igem.org/Team:Peking/Software">Software</a>
Line 254: Line 249:
  
  
                                <li class="dropdown menu-6"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Human Practices</a>
+
                            <li class="menu-6"><a class="colapse-menu1" href="https://2018.igem.org/Team:Peking/Human_Practices">Human Practices</a>
                                    <ul class="dropdown-menu">
+
                            </li>
                                        <li><a href="https://2018.igem.org/Team:Peking/Human_Practices" class="barfont1">Overview</a></li>
+
                                        <li><a href="https://2018.igem.org/Team:Peking/Statistics" class="barfont1">Statistics</a></li>
+
                                        <li><a href="https://2018.igem.org/Team:Peking/Public_Engagement" class="barfont1">Public Engagement</a></li>
+
                                        <li><a href="https://2018.igem.org/Team:Peking/Other" class="barfont1">Other</a></li>
+
                                    </ul>
+
                                </li>
+
 
                                 <li class="dropdown menu-7"><a class="dropdown-toggle" data-toggle="dropdown" href="#" >Achievement</a>
 
                                 <li class="dropdown menu-7"><a class="dropdown-toggle" data-toggle="dropdown" href="#" >Achievement</a>
 
                                     <ul class="dropdown-menu">
 
                                     <ul class="dropdown-menu">
Line 278: Line 267:
 
                                         <li><a href="https://2018.igem.org/Team:Peking/Collaborations" class="barfont1">Collaborations</a></li>
 
                                         <li><a href="https://2018.igem.org/Team:Peking/Collaborations" class="barfont1">Collaborations</a></li>
 
                                         <li><a href="https://2018.igem.org/Team:Peking/Safety" class="barfont1">Safety</a></li>
 
                                         <li><a href="https://2018.igem.org/Team:Peking/Safety" class="barfont1">Safety</a></li>
 +
                                        <li><a href="https://2018.igem.org/Team:Peking/Acknowledgement" class="barfont1">Acknowledgement</a></li>
 +
                                       
 
                                     </ul>
 
                                     </ul>
 
                                 </li>
 
                                 </li>
Line 292: Line 283:
 
                 <div class="twelve columns centered text-center">
 
                 <div class="twelve columns centered text-center">
 
                     <h1>Software </h1>
 
                     <h1>Software </h1>
                     <p class="title1" style="text-align:center;">You can see our software here.</p>
+
                      
 
                 </div>
 
                 </div>
 
             </div>
 
             </div>
Line 312: Line 303:
 
                             <div id="page-wrap">
 
                             <div id="page-wrap">
 
                                 <div id="sidebar" style="color:#000000">
 
                                 <div id="sidebar" style="color:#000000">
                                     <h4><a href="javascript:void(0);" onclick="naver('A')">Overview</a></h4>
+
                                     <h4><a href="javascript:void(0);" onclick="naver('A')">&bull;Overview</a></h4>
                                     <h4><a href="javascript:void(0);" onclick="naver('B')">Naming&nbsp;Rules&nbsp;management</a></h4>
+
                                     <h4><a href="javascript:void(0);" onclick="naver('B')">&bull;Naming&nbsp;Rules&nbsp;Management</a></h4>
                                     <h4><a href="javascript:void(0);" onclick="naver('C')">Grayscale&nbsp;And&nbsp;Merge</a></h4>
+
                                     <h4><a href="javascript:void(0);" onclick="naver('C')">&bull;Grayscale&nbsp;&&nbsp;Merge</a></h4>
 
                      
 
                      
                                     <h4><a href="javascript:void(0);" onclick="naver('D')">Video&nbsp;And&nbsp;Z&nbsp;Stacks</a></h4>
+
                                     <h4><a href="javascript:void(0);" onclick="naver('D')">&bull;Video&nbsp;&&nbsp;Z&nbsp;Stacks</a></h4>
                                     <h4><a href="javascript:void(0);" onclick="naver('E')"> Cropping</a></h4>
+
                                     <h4><a href="javascript:void(0);" onclick="naver('E')">&bull;Cropping</a></h4>
                                     <h4><a href="javascript:void(0);" onclick="naver('F')"> Fixing&nbsp;Drift&nbsp;And&nbsp;Rotation</a></h4>
+
                                     <h4><a href="javascript:void(0);" onclick="naver('F')"> &bull;Fixing&nbsp;Drift&nbsp;&&nbsp;Rotation</a></h4>
 
                                     <h4><a href="javascript:void(0);" onclick="naver('G')">  
 
                                     <h4><a href="javascript:void(0);" onclick="naver('G')">  
                                  Time&nbsp;Scale And&nbsp;&nbsp;Scale&nbsp;Plate</a></h4>
+
                                  &bull;Time&nbsp;Scale&nbsp;&&nbsp;Scale&nbsp;Plate</a></h4>
 
                                 </div>
 
                                 </div>
 
                             </div>
 
                             </div>
Line 338: Line 329:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>We produce abundant fluorescent images in our experiments. However, there are many troubles when taking into the processing those data. The data can be extremely large. Even if you just take a 1 hour imaging for 25 positions in 3 channel for every minutes, the microscope will yield 4500 high resolution images. To help with the image processing in such a high throughput, we developed a software aim at microscope images batching. <a href="https://github.com/igemsoftware2018/Team_Peking">(Github: https://github.com/igemsoftware2018/Team_Peking)</a>
+
                                     <p>We produce abundant fluorescence images in our experiments. However, there are many challenges in the processing of such data, which can be extremely large. Even in the case of 1 hour of imaging for 25 positions at 3 channels every minute, the microscope will yield 4500 high-resolution images. To help with the image processing in such a high throughput, we developed software for microscope image batching(Fig. 1).
<br/><br/>
+
<br/><a href="https://github.com/igemsoftware2018/Team_Peking">(Github: https://github.com/igemsoftware2018/Team_Peking)</a><br/>
<div align="center"><img src="https://static.igem.org/mediawiki/2018/5/52/T--Peking--Software.png" width="300 px" height="300 px"></div>
+
<p style="text-align:justify; text-justify:inter-ideograph">This software was written specifically for the problems we encountered. </p><br/>
 +
<div align="center">
 +
<img src="https://static.igem.org/mediawiki/2018/5/52/T--Peking--Software.png" width="300 px" height="300 px"></div>
 +
<p><div align="center">Figure. 1 The GUI of the software</div></p>
 
<br/><br/>
 
<br/><br/>
  
  
<p style="text-align:justify; text-justify:inter-ideograph">This software is wrote just for the problems we meet. </p>
+
 
 
</div>
 
</div>
 
</div>  
 
</div>  
Line 355: Line 349:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>The first problem we meet is the file name of the exported images are always in massy rules. What’s the most confusing, the rules of number of the positions, channels and time are various in files. Considering the diversity of file names of images derived from different microscopes, we manage to build a naming rule manager, which can create and modify the name rule. The rules can be made are flexible, which can contain up to 4 variables and 4 customized string. Every variables have a customized zero filling function that can solve the problem like the annoying number 01 to 99. The users can also shear their rules in the form of a file, which may benefit group working.<a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Read the user's manuals for more detail.</a>  
+
                                     <p>The first problem we met is that the file names of the exported images are generated according to <b>fuzzy rules</b>. Confusingly, the rules for the number of the positions, channels and times vary among files. To address the diversity of file names of images derived from different microscopes, we managed to build a <b>naming rule manager</b> (Fig. 2), which can create and modify the naming rule. The rules that can be made are <b>flexible</b>, and can contain up to 4 variables and 4 customized strings. Every variable has a customized zero filling function that can solve annoying problems such as the numbers 01 to 99. The users can also <b>share</b> their rules in the form of a file, which may benefit group projects.<a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Please refer to the user manuals for more details.</a>  
 
<br/><br/>
 
<br/><br/>
<div align="center"><img src="https://static.igem.org/mediawiki/2018/d/dd/T--Peking--Namerule.png"></div>
+
<div align="center">
 +
<img src="https://static.igem.org/mediawiki/2018/d/dd/T--Peking--Namerule.png"><br/>
 +
<p><div align="center">Figure. 2 The GUI of naming rules manager</div></p>
 +
</div>
 
<br/><br/>
 
<br/><br/>
  
Line 371: Line 368:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>After solving the problem of getting files, we can now stick to the practices functions practical.
+
                                     <p>After solving the problem of obtaining the files, we can now address their processing.The most important difference between fluorescence microscope images and ordinary photographs is the channel function. We needed to contrast different fluorescence channels to assess the result. However, exporting a great number of large images can be exceedingly time-consuming. Thus, if we can merge the channels or convert the images to grayscale after cropping, we will save much time. Thus, we added the functions of <b>merging</b>(Fig. 3) and <b>grayscale conversion</b> (Fig. 4)to our software first.<a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Please refer to the user manuals for more details.</a> </p>
The most important difference between fluorescent images of microscope and Ordinary photo is the function of channel. We need to contrast different fluorescent channel to discover the conclusion. However, export a large number of large images could be a time-wasting process. If we can merge channel or convert the images into grayscale after cropping, we will save much time. Thus we add the functions of merging and grayscale to our software first. <a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Read the user's manuals for more detail.</a> </p>
+
<br/><br/>
+
<div align="center"><img src="https://static.igem.org/mediawiki/2018/e/eb/T--Peking--GrayS.png" width="150 px" heigth="150 px">
+
<img src="https://static.igem.org/mediawiki/2018/4/49/T--Peking--GrayG.png"width="150 px" heigth="150 px"></div>
+
 
<br/><br/>
 
<br/><br/>
  
 +
<div align="center">
 +
<img src="https://static.igem.org/mediawiki/2018/e/ee/T--Peking--MergeG.png" width="150 px" heigth="150 px">
 +
<img src="https://static.igem.org/mediawiki/2018/e/ef/T--Peking--MergeR.png" width="150 px" heigth="150 px">
 +
<img src="https://static.igem.org/mediawiki/2018/2/27/T--Peking--MergeM.png" width="150 px" heigth="150 px">
 
</div>
 
</div>
 +
<p><div align="center">Figure. 3 The images before and after channels merging</div></p>
 +
 +
 +
<div align="center">
 +
<img src="https://static.igem.org/mediawiki/2018/e/eb/T--Peking--GrayS.png" width="150 px" heigth="150 px">
 +
<img src="https://static.igem.org/mediawiki/2018/4/49/T--Peking--GrayG.png"width="150 px" heigth="150 px">
 
</div>
 
</div>
 +
<p><div align="center">Figure. 4 The images before and after grayscale conversion</div></p>
  
 +
<br/><br/>
 +
 +
</div>
 +
</div>
 
                             <div class="coll">
 
                             <div class="coll">
 
<div class="texttitle">Video and Z Stacks
 
<div class="texttitle">Video and Z Stacks
Line 388: Line 396:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>For the living organism, if we want to show the dynamic process with video, we will need to fuse the images by order to make video. We wrote the functions to export video by time or by z axis. <a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Read the user's manuals for more detail.</a></p>
+
                                     <p>In living organisms, if we want to show dynamic processes using video recordings, we will need to fuse the images in the correct order to make a video. We therefore wrote functions to <b>export video</b> by time or by z axis.(Fig. 5) <a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Please refer to the user manuals for more details.</a> </p>
 
<br/><br/>
 
<br/><br/>
 
<div align="center">
 
<div align="center">
<img src="https://static.igem.org/mediawiki/2018/7/77/T--Peking--video.png" width="300px" height="200 px">
+
<img src="https://static.igem.org/mediawiki/2018/7/77/T--Peking--video.png"><br/>
<br/>
+
 
<img src="https://static.igem.org/mediawiki/2018/0/09/T--Peking--driftE.gif"></div>
 
<img src="https://static.igem.org/mediawiki/2018/0/09/T--Peking--driftE.gif"></div>
 +
<p><div align="center">Figure. 5 The GUI of the video functions and the video exported</div></p>
 
<br/><br/>
 
<br/><br/>
  
Line 405: Line 413:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>In science research, cropping are widely used to beautify the images and emphasize the target. To meet the need of flexible cropping, we provide two cropping method. Drawing cropping can draw the range to be cropped while position cropping crop straightly by the given position. Read the user manuals for more detail.</p>
+
                                     <p>In scientific research, cropping is widely used to beautify the images and emphasize the target. To meet the need for flexible cropping, we provided two cropping methods. <b>Drawing cropping</b> can draw the range to be cropped while <b>position cropping</b> crops the given position.(Fig. 6) Please refer to the user manuals for more details.  <a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Please refer to the user manuals for more details.</a></p>
 
<br/><br/>
 
<br/><br/>
 
<div align="center">
 
<div align="center">
 
<img src="https://static.igem.org/mediawiki/2018/9/96/T--Peking--cropping.png" width="600px" height="300 px"></div>
 
<img src="https://static.igem.org/mediawiki/2018/9/96/T--Peking--cropping.png" width="600px" height="300 px"></div>
 +
<p><div align="center">Figure. 6 The cropping process</div></p>
  
 
<br/><br/>
 
<br/><br/>
Line 422: Line 431:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>What’s more, sometime the cells float in the process of photographing, which result in the cell drift or even rotate in the video. We will have to make a larger cropping to ensure the cell will not go out of the edge. To solve this problem, We wrote a function that can move the cropping frame with the cell linearly, which can fix the drift of cell to some extent. Also, we can rotate the image by the setting before cropping, by which we may also fix the rotation of the cells. <a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Read the user's manuals for more detail.</a> </p>
+
                                     <p>What’s more, sometime the cells float during the process of photographing, which results in the cells drifting or even rotating in the video. We will have to make a larger cropping to ensure that the cell will not move out of the field of view. To solve this problem, we wrote a function that can move the cropping frame with the cell linearly, which can <b>fix the drifting</b> of cells to some extent(Fig. 7). Also, we can rotate the image using the setting before cropping, by which we may also <b>fix the rotation</b> of the cells(Fig. 8). Please refer to the user manuals for more details. <a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Please refer to the user manuals for more details.</a> </p>
 
<br/><br/>
 
<br/><br/>
 
<div align="center">
 
<div align="center">
<img src="https://static.igem.org/mediawiki/2018/7/79/T--Peking--driftN.gif" width=" 250 px" height="250 px">
+
<img src="https://static.igem.org/mediawiki/2018/7/79/T--Peking--driftN.gif">
<img src="https://static.igem.org/mediawiki/2018/0/09/T--Peking--driftE.gif" width=" 250 px" height="150 px"><br/>
+
<img src="https://static.igem.org/mediawiki/2018/0/09/T--Peking--driftE.gif"><br/>
 +
<p><div align="center">Figure. 7 The videos before and after drift fixing. The yeast are less locomotive after fixing.</div></p>
 
</div>
 
</div>
 
<br/>
 
<br/>
 
<div align="center"><img src="https://static.igem.org/mediawiki/2018/e/e3/T--Peking--RotationN.gif" width=" 250 px" height="250 px">
 
<div align="center"><img src="https://static.igem.org/mediawiki/2018/e/e3/T--Peking--RotationN.gif" width=" 250 px" height="250 px">
 
<img src="https://static.igem.org/mediawiki/2018/e/e9/T--Peking--RotationF.gif" width=" 250 px" height="250 px"></div>
 
<img src="https://static.igem.org/mediawiki/2018/e/e9/T--Peking--RotationF.gif" width=" 250 px" height="250 px"></div>
 +
<p><div align="center">Figure. 8 The videos before and after rotation and drift fixing, The yeast are less rotational after fixing.</div></p>
  
 
<br/><br/>
 
<br/><br/>
Line 444: Line 455:
 
                                  
 
                                  
 
                                 <div class="content">
 
                                 <div class="content">
                                     <p>Eventually, the microscopy images in science need some information on it before showing up in public. The time scale of every frame and the scale of the cell are the most common features. We can add the time scale information to the image by the given position, start time, interval and unit. And the scale plate, which indicate the scale of the cells, can be added by the given position, total length, length/pixel and unit.<a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Read the user's manuals for more detail.</a>  </p>
+
                                     <p>Eventually, the micrographs in science need information attached to them before they can be shown to the public. The time scale of every frame and the scale of the cells are the most common features.(Fig. 9) We can add the <b>time scale</b> information to the image by the given position, start time, interval and unit. Furthermore, <b>the scale bar</b>, which indicates the scale of the cells, can be added by the given position, total length, length/pixel and unit.<a href="https://static.igem.org/mediawiki/2018/3/32/T--Peking--Users_manual.pdf"> Please refer to the user manuals for more details.</a>  </p>
 
<br/><br/>
 
<br/><br/>
 
<div align="center">
 
<div align="center">
 
<br/><br/>
 
<br/><br/>
<img src="https://static.igem.org/mediawiki/2018/2/26/T--Peking--Addinfo.gif">
+
<img src="https://static.igem.org/mediawiki/2018/2/26/T--Peking--Addinfo.gif"><br/>
<br/>
+
 
<img src="https://static.igem.org/mediawiki/2018/e/eb/T--Peking--GrayS.png">
 
<img src="https://static.igem.org/mediawiki/2018/e/eb/T--Peking--GrayS.png">
 +
<p><div align="center">Figure. 9 The GUI of adding information and the image with time and scale bar</div></p>
 
<br/><br/>
 
<br/><br/>
 
</div>
 
</div>
Line 462: Line 473:
 
<hr style="border:2px dashed; height:2px" color="#666666">
 
<hr style="border:2px dashed; height:2px" color="#666666">
 
<br/><br/>
 
<br/><br/>
Almost all of the microscopy image shown in our wiki and ppt are processing with this software. It help us a lot and we wish to share it with anyone who need it. If you want more detail, read the user manuals and the software are available <a href="https://github.com/igemsoftware2018/Team_Peking">here (Github)</a>.And if you want a update version after the project freeze after iGEM, <a href="https://github.com/IndigoMad/Microscopic-Images-Batching"> click here (Github)</a>,we will release all the update here.  
+
Almost all micrographs shown in our wiki and ppt were processed using this software. It helped us a lot and we wish to share it with anyone who needs it. If you want more detail, please refer to the user manuals. The software is available at:<a href="https://github.com/igemsoftware2018/Team_Peking">https://github.com/igemsoftware2018/Team_Peking (Github)</a>. If you want an updated version after the project freeze and after iGEM, check<a href="https://github.com/IndigoMad/Microscopic-Images-Batching"> here: (Github)</a>, we will release all the updates there.  
 
                              
 
                              
 
                      
 
                      
Line 481: Line 492:
 
          
 
          
 
          
 
          
       
+
                                <!-- footer============================================================================== -->
       
+
        <!-- footer============================================================================== -->
+
 
         <style>
 
         <style>
 
             footer .copyright span:before {
 
             footer .copyright span:before {
Line 499: Line 508:
 
         </style>
 
         </style>
 
         <footer id="page-footer">
 
         <footer id="page-footer">
 +
<footer id="page-footer">
 +
                <div class="row,row1">
 +
                    <ul class="footer-social">
 +
                        <li class="col-md-6" id="PKU-administration" style="margin-bottom:25px;max-width:300px">
 +
                            <a href="http://dean.pku.edu.cn/pkudean/index.html"><img src="https://static.igem.org/mediawiki/2018/7/7a/T--Peking--images_PKU_Administration_logo.png"></a>
 +
                        </li>
 +
                        <li class="col-md-6" id="PKU-SLS" style="margin-bottom:25px;max-width:300px">
 +
                            <a href="http://www.bio.pku.edu.cn/"><img src="https://static.igem.org/mediawiki/2018/0/04/T--Peking--images_PKU_SLS_logo.png"></a>
 +
                        </li>
 +
                     
 +
                        <li class="col-md-6" id="PKU-CQB" style="margin-bottom:25px;max-width:300px">
 +
                            <a href="http://cqb.pku.edu.cn/en/"><img src="https://static.igem.org/mediawiki/2018/e/e1/T--Peking--images_PKU_CQB_logo.png"></a>
 +
                        </li>
 +
 +
                    </ul>
 +
                </div>
 
             <div class="row">
 
             <div class="row">
 
                 <div class="twelve columns" >
 
                 <div class="twelve columns" >
 
                     <ul class="copyright">
 
                     <ul class="copyright">
 
                         <!--<li>&copy; 2014 Sparrow</li> -->
 
                         <!--<li>&copy; 2014 Sparrow</li> -->
                         <li><a href="https://2018.igem.org/Team:Peking">Home</a>&nbsp;&nbsp;&nbsp;<a href="mailto:indigomad@pku.edu.cn">Contact</a></li>
+
                         <li><a href="https://2018.igem.org/Team:Peking">Home</a>&nbsp;&nbsp;&nbsp;<a href="mailto:pekingigem2018@126.com">Contact</a></li>
 
                         <span> &copy;2018 PEKING IGEM. All Rights Reserved.</span>
 
                         <span> &copy;2018 PEKING IGEM. All Rights Reserved.</span>
 
                         <li><a href="http://getbootstrap.com/2.3.2/">Based on Bootstrap</a></li>
 
                         <li><a href="http://getbootstrap.com/2.3.2/">Based on Bootstrap</a></li>
Line 510: Line 535:
 
                 <div id="go-top" style="display: block;"><a title="Back to Top" href="#">Go To Top</a></div>
 
                 <div id="go-top" style="display: block;"><a title="Back to Top" href="#">Go To Top</a></div>
 
             </div>
 
             </div>
        </footer> <!-- Footer End-->
+
 
       
+
 
       
+
<!-- Footer End-->
        <!-- Java Script======================================================================= -->
+
                       
        <script>window.jQuery || document.write('<script src="https://2016.igem.org/Template:Peking/Javascript/jquery_1_10_2_min?action=raw&ctype=text/javascript"><\/script>')</script>
+
                       
        <script type="text/javascript" src="https://2016.igem.org/Template:Peking/Javascript/jquery_migrate_1_2_1_min?action=raw&ctype=text/javascript"></script>
+
            <!-- Java Script======================================================================= -->
       
+
            <script>window.jQuery || document.write('<script src="https://2018.igem.org/Template:Peking/Javascript/jquery_1_10_2_min?action=raw&ctype=text/javascript"><\/script>')</script>
        <script src="https://2016.igem.org/Template:Peking/Javascript/jquery_flexslider?action=raw&ctype=text/javascript"></script>
+
            <script type="text/javascript" src="https://2018.igem.org/Template:Peking/Javascript/jquery_migrate_1_2_1_min?action=raw&ctype=text/javascript"></script>
        <script src="https://2016.igem.org/Template:Peking/Javascript/doubleaptogo?action=raw&ctype=text/javascript"></script>
+
           
        <script src="https://2016.igem.org/Template:Peking/Javascript/init?action=raw&ctype=text/javascript"></script>
+
            <script src="https://2018.igem.org/Template:Peking/Javascript/jquery_flexslider?action=raw&ctype=text/javascript"></script>
       
+
            <script src="https://2018.igem.org/Template:Peking/Javascript/doubleaptogo?action=raw&ctype=text/javascript"></script>
       
+
            <script src="https://2018.igem.org/Template:Peking/Javascript/init?action=raw&ctype=text/javascript"></script>
        <!--quotations from black: start-->
+
           
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery?action=raw&ctype=text/javascript"></script>
+
            <!--quotations from flexslider: start-->
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_sticky?action=raw&ctype=text/javascript"></script>
+
            <script src='https://2018.igem.org/Template:Peking/Javascript/modernizr_js?action=raw&ctype=text/javascript'></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_easing_1_3_pack?action=raw&ctype=text/javascript"></script>
+
                <script type='text/javascript' src='https://2018.igem.org/Template:Peking/Javascript/fjquery_polaroid?action=raw&ctype=text/javascript'></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/bootstrap_min?action=raw&ctype=text/javascript"></script>
+
                <script type='text/javascript' src='https://2018.igem.org/Template:Peking/Javascript/fjquery_easing?action=raw&ctype=text/javascript'></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_patallax_1_1_3?action=raw&ctype=text/javascript"></script>
+
                <script type='text/javascript' src='https://2018.igem.org/Template:Peking/Javascript/fjquery_transform_0_8_0_min?action=raw&ctype=text/javascript'></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/appear?action=raw&ctype=text/javascript"></script>
+
                <script type='text/javascript' src='https://2018.igem.org/Template:Peking/Javascript/fjquery_preloader?action=raw&ctype=text/javascript'></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/modernizr?action=raw&ctype=text/javascript"></script>
+
                <!--quotations from flexslider: end-->
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_prettyPhoto?action=raw&ctype=text/javascript"></script>
+
               
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/isotope?action=raw&ctype=text/javascript"></script>
+
                <!--quotations from black: start-->
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_bxslider_min?action=raw&ctype=text/javascript"></script>
+
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery?action=raw&ctype=text/javascript"></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_cycle_all?action=raw&ctype=text/javascript" ></script>
+
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_sticky?action=raw&ctype=text/javascript"></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/jquery_maximage?action=raw&ctype=text/javascript"></script>
+
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_easing_1_3_pack?action=raw&ctype=text/javascript"></script>
        <script type='text/javascript' src="https://2016.igem.org/Template:Peking/Javascript/scripts?action=raw&ctype=text/javascript "></script>
+
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/bootstrap_min?action=raw&ctype=text/javascript"></script>
        <!--quotations from black: end-->
+
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_patallax_1_1_3?action=raw&ctype=text/javascript"></script>
    </body>
+
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/appear?action=raw&ctype=text/javascript"></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/modernizr?action=raw&ctype=text/javascript"></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_prettyPhoto?action=raw&ctype=text/javascript"></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/isotope?action=raw&ctype=text/javascript"></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_bxslider_min?action=raw&ctype=text/javascript"></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_cycle_all?action=raw&ctype=text/javascript" ></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/jquery_maximage?action=raw&ctype=text/javascript"></script>
 +
                <script type='text/javascript' src="https://2018.igem.org/Template:Peking/Javascript/scripts?action=raw&ctype=text/javascript "></script>
 +
                <!--quotations from black: end-->
 +
                           
 +
                           
 +
                            </body>
 
</html>
 
</html>

Latest revision as of 00:22, 18 October 2018

Software

Overview

We produce abundant fluorescence images in our experiments. However, there are many challenges in the processing of such data, which can be extremely large. Even in the case of 1 hour of imaging for 25 positions at 3 channels every minute, the microscope will yield 4500 high-resolution images. To help with the image processing in such a high throughput, we developed software for microscope image batching(Fig. 1).
(Github: https://github.com/igemsoftware2018/Team_Peking)

This software was written specifically for the problems we encountered.


Figure. 1 The GUI of the software



Naming Rules management

The first problem we met is that the file names of the exported images are generated according to fuzzy rules. Confusingly, the rules for the number of the positions, channels and times vary among files. To address the diversity of file names of images derived from different microscopes, we managed to build a naming rule manager (Fig. 2), which can create and modify the naming rule. The rules that can be made are flexible, and can contain up to 4 variables and 4 customized strings. Every variable has a customized zero filling function that can solve annoying problems such as the numbers 01 to 99. The users can also share their rules in the form of a file, which may benefit group projects. Please refer to the user manuals for more details.


Figure. 2 The GUI of naming rules manager



Grayscale and Channels Merge

After solving the problem of obtaining the files, we can now address their processing.The most important difference between fluorescence microscope images and ordinary photographs is the channel function. We needed to contrast different fluorescence channels to assess the result. However, exporting a great number of large images can be exceedingly time-consuming. Thus, if we can merge the channels or convert the images to grayscale after cropping, we will save much time. Thus, we added the functions of merging(Fig. 3) and grayscale conversion (Fig. 4)to our software first. Please refer to the user manuals for more details.



Figure. 3 The images before and after channels merging

Figure. 4 The images before and after grayscale conversion



Video and Z Stacks

In living organisms, if we want to show dynamic processes using video recordings, we will need to fuse the images in the correct order to make a video. We therefore wrote functions to export video by time or by z axis.(Fig. 5) Please refer to the user manuals for more details.




Figure. 5 The GUI of the video functions and the video exported



Cropping

In scientific research, cropping is widely used to beautify the images and emphasize the target. To meet the need for flexible cropping, we provided two cropping methods. Drawing cropping can draw the range to be cropped while position cropping crops the given position.(Fig. 6) Please refer to the user manuals for more details. Please refer to the user manuals for more details.



Figure. 6 The cropping process



Fixing Drift and Rotation

What’s more, sometime the cells float during the process of photographing, which results in the cells drifting or even rotating in the video. We will have to make a larger cropping to ensure that the cell will not move out of the field of view. To solve this problem, we wrote a function that can move the cropping frame with the cell linearly, which can fix the drifting of cells to some extent(Fig. 7). Also, we can rotate the image using the setting before cropping, by which we may also fix the rotation of the cells(Fig. 8). Please refer to the user manuals for more details. Please refer to the user manuals for more details.




Figure. 7 The videos before and after drift fixing. The yeast are less locomotive after fixing.


Figure. 8 The videos before and after rotation and drift fixing, The yeast are less rotational after fixing.



Time Scale and Scale Plate

Eventually, the micrographs in science need information attached to them before they can be shown to the public. The time scale of every frame and the scale of the cells are the most common features.(Fig. 9) We can add the time scale information to the image by the given position, start time, interval and unit. Furthermore, the scale bar, which indicates the scale of the cells, can be added by the given position, total length, length/pixel and unit. Please refer to the user manuals for more details.






Figure. 9 The GUI of adding information and the image with time and scale bar








Almost all micrographs shown in our wiki and ppt were processed using this software. It helped us a lot and we wish to share it with anyone who needs it. If you want more detail, please refer to the user manuals. The software is available at:https://github.com/igemsoftware2018/Team_Peking (Github). If you want an updated version after the project freeze and after iGEM, check here: (Github), we will release all the updates there.