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

Search Bar failes to apply LUTs on OSX and Linux #5

Open
maweigert opened this issue Jan 5, 2018 · 3 comments
Open

Search Bar failes to apply LUTs on OSX and Linux #5

maweigert opened this issue Jan 5, 2018 · 3 comments

Comments

@maweigert
Copy link

Hi,

first, thanks for the shiny new search bar - great to have!

While playing around, I found that when I want to apply a LUT to an opened image, it doesn't do anything most of the time (without error and console message).

E.g.

  1. Open Samples -> Blobs
  2. Cmd-L "Red-Hot"

This affects ImageJ2-rc64 for both OSX (10.12.6) and Linux (Mint 18).

Any ideas?

M

@imagejan
Copy link
Member

imagejan commented Jan 5, 2018

I can reproduce this on Windows.

It seems to be related to how the LUT commands are called: while Red and Red/Green (both have Identifier: legacy:ij.plugin.LutLoader) work as expected, the other Red entry as well as Red Hot (with Identifier: command:net.imagej.plugins.commands.misc.ApplyLookupTable(, tableURL = file__C__UTILIT_1_debug_Fiji_app_luts_Red_20Hot_lut)) do not work.

@ctrueden
Copy link
Member

Probably we should flag the ApplyLookupTable with the no-legacy attribute. And make it so that the search bar does not list commands with that attribute—IIRC, it currently still includes them, because I could not think of a sound way of excluding them yet.

@imagejan
Copy link
Member

@ctrueden wrote:

Probably we should flag the ApplyLookupTable with the no-legacy attribute.

Wouldn't that mean that they're also excluded from the menu in the Legacy UI altogether then?

The fact that some LUTs like Red Hot get listed in the search results is consistent with both the Image > Lookup Tables menu and the behavior of the Command Finder.
What's inconsistent is that they cannot be launched from the search bar, but appear to be executed fine when run from the Command Finder.

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

3 participants