Skip to content

Binary threshold on saturation instead of luminescence value #1539

Answered by brianpopow
Franz1960 asked this question in Ideas
Discussion options

You must be logged in to vote

I modified the processor to use the saturation value instead of the luminescence value for comparison with the threshold. This gives the right image, which discriminates between the yellow and the "black" parts.

If you think this solution makes sense for ImageSharp, I would be happy to find it integrated sometime.

This sound like a good addition to me. Would you mind creating a PR for that?

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@JimBobSquarePants
Comment options

Answer selected by Franz1960
Comment options

You must be logged in to vote
4 replies
@JimBobSquarePants
Comment options

@antonfirsov
Comment options

@Franz1960
Comment options

@antonfirsov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants