Skip to content

Commit 56d6ac0

Browse files
authored
Merge pull request #1853 from danforthcenter/dual-threshold-docs-typo-fix
Update threshold_dual_channels.md
2 parents ebe54de + d7ab846 commit 56d6ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/threshold_dual_channels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ mask = pcv.threshold.dual_channels(rgb_img=img, x_channel='b', y_channel='a', po
5252

5353
# Create binary image from a RGB image based on two color channels and a straight
5454
# line defined by two points
55-
mask = pcv.threshold.threshold_2_channels(rgb_img=img, x_channel='b', y_channel='a', points=pts, above=False)
55+
mask = pcv.threshold.dual_channels(rgb_img=img, x_channel='b', y_channel='a', points=pts, above=False)
5656
```
5757

5858
**Thresholded image (inverse)**

0 commit comments

Comments
 (0)