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

Check image compatibility for transforms #18

Closed
jacob-rosenthal opened this issue Oct 16, 2020 · 0 comments
Closed

Check image compatibility for transforms #18

jacob-rosenthal opened this issue Oct 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jacob-rosenthal
Copy link
Collaborator

Each transform should check that the input image is compatible. For example, colorspace conversions are not applicable for multiplex images, though blurring transforms that operate on each channel may still be. This should probably just be an assert statement at the beginning of apply() method of each transform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant