Skip to content

Comments

Make threshold 128 instead of 127 so that the threshold can cover the whole color range#109

Open
mturnshek wants to merge 1 commit intocubiq:mainfrom
mturnshek:patch-1
Open

Make threshold 128 instead of 127 so that the threshold can cover the whole color range#109
mturnshek wants to merge 1 commit intocubiq:mainfrom
mturnshek:patch-1

Conversation

@mturnshek
Copy link

I used this node as part of a workflow and found it would be really nice to have this one number change. If you use 127, values at 255 would be outside the threshold, and if you use 128, values at 0 would be outside the threshold.

127 + 127 = 254
128 - 127 = 1

So this makes it so you can set threshold to 128, which allows full coverage if you want that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant