You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Tutorials/ROI analysis.md
+30-2Lines changed: 30 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
In this tutorial we will talk about regions of interest, how to extract them and how to analyse them on an actual example.
2
2
3
+
## Synopsis
4
+
5
+
## Regions' analysis
6
+
3
7
As a reminder, to get ROIs, first you need to find ROI map. To do so, you can either use `threshold` method:
4
8
5
9
```ts
@@ -116,6 +120,29 @@ for (const roi of biggestRois) {
116
120
}
117
121
```
118
122
123
+
An image above highlights the ROIs that we found. Dark blue regions represent the particles that were above the average that we calculated. The light blue particles are the particles with an above average size and roundness above 0.9.
124
+
This is just a fraction of tools that ImageJS possesses. There are multiple properties that you can discover more about in our [API features](../Features/Regions%20of%20interest/Regions%20of%20interest.md) section. Here is an example of the properties that you can use with each region of interest.
Another aspect worth inspecting is extracting image metadata. If an image is of TIFF format, you can extract some metadata tags that can provide additional information about an image. For instance, you can get data such as image length and width or learn about image quality through bit depth(`bitsPerSample`) or X and Y Resolutions.
@@ -173,7 +200,7 @@ DPI resolution represents the number of dots per inch. To calculate it we need t
173
200
X and Y resolutions are the number of dots per inch on X and Y axes. So, if they are equal, then DPI resolution equals to one of these values. However, this value might not be measured in inches. To check that we need to look at the value of `ResolutionUnit`.
174
201
If its value equals to 2 then the X and Y resolutions are measured in inches.If it's 3 then it's in centimeters and has to be converted.
0 commit comments