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
This simplifies the process of creating a map of regions of interest and eliminates the need for a separate initialization step, providing a more direct and functional approach to ROI creation.
137
137
138
+
The `RoiMap` data structure has also been modernized with clearer property names:
139
+
140
+
```ts
141
+
// Before
142
+
const colsData =roiMap.colsInfo();
143
+
const rowsData =roiMap.rowsInfo();
144
+
// Provide information about ROIs per column and per row.
145
+
// After
146
+
const blackRegions =roiMap.blackRois;
147
+
const whiteRegions =roiMap.whiteRois;
148
+
// Provide information based on ROI's value.
149
+
```
150
+
151
+
The new `blackRois` and `whiteRois` properties provide more intuitive access to region data based on pixel values rather than geometric dimensions.
152
+
138
153
For more information, please, visit these tutorials:
139
154
140
155
-[Image segmentation with `threshold()` and `fromMask()`](../docs/Tutorials/Image%20segmentation%20with%20threshold)
0 commit comments