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

equivalent of -color-matrix? #349

Open
dcaud opened this issue Jun 19, 2022 · 0 comments
Open

equivalent of -color-matrix? #349

dcaud opened this issue Jun 19, 2022 · 0 comments

Comments

@dcaud
Copy link

dcaud commented Jun 19, 2022

I'm looking for the equivalent of the "-color-matrix" operator.

For example, how would I turn the rose blue as seen at in the color matrix section here, like:

convert rose: -color-matrix ' 0 0 1
0 1 0
1 0 0 '

The below doesn't work (b/c this doesn't seem to be anything like a color matrix, but it is the closest I could find to a matrix transformation):

image_convolve(rose, kernel = '3x3:
        0 0 1
        0 1 0
        1 0 0')
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

1 participant