Skip to content

Commit ab00808

Browse files
authored
Merge pull request #171 from finglis/cell-detection-measurement-images
Cell detection measurement table images
2 parents 60c9517 + 652ca2c commit ab00808

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

docs/tutorials/cell_detection.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,33 @@ One way is to double-click on individual cells to select them (make sure the *Mo
120120

121121
Another way to view all the measurements of all the cells is by selecting {menuselection}`Measure --> Show detection measurements`; this command is also accessible from the *Measurement table* icon in the toolbar {{ icon_table }}.
122122

123+
:::{figure} images/ki67_detecting_results_detections.png
124+
:class: shadow-image full-image
125+
126+
Detection measurements table
127+
:::
128+
123129
This should open up a results table with the measurements of all cells.
124-
From this, it is possible to generate histograms, sort columns, select individual cells (which will then be selected on the image) and to export the measurements to a CSV file for use elsewhere.
130+
It is possible to generate histograms, sort columns, select individual cells (which will then be selected on the image) and to export the measurements to a CSV file for use elsewhere.
131+
Toggle the {guilabel}`Show images` button to hide the detection thumbnail for each row and select {guilabel}`Show plots` to show the histogram tab.
125132

126-
:::{figure} images/ki67_detecting_results_detections.png
133+
:::{figure} images/ki67_detecting_results_detections_area_plot.png
127134
:class: shadow-image full-image
128135

129-
Cell detection results table
136+
Detection measurements table with area histogram and thumbnails hidden
130137
:::
131138

132139
One particular use of this table is to help determine what threshold is most appropriate to apply to the *Nucleus: DAB OD mean* measurements to determine if a cell is positive or not.
133140
Since this measurement is included in the table, a histogram can be generated for this value from all detected cells.
134141
Because most cells in this example are negative, the image below shows a large peak around 0 and a long tail to the right.
135142
A threshold of around 0.1 looks like it is likely to perform well (note, the threshold that was actually used was 0.2... therefore we should expect few, false positives, but we may have missed a small number of some true positive cells and instead classified them as negative).
136143

144+
:::{figure} images/ki67_detecting_results_detections_OD_plot.png
145+
:class: shadow-image full-image
146+
147+
Detection measurements table with *Nucleus: DAB OD mean* histogram
148+
:::
149+
137150
:::{note}
138151
The fact that a considerable number of the cells appear to have *negative* DAB OD staining (i.e. values below zero) -- which ought not to be possible -- in the histogram suggests that the stain separation has not been perfect.
139152

3.05 KB
Loading
130 KB
Loading
131 KB
Loading

0 commit comments

Comments
 (0)