NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 334 - RGB Split function not working: Stack to Image is fine
RGB Split function not working: Stack to Image is fine
Status: RESOLVED FIXED
Product: ImageJ
Classification: Unclassified
Component: Launcher
unspecified
PC Windows
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-07-15 14:00 CDT by Rajasekar D
Modified: 2015-04-06 15:44 CDT
0 users

See Also:

Description Rajasekar D 2011-07-15 14:00:47 CDT
[Enter details of the problem or bug and how to reproduce it here.]
1. Open 48 bit RGB image
2. Image-->Color-->Split Channels

Exceptin log:

java.lang.IllegalArgumentException: Argument out of range: 1
	at ij.ImageStack.setPixels(ImageStack.java:172)
	at ij.plugin.filter.RGBStackSplitter.splitChannelsToArray(RGBStackSplitter.java:108)
	at ij.plugin.filter.RGBStackSplitter.splitChannels(RGBStackSplitter.java:127)
	at ij.plugin.filter.RGBStackSplitter.setup(RGBStackSplitter.java:20)
	at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:46)
	at ij.IJ.runPlugIn(IJ.java:163)
	at ij.Executer.runCommand(Executer.java:147)
	at ij.Executer.run(Executer.java:78)
	at java.lang.Thread.run(Thread.java:619)

Information about your version of Java - this information is useful for the Fiji developers:
  os.arch => x86
  os.name => Windows XP
  os.version => 5.1
  java.version => 1.6.0_20
  java.vendor => Sun Microsystems Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_20-b02
  java.vm.name => Java HotSpot(TM) Client VM
  java.vm.version => 16.3-b01
  java.vm.vendor => Sun Microsystems Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \
Comment 1 Johannes Schindelin 2011-10-20 02:41:05 CDT
It looks as if your Fiji Updater is quite old. So it might be an issue that has been fixed in ImageJ, if your ImageJ version is as old. Can you please update to current versions and test again? Thanks.
Comment 2 Johannes Schindelin 2012-01-06 00:03:51 CST
I guess "Nicht geschimpft ist Lob genug".