Ticket #1474 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Converting color images to grayscale is not intuitive

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b5-scripting
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1514

Description (last modified by bdezonia) (diff)

Open Organ Of Corti. Change type to Float 32 bit. Notice that all the channels get squished away and you have a grayscale composite stack. This may not be what the user wants. But the grayscale conversion is determined by the Channels Tool setting which defaults to Composite for Organ Of Corti.

In this case if a user wants the organ of corti channels maintained first he has to go into the Channels Tool and set mode to Grayscale or Color. This is sort of clunky.

Note that instead we could change the type changing plugins to take a @Parameter boolean determining whether to squash channels or not.

Change History

comment:1 Changed 8 years ago by bdezonia

  • Description modified (diff)

comment:2 Changed 8 years ago by bdezonia

  • Blocking 1245 added

comment:3 Changed 8 years ago by bdezonia

With commit 6ba867fd2ac31681481b5f0baee8dd229dda7631 this above code is in place.

It always asks if the user wants to combine channels even if only 1 channel is present. The next step is to make it a Dynamic plugin that might not add the boolean field if the dataset has no channels. This info might not be knowable at initialization time though as Dataset is an @Parameter that might not be assigned before initializers are run.

comment:4 Changed 8 years ago by bdezonia

Waiting on fix to #1499.

comment:5 Changed 8 years ago by bdezonia

Fixed with commits 2ea386e4093a9ef81b9b3587dae0b922bf2130c5 and bf8ee47940f8364b90b82b4015a23a14ac7e6e08

comment:6 Changed 8 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

comment:7 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta6 to imagej-2.0.0-beta5-new

comment:8 Changed 8 years ago by bdezonia

  • Blocking 1514 added; 1245 removed
Note: See TracTickets for help on using tickets.