If I use "img.binary(0, 83, -128, 15, -128, 127)" it works.
But if I do this:
I get the attached error:threshold = (0, 83, -128, 15, -128, 127)
img.binary(threshold)
I get the attached error:threshold = (0, 83, -128, 15, -128, 127)
img.binary(threshold)
Code: Select all
img.binary(*threshold)
Looks weird, but seems to work!img.binary([thresholds[threshold_index]])
Return to “Technical Discussion”
Users browsing this forum: No registered users and 1 guest