[ImageJ-bugs] [Bug 1118] New: ij.plugin.ChannelSplitter.getChannel(ImagePlus imp, int c) should throw an exception when c = 0

bugzilla at fiji.sc bugzilla at fiji.sc
Fri Jul 17 16:24:29 CDT 2015


http://fiji.sc/bugzilla/show_bug.cgi?id=1118

            Bug ID: 1118
           Summary: ij.plugin.ChannelSplitter.getChannel(ImagePlus imp,
                    int c) should throw an exception when c = 0
           Product: ImageJ
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Common
          Assignee: ctrueden at wisc.edu
          Reporter: radoslaw at ejsmont.net
                CC: imagej-bugs at imagej.net

ij.plugin.ChannelSplitter.getChannel(ImagePlus imp, int c) should throw an
exception (something like ArrayIndexOutOfBoundsException) when c = 0

Currently it proceeds like if c = 1. This makes debugging difficult if someone
mistakenly assumes c is 0-based.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150717/f5aeadd1/attachment.html>


More information about the Imagej-bugs mailing list