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

Feature Request- invert greyscale LUT #281

Open
WillGiang opened this issue Feb 20, 2021 · 1 comment
Open

Feature Request- invert greyscale LUT #281

WillGiang opened this issue Feb 20, 2021 · 1 comment

Comments

@WillGiang
Copy link

Hello,

Having the option of inverting the greyscale look up table can be advantageous for people working with electron microscopy data or low dynamic range images.

@k-dominik has suggested including a invert flag here.

One solution could be something like:

if invert=True
(after normalization) Replace pixel values "x" with "255 - x"

But the more I look at this, the more I think it might be more appropriate to make a request to https://github.com/hmeine/qimage2ndarray

Thoughts?

Originally suggested at https://forum.image.sc/t/ilastik-invert-lut/48839

Side note: qimage2ndarray v1.83 fixes the whole "not normalizing will clip the input array" issue

Thanks,
Will

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/ilastik-invert-lut/48839/5

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