Merge Channels won't listen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Merge Channels won't listen

Olivier Burri
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
Reply | Threaded
Open this post in threaded view
|

Re: Merge Channels won't listen

Michael Schmid
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
Reply | Threaded
Open this post in threaded view
|

Re: Merge Channels won't listen

Rasband, Wayne (NIH/NIMH) [E]
In reply to this post by Olivier Burri
> On Jun 23, 2015, at 9:07 AM, Burri Olivier <[hidden email]> 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?

This bug is fixed in the latest ImageJ daily build (1.49v13).

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Merge Channels won't listen

Olivier Burri
Dear Wayne,
 
> This bug is fixed in the latest ImageJ daily build (1.49v13).
>
> -wayne

Thank you so much!

All the best

Oli

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