Ticket #1368 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Cannot convert an RGB image into grayscale

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b4-plugins
Component: Core Version:
Severity: serious Keywords:
Cc: G.Landini@… Blocked By:
Blocking: #1345, #1570


Between beta 3 and beta 4 in the ij2 devel mailing list Gabriel Landini reported the following issue:

"I can't find a way of converting a colour image into greyscale in IJ2."

In IJ1 changing any RGB image's type to a gray type (8, 16, 32 bit) will convert the image to grayscale.

In IJ2 the "RGB" image is changed to a three channel gray image. The type changing classes should detect that the image is composite and convert the data to single channel grayscale.

Change History

comment:1 Changed 8 years ago by bdezonia

  • Cc G.Landini@… added

comment:2 Changed 8 years ago by bdezonia

  • Blocking 1245 added

comment:3 Changed 8 years ago by bdezonia

  • Blocking 1345 added

comment:4 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta5 to imagej-2.0.0-beta4

Needs to target beta4 if blocking #1345.

comment:5 Changed 8 years ago by bdezonia

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

Fixed with commit bacb85ba861b3db326bb20faa5091862fe56c403

There are a couple minor issues remaining which will become new tickets

comment:6 Changed 8 years ago by bdezonia

After some futzing committed new version: 98c162b205fb54f78c3b0a149a231794edc8f7e0

comment:7 Changed 7 years ago by bdezonia

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