Difference between revisions of "Team:Peking/Software"

 
(5 intermediate revisions by 2 users not shown)
Line 66: Line 66:
 
             position: relative;
 
             position: relative;
 
         }
 
         }
 +
        #page-wrap a:hover {color:#6495ED;}
 
          
 
          
 
         #sidebar {
 
         #sidebar {
Line 169: 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 303: Line 304:
 
                                 <div id="sidebar" style="color:#000000">
 
                                 <div id="sidebar" style="color:#000000">
 
                                     <h4><a href="javascript:void(0);" onclick="naver('A')">&bull;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')">&bull;Naming&nbsp;Rule&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')">&bull;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')">&bull;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')">&bull;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')"> &bull;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')">  
                                   &bull; Time&nbsp;Scale&nbsp;and&nbsp;Scale&nbsp;Plate</a></h4>
+
                                   &bull;Time&nbsp;Scale&nbsp;&&nbsp;Scale&nbsp;Plate</a></h4>
 
                                 </div>
 
                                 </div>
 
                             </div>
 
                             </div>
Line 472: 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 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.  
+
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 527: Line 528:
 
                     <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>

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.