Skip to content

Feature Request- invert greyscale LUT #281

@WillGiang

Description

@WillGiang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions