NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1474 (closed defect: fixed)

Opened 2012-09-12T09:45:03-05:00

Last modified 2012-10-10T15:10:39-05:00

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)

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 2012-09-12T09:46:48-05:00 by bdezonia

  • Description modified

comment:2 Changed 2012-09-13T11:09:30-05:00 by bdezonia

  • Blocking 1245 added

comment:3 Changed 2012-10-02T10:27:04-05:00 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 2012-10-02T11:12:54-05:00 by bdezonia

Waiting on fix to #1499.

comment:5 Changed 2012-10-03T10:22:15-05:00 by bdezonia

Fixed with commits 2ea386e4093a9ef81b9b3587dae0b922bf2130c5 and bf8ee47940f8364b90b82b4015a23a14ac7e6e08

comment:6 Changed 2012-10-03T10:22:22-05:00 by bdezonia

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

comment:7 Changed 2012-10-10T13:27:47-05:00 by curtis

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

comment:8 Changed 2012-10-10T15:10:39-05:00 by bdezonia

  • Blocking 1514 added; 1245 removed