NucleusEditor

From FarsightWiki
(Difference between revisions)
Jump to: navigation, search
(Logging Editing History)
(Logging Editing History)
Line 93: Line 93:
 
- Merge : In this case, two cells (id1, and id2) will be merged and a new cell will be created. Therefore, we first delete the first two cells and update their edit histories with this information, and then we update the edit history of the new cell noting that it is created by merging the cells with id1 and id2.
 
- Merge : In this case, two cells (id1, and id2) will be merged and a new cell will be created. Therefore, we first delete the first two cells and update their edit histories with this information, and then we update the edit history of the new cell noting that it is created by merging the cells with id1 and id2.
  
- Split : We note that two new cells will be created (with their ids) after splitting the cell of interest
+
- Split : We note that two new cells will be created (with their ids) after splitting the cell of interest. In addition, the edit histories of each new cell will be updated with the id of the cell they are splitted from.
  
 
[[Image:farsight-object-split.JPG]]
 
[[Image:farsight-object-split.JPG]]

Revision as of 21:54, 23 August 2009

The NucleusEditor program provides users with the following functionalities:

Contents

Image Viewer

NucleusEditor allows users to view the image data, and the automatically generated multivariate metadata (mainly object features) using multiple data visualization tools that are all actively linked. This linkage is important, and allows the data to be viewed in multiple spaces simultaneously, and a cluster of objects to be selected based on any combination of operations in any of the multiple spaces. We term this method Actively linked multiple spaces architecture (ALISA). NucleusEditor provides this linked-view architecture where objects can be visualized in image or geometric views, table views, plot views, and histogram views. Operations performed in one view are immidiately visible in all of the views.

NE with editing.jpeg


Segment Cell Nuclei

In addition to viewing existing results, NucleusEditor can be also used to segment images of of cell nuclei using a multi-step nuclear segmentation algorithm. NucleusEditor is designed in a way that it simplifies these steps for users to produce results in an efficient manner.


The first step starts with loading an image and a paramater file that affects the quality of the segmentation result.

NE-Seg-Wiz0.JPG


After loading these two files, Clicking on "Execute" and "Next" buttons will take user to the following segmentation steps. Here is the next step,

NE-Seg-Wiz1.JPG


NE-Wiz-2.JPG

It is also possible to view and edit the seeds for a good segmentation result. In order to do this click on "View Seeds in 3D and Edit" button.

Seed editing.JPG

For more information about seed editing and how to use the seed editor visit Seed Editor page.

And finally the segmentation of cell nuclei results in an XML document that contains nuclei features.

NE-Seg-Wiz3.JPG

Editing Segmentation Results

In addition to producing segmentation results, we can also load existing results from an XML file and correct any segmentation results. NucleusEditor provides the following three operations to edit cells:

  • Delete Cells
  • Merge Cells
  • Spliting (Cells)

These editing operations will be active after loading a segmentation result file.

Editing0.JPG

  • Delete Cells

In order to "Delete a cell", we first pick the cell and click on "Delete Cells" menu item. Alternatively, we can press "D" after clicking on the cell. In the following example, we want to delete the cell with id-13. As soon as this cell is deleted all the views will be updated accordingly. In this example, the cell 13 and all the corresponding data presented in that row will be deleted.

Editing1-delete.JPG

  • Merge Cells

Merging Cells requires the user to select two neighboring cells first. After clicking on the "Merge Cells" menu item, the cells will be merged and the new feature values will be computed and added into the table with a new id. The feature values associated with the old cells will be removed. In the following example, we merge the cells with id 18 and 37. The last id that we have in the table is 54. After the merge operation, the new cell will have id 55 in the table.

Similar to the "Delete Cell" operation, the user can use the keyboard and press "M" to merge the cells. Note that if the selected cells are not neighbors, they will not be merged.

Editing2-merge.JPG

  • Splitting (Cells)

Cells can be splitted after we are in the splitting mode. The splitting menu has a submenu that has two items:

  • Start Splitting
  • End Splitting

We start splitting operation with "Start Splitting" submenu item and select two seed points inside the cell. When we click on points in a cell these points will be colored with red. Once the seed points are ready we can split the selected cell by clicking on "End Splitting".

In the following example, We first choose "Start Splitting" to split the cell with id-1.

Editing3-split0.JPG

We first zoom in using the mouse and click on two seed points.

Editing3-split1.JPG

After splitting the cell with id-1, the splitted cell will be removed and two new cells (id-56 and 57) with new features will be added into the table and other views.

Editing3-split2.JPG

Logging Editing History

A typical XML result file consists of a set of objects whose structure is given in the following figure. Each object is defined with a set of features. In the following result file, an object corresponds to a cell nuclei which is identified by a unique id. A cell can be either valid or invalid depending on the editing operation. Initially all cells are valid and will be loaded. If a "delete" operation is applied to the cell , it will no longer be valid. But we still keep this cell data in the result file for logging purposes.

Farsight-object.JPG

Every editing operation (delete, merge, or split) is recorded by creating an editing history log for each cell in the result file. We define an <EditHistory> element for each cell and list the editing operations with a proper timestamp and cell ids. There are three cases:

- Delete: We just note that this cell has been deleted (valid=0)

- Merge : In this case, two cells (id1, and id2) will be merged and a new cell will be created. Therefore, we first delete the first two cells and update their edit histories with this information, and then we update the edit history of the new cell noting that it is created by merging the cells with id1 and id2.

- Split : We note that two new cells will be created (with their ids) after splitting the cell of interest. In addition, the edit histories of each new cell will be updated with the id of the cell they are splitted from.

Farsight-object-split.JPG

Edit-Based Validation - Group Editing

Since automated segmentation algorithms are not perfect, there is a compelling need to develop efficient methods to identify and correct the automated segmentation errors. Due to the large size of the datasets, the identification and correction of the cells to be edited have to be done very fast. In order to achieve this NucleusEditor implements kernel based pattern analysis algorithms where we can do group or cluster editing of multiple errors simultaneously. This dramatically reduces the amount of manual effort required compared to unassisted edit-based methods. We term this methodology PACE (Pattern Assisted Cluster Editing). By observing the nature of the errors and analyzing them, it can be possible to asses the performance of the algorithms used in NucleusEditor for this purpose and modify them to prevent such errors in the future. We explain ALISA and Group Editing in more detail at EVS and Validation Methods.


Once the corrected segmentation results are obtained with this way, hypothesis-driven and discovery driven research can be conducted by utilizing object features, associative object measurements, and the other tools that are part of the FARSIGHT_Toolkit.


This page was prepared by Aytekin Vargun (with Isaac Abbott's contributions)

Personal tools