Hi Oli,
it seems that "Merge Channels" has some smart logic to fill in default values for the channels. So you should define channels that you don't want with *None*:
run("Merge Channels...", "c1=[C1-"+name+"] c2=[C3-"+name+"] c3=*None* c4=*None* c5=*None* c6=*None* c7=*None* create keep");
I don't know why the macro recorder does not record the '*None*' channel selections.
Michael
________________________________________________________________
On Jun 23, 2015, at 15:07, Burri Olivier wrote:
> Dear ImageJ list
>
> I have found that the following code yields an odd result in the latest updated Fiji
>
> run("Neuron (1.6M, 5 channels)");
> name = getTitle();
> run("Split Channels");
>
> run("Merge Channels...", "c1=[C1-"+name+"] c2=[C3-"+name+"] create keep");
>
> The final image that is created has... 5 channels again...
>
> Can anyone replicate this problem?
>
> Best
>
> Oli
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html