GemIdent



GemIdent is an interactive image processing program that identifies regions of interest. It is specifically designed for images with few colors, where the objects of interest look alike with small variation. For example, color image segmentation of:
 * Oranges from a tree
 * Stained cells from microscopic images

GemIdent also packages data analysis tools to investigate spatial relationships among the objects identified.

History
GemIdent was developed at Stanford University by Adam Kapelner from June, 2006 until January, 2007 in the lab of Dr. Peter Lee under the tutelage of Professor Susan Holmes. The concept was inspired by data from Ref. publication concerning immune profiles of lymph nodes in breast cancer patients. Hence, GemIdent works well when identifying cells in IHC-stained tissue imaged via automated light microscopy when the nuclear background stain and membrane/cytoplasmic stain are well-defined.

Methodology
GemIdent uses supervised learning to perform automated identification of regions of interest in the images. Therefore, the user must do a substantial amount of work first supplying the relevant colors, then pointing out examples of the objects or regions themselves as well as negatives (training set creation).

When a user clicks on a pixel, many scores are generated using the surrounding color information via Mahalanobis Ring Score attribute generation. These scores are then used to build a random forest machine-learning classifier which will then classify pixels in any given image.

After classification, there may be mistakes. The user can return to training and point out the specific mistakes and then reclassify. These training-classifying-retraining-reclassifying iterations (considered interactive boosting) can result in a highly accurate segmentation.

Source code
The source code for GemIdent is available to noncommercial users in pure Java 6. The code is licensed under the "GemIdent license" - a license written by Stanford's Office of Technology and Licensing that is not an open source license or a free software license because commercial redistribution is prohibited and distribution of derivative works is highly restricted.

Examples
The raw photograph (left), a superimposed mask showing the pixel classification results (center), and finally the photograph is marked with the centroids of the object of interest - the oranges (right)

The raw microscopic image of a stained lymph node (left) from the Kohrt study, a superimposed mask showing the pixel classification results (center), and finally the image is marked with the centroids of the object of interest - the cancer nuclei (right)

This example illustrates GemIdent's ability to find multiple phenotypes in the same image: the raw microscopic image of a stained lymph node (top left) from the Kohrt study, a superimposed mask showing the pixel classification results (top right), and finally the image marked with the centroids of the objects of interest - the cancer nuclei (in green stars), the T-cells (in yellow stars), and non-specific background nuclei (in cyan stars).

The command-line data analysis and visualization interface in action analyzing results of a classification of a lymph node from the Kohrt study. The histogram displays the distribution of distances from T-cells to neighboring cancer cells. The binary image of cancer membrane is the result of a pixel-only classification. The open PDF document is the autogenerated report of the analysis which includes a thumbnail view of the entire lymph node, counts and Type I error rates for all phenotypes, as well as a transcript of the analyses performed.