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

Apply SigmoidalContrast() to specific channels #1144

Closed
neilgd opened this issue Feb 27, 2022 · 1 comment
Closed

Apply SigmoidalContrast() to specific channels #1144

neilgd opened this issue Feb 27, 2022 · 1 comment
Milestone

Comments

@neilgd
Copy link

neilgd commented Feb 27, 2022

It would be useful to able to apply SigmoidalContrast() to a particular channel. For example, the ImageMagick commandline equivalent of:

magick -channel R sigmoidal-contrast 5,100%

Describe the solution you'd like

Ideally, pass in Channels as a parameter to SigmoidalContrast(), as is possible with the Evaluate() function, so an override like:

image.SigmoidalContrast(Channels, Percentage, Percentage)

Describe alternatives you've considered

I've thought about extracting the channel, applying the function, and then rewriting it but it seems like overkill.

@dlemstra dlemstra added this to the 10.1.0 milestone Mar 2, 2022
@dlemstra
Copy link
Owner

dlemstra commented Mar 2, 2022

This will become available in the next release. Thanks for suggesting this.

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