Skip to content

Commit 31105f6

Browse files
authored
Merge pull request #1627 from mlohbihler/patch-1
2 parents 1dbebaf + b4319fb commit 31105f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/updating.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ roi = pcv.roi.rectangle(img=img, x=100, y=100, h=100, w=100)
145145

146146
# Filter binary image to make a clean mask based on ROI
147147
# (no longer needs `pcv.find_objects` or `pcv.object_composition`)
148-
mask = pcv.roi.filter(mask=bin_img, roi=roi, roi_type="partial")
148+
mask = pcv.roi.filter(mask=bin_mask, roi=roi, roi_type="partial")
149149

150150
# Extract shape traits from plant
151151
shape_img = pcv.analyze.size(img=img,labeled_mask=mask, n_labels=1)

0 commit comments

Comments
 (0)