ome / omero-figure

An OMERO.web app for creating Figures from images in OMERO
http://figure.openmicroscopy.org
GNU Affero General Public License v3.0
15 stars 31 forks source link

Luts #160

Closed will-moore closed 8 years ago

will-moore commented 8 years ago

This adds LUTs support to OMERO.figure.

To test:

screen shot 2016-08-03 at 23 16 22
gusferguson commented 8 years ago

@will-moore

Tested with https://cowfish.openmicroscopy.org/webmerge/webclient/ user-3 read-only 1 Figure: Test 16-08-04 08:48:09

Selection of colours, LUT and clour picker behave as expected.

Question: @will-moore @jburel

It looks to me as if selecting an LUT for a channel causes all channels “below” it to be obscured - the graphics app metaphor of this would be - normal colour channels have a “transparent background” but the LUTs don’t.

I am getting the same effect with LUTs with the same image in the main Web app - although on some other images there seems to be a small degree of "show through" below LUTs.

Is this expected?

omero figure 0

omero figure 3

omero figure 4

omero figure 5

gusferguson commented 8 years ago

@will-moore @jburel - LUTs in Insight also giving this obscuring effect.

jburel commented 8 years ago

same comment here https://github.com/openmicroscopy/openmicroscopy/pull/4764#issuecomment-237485670

jburel commented 8 years ago

Alpha is not taken into account when applying LUT (rendering engine), we may need to review that part

jburel commented 8 years ago

@gusferguson: https://github.com/openmicroscopy/openmicroscopy/pull/4753/commits/d57c42e21cd1978c480c0ab64306613f7ec2480e fixes the "override" issue mentioned above

will-moore commented 8 years ago

To test today's commits:

snoopycrimecop commented 8 years ago

Conflicting PR. Removed from build FIGURE-merge#214. See the console output for more details. Possible conflicts:

dominikl commented 8 years ago

The channel color buttons look a bit strange (black vertical line in the center). screen shot 2016-08-09 at 07 57 49

But I don't have a proper local setup (no lookup tables available), might be due to that.

dominikl commented 8 years ago

Ignore the last comment, I guess that's just because I can't get my local server properly setup for lookup tables.

snoopycrimecop commented 8 years ago

Conflicting PR. Removed from build FIGURE-merge#215. See the console output for more details. Possible conflicts:

snoopycrimecop commented 8 years ago

Conflicting PR. Removed from build FIGURE-merge#216. See the console output for more details. Possible conflicts:

snoopycrimecop commented 8 years ago

Conflicting PR. Removed from build FIGURE-merge#217. See the console output for more details. Possible conflicts:

snoopycrimecop commented 8 years ago

Conflicting PR. Removed from build FIGURE-merge#221. See the console output for more details. Possible conflicts:

jburel commented 8 years ago

Having the list of luts hard-coded in 2 different files is far from ideal.

will-moore commented 8 years ago

@jburel: The list of LUTs is only hard-coded in one place. Remember that every commit for figure includes the concatenated JavaScript so every change is duplicated.

jburel commented 8 years ago

true, forget my comment

gusferguson commented 8 years ago

@will-moore

Tested using https://cowfish.openmicroscopy.org/webmerge/figure/new/ Safari user-3

LUTs behaving as expected.

Good to merge.

jburel commented 8 years ago

Thanks merging so we have everything in place