Skip to content

Commit 7b23048

Browse files
Finalised
Figures could be layed out better
1 parent d58bead commit 7b23048

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

_pages/imaging/particle-analysis.md

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,21 @@ Automatic particle counting can be done if the image does not have too many indi
1111

1212
[Segmentation](/imaging/segmentation), or the ability to distinguish an object from its background, can be a difficult issue to deal with. Once this has been done, however, the object can then be analyzed.
1313

14-
**RAW Threshold Watershed "AnalyzeParticles"** ![266\*177px](/media/imaging/raw-threshold-watershed-analyzeparticles2.jpg)
14+
{% include img src="/media/imaging/raw-threshold-watershed-analyzeparticles2.jpg" caption="**RAW Threshold Watershed \"AnalyzeParticles\"**" %}
1515

1616
### Setting a threshold
1717

1818
**5.1.1.1 Manual thresholding**
1919

2020
Automatic particle analysis requires a "binary", black and white, image. A threshold range is set to tell the objects of interest apart from the background. All pixels in the image whose values lie under the threshold are converted to black and all pixels with values above the threshold are converted to white, or vice-versa.
2121

22-
{::nomarkdown}
23-
<table>
24-
<tbody>
25-
<tr>
26-
<td style="border:none;padding:0in;">
27-
<p>{% include thumbnail src='/media/imaging/black-white-threshold.png' title='left'%}</p>
28-
</td>
29-
<td style="border:none;padding:0in;">
30-
<p>There are several ways to set thresholds. Monochrome images are most simply thresholded via the menu command {% include bc path='Image | Adjust | Threshold'%}. The threshold can be set using the slider bars. The pixels within the threshold range are displayed in red. When you are satisfied with the threshold settings, you can then hit <em>Apply</em>. This will permanently apply the threshold settings and convert the image to binary. You have different options for setting a manual threshold. The drop-down menu set to <em>Default</em> allows you to choose between <em>Default</em> and 15 other threshold techniques. The drop-down menu set to <em>Red</em> allows you to choose between a red on white color scheme, a black on white color scheme, or an over and under color scheme. The <em>Dark Background</em> box will flip the foreground color with the background color. You can also choose to check the Stack histogram box to produce a histogram for an entire stack.</p>
31-
</td>
32-
</tr>
33-
</tbody>
34-
</table>
35-
{:/}
36-
37-
{% include thumbnail src='/media/imaging/color-thresholding-manual-threshold2.png' title='right'%} For color images, setting the threshold is done with the command sequence {% include bc path='Image | Adjust | Color Threshold...'%}. The *Thresholding method* option allows you to choose a thresholding techniqe other than the default. The *Threshold color* option allows you to choose between Red, White, Black, or B&W as the thresholding color. The *Color space* option allows you to choose between HSB, RGB, Lab, and YUV. The background of the thresholded image can be made light or dark. The image can be converted to a binary image via the menu command {% include bc path='Image | Type | 8-bit'%}.
22+
{% include img src="/media/imaging/black-white-threshold.png" %}
23+
24+
There are several ways to set thresholds. Monochrome images are most simply thresholded via the menu command {% include bc path='Image | Adjust | Threshold'%}. The threshold can be set using the slider bars. The pixels within the threshold range are displayed in red. When you are satisfied with the threshold settings, you can then hit *Apply*. This will permanently apply the threshold settings and convert the image to binary. You have different options for setting a manual threshold. The drop-down menu set to *Default* allows you to choose between *Default* and 15 other threshold techniques. The drop-down menu set to *Red* allows you to choose between a red on white color scheme, a black on white color scheme, or an over and under color scheme. The *Dark Background* box will flip the foreground color with the background color. You can also choose to check the Stack histogram box to produce a histogram for an entire stack.
25+
26+
{% include img src='/media/imaging/color-thresholding-manual-threshold2.png' %}
27+
28+
For color images, setting the threshold is done with the command sequence {% include bc path='Image | Adjust | Color Threshold...'%}. The *Thresholding method* option allows you to choose a thresholding techniqe other than the default. The *Threshold color* option allows you to choose between Red, White, Black, or B&W as the thresholding color. The *Color space* option allows you to choose between HSB, RGB, Lab, and YUV. The background of the thresholded image can be made light or dark. The image can be converted to a binary image via the menu command {% include bc path='Image | Type | 8-bit'%}.
3829

3930
**Automatic thresholding**
4031

@@ -54,7 +45,9 @@ First convert the image to binary by thresholding. The black pixels are then rep
5445

5546
### Analyze Particles
5647

57-
To analyze the particles in a segmented image, use the menu command {% include bc path='Analyze | Analyze particles...'%}. This will provide you with information about each particle in the image.{% include thumbnail src='/media/imaging/analyze-particles-screenshot.png' title='\|right'%}.
48+
To analyze the particles in a segmented image, use the menu command {% include bc path='Analyze | Analyze particles...'%}. This will provide you with information about each particle in the image.
49+
50+
{% include img src='/media/imaging/analyze-particles-screenshot.png' %}
5851

5952
Set the minimum size and maximum pixel area size to exclude anything that is not an object of interest in the image. Roundness values between 0.0 and 1.0 can also be selected to help exclude unwanted objects. Select the *Show: Outlines* option to display an image of the detected objects. The *Show* drop-down menu also allows the user to show Nothing, Bare Outlines, Ellipses, Masks, Count Masks, Overlay Outlines, and Overlay Masks. The user can choose whether to *Display results*, *Clear Results*, *Summarize*, *Add to Manager*, *Exclude on edges*, *Include holes*, *Record starts*, and/or *In situ Show*.
6053

@@ -64,7 +57,9 @@ The particle analysis can be automated via plugins or macros once the correct th
6457

6558
This plugin automates many of the steps discussed above.
6659

67-
1. Enter the size range to be counted![](/media/imaging/nucleus-counter-1.jpg).
60+
![](/media/imaging/nucleus-counter-1.jpg).
61+
62+
1. Enter the size range to be counted
6863
2. Select the automatic thresholding method. This can be either *Current*, *Otsu*, *Maximum Entropy*, *Mixture Modelling* or *k-means* clustering. *Current* uses the threshold that has been set manually, see above.
6964
3. Perform a background correction.
7065
4. Use a *Smooth* filter.

0 commit comments

Comments
 (0)