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/napari_naive_bayes_colors.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ to get data for naive bayes functions. Collect pixel training data in Napari, ra
9
9
10
10
-**Parameters:**
11
11
- img - RGB image to extract color information from
12
-
- maskdict - dictionary of masks, output of [`napari_points_mask`](docs/napari_points_mask.md) for example
12
+
- maskdict - dictionary of masks, output of [`napari_points_mask`](napari_points_mask.md) for example
13
13
- filename - filename to save data, formatted to work with [Naive Bayes segmentation](https://plantcv.readthedocs.io/en/latest/tutorials/machine_learning_tutorial/)
- coor - dictionary object of coordinates, or a path to json datafile with dictionary of point coordinates
11
-
- dataformat - either 'yx' or 'xy', Napari takes data as y,x format. If data is 'xy' data is converted from x,y to y,x
11
+
- dataformat - either 'yx', 'xy', or 'sam', Napari takes data as y,x format. If data is 'xy' data is converted from x,y to y,x.
12
+
If data is 'sam' point data is formatted for input into ultralytics sam3 functions. If 'sam' format is selected the function does expect a dictionary with 'pos' and 'neg' points as labelled classes.
12
13
13
14
-**Context:**
14
-
- Import previously labeled points, or points from other functions (e.g. [`pcvan.napari_read_coor`](napari_read_coor.md))
15
+
- Import previously labeled points, or points from other functions (e.g. [`pcvan.napari_save_coor`](napari_save_coor.md))
0 commit comments