Re: Substack and composite
Posted by
Wayne Rasband-2 on
Oct 06, 2018; 4:36am
URL: http://imagej.273.s1.nabble.com/Substack-and-composite-tp5021285p5021287.html
> On Oct 5, 2018, at 6:57 PM, Houssin, Nathalie Samantha Laetitia <
[hidden email]> wrote:
>
> Hello,
>
> It might seem a very basic thing to do but I would like some advice on generating a composite from a stack :
> I tried to make it like this:
>
> 1. Open .oir file in FIJI (using Pluging > OlympusViewer>Viewer)
> 2. Select z-section
> * Image>Stacks>Tools>Make Substack
> * Enter section number (z-value)
> When I do this, an exception message appears :
Please provide a MWE (
https://en.wikipedia.org/wiki/Minimal_working_example) that reproduces the problem. The following example macro works as expected.
newImage("HyperStack","16-bit composite-mode label",256,256,3,100,1);
run("Make Substack...","channels=1-3 slices=50”);
-wayne
> java.lang.IllegalArgumentException: Channel out of range
> at ij.CompositeImage.setChannelLut(CompositeImage.java:538)
> at ij.plugin.SubHyperstackMaker.makeSubhyperstack(SubHyperstackMaker.java:121)
> at ij.plugin.SubHyperstackMaker.makeSubhyperstack(SubHyperstackMaker.java:60)
> at ij.plugin.SubHyperstackMaker.run(SubHyperstackMaker.java:50)
> at ij.plugin.SubstackMaker.run(SubstackMaker.java:33)
> at ij.IJ.runPlugIn(IJ.java:198)
> at ij.Executer.runCommand(Executer.java:137)
> at ij.Executer.run(Executer.java:66)
> at java.lang.Thread.run(Thread.java:745)
>
> And I can't generate a composite file. Any tip on how to proceed will be welcome
>
> Thank you for your time,
>
> Bests,
>
> Nathalie
>
> Nathalie HOUSSIN
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html