ilastik / volumina

Volume Slicing and Editing
http://ilastik.org
Other
32 stars 65 forks source link

Feature Request- invert greyscale LUT #281

Open WillGiang opened 3 years ago

WillGiang commented 3 years ago

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 commented 3 years ago

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