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"
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