Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logic operations for gray scale image type #351

Open
thhart opened this issue Apr 28, 2022 · 2 comments
Open

logic operations for gray scale image type #351

thhart opened this issue Apr 28, 2022 · 2 comments

Comments

@thhart
Copy link
Contributor

thhart commented Apr 28, 2022

I can see there is a logicAnd and other in BinaryImageOps. Is there a specific reason why this is not available for gray scale image types? I have a little use case for this. So I am wondering if it would be of interest to have these functions in GrayImageOps as well?

@lessthanoptimal
Copy link
Owner

How would a logical operator be applied to a non binary value?

@thhart
Copy link
Contributor Author

thhart commented Apr 29, 2022

Logic operations can happen on Integer base also and must not be restricted to binary space, this can be helpful to filter out a specific color in a image, or adding two images.

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

No branches or pull requests

2 participants