Login  Register

Re: split multichannel & updating not working

Posted by Rasband, Wayne (NIH/NIMH) [E] on Jul 02, 2016; 2:14pm
URL: http://imagej.273.s1.nabble.com/split-multichannel-updating-not-working-tp5016801p5016806.html

> On Jul 1, 2016, at 4:52 PM, Cammer, Michael <[hidden email]> wrote:
>
> I am having a problem that a hyperstack with 8 channels and 4 timepoints returns an error when I try to split the channels.  The error is "Multichannel image required."  However, there definitely are 8 channels as checked with this macro
> macro "test dimensions" {
>  Stack.getDimensions(width, height, channels, slices, frames);
>  print(width, height, channels, slices, frames);
> }
> Which prints
> 852 720 8 1 4
>
> With six channel image, however, it works fine.  Is the problem with > 6 channels?  I could swap Z for channels, but then I would have to rewrite 3 functions accordingly…

I am not able to reproduce this problem using this macro on either ImageJ 1.51d or 1.50i:

  newImage("HyperStack","8-bit color-mode label",852,720,8,1,4);
  run("Split Channels”);

> I thought that before asking for help I would update ImageJ to the daily build (we have 1.50i1 installed).  However, when we try to update we get the message 'The "News" page on the ImageJ website is not in the expected format or it was not found.'  We also got the same error yesterday on a different computer.

You are getting this error with the Help>Update ImageJ command because you are running an older version of ImageJ that does not support the HTTPS encryption now used by the ImageJ website (https://imagej.nih.gov/ij/). You can work around the problem by downloading the latest ij.jar file from https://imagej.nih.gov/ij/ij.jar and copying it into the ImageJ folder. On Mac OS X, you need to control click on ImageJ.app, select “Show Package Contents” and copy the ij.jar file to Contents/Resorces/Java/ (or Contents/Java/ if you are using Java 8).

-wayne


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html