Macro for substack maker

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

Macro for substack maker

arlomcg
The confocal data I'm gathering outputs two channels in a stack, one with bright field data and the other with true confocal data. I'm wondering if I can write a macro to split the two channels out. Pretty much I need the macro to reference the number of slices then split it into two stacks right down the middle.

Any thoughts?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Macro for substack maker

Christian Liebig
I am not sure whether this gives all the functionality you`re askeing
for but maybe the macro "BatchBisectStacks" or "BatchSplitStacks" that
you can download from http://www1.imperial.ac.uk/medicine/people/c.liebig/
can help you.

Kind regards,

Christian



arlomcg wrote:

> The confocal data I'm gathering outputs two channels in a stack, one with
> bright field data and the other with true confocal data. I'm wondering if I
> can write a macro to split the two channels out. Pretty much I need the
> macro to reference the number of slices then split it into two stacks right
> down the middle.
>
> Any thoughts?
>
> Thanks.
>  


--



Christian Liebig, PhD

FILM - Facility for Imaging by Light Microscopy
- Facility Assistant -
Sir Alexander Fleming Building, desk 403
Imperial College London / South Kensington
Exhibition Road
London SW7 2AZ
UK

Tel. +44-(0)20-759-49793
Fax +44-(0)20-759-43100
E-mail [hidden email]
Website: http://imperial.ac.uk/imagingfacility
Reply | Threaded
Open this post in threaded view
|

Re: Macro for substack maker

Wayne Rasband
In reply to this post by arlomcg
> The confocal data I'm gathering outputs two channels in a stack,  
> one with
> bright field data and the other with true confocal data. I'm  
> wondering if I
> can write a macro to split the two channels out. Pretty much I need  
> the
> macro to reference the number of slices then split it into two  
> stacks right
> down the middle.

You can do this using the Image>Color>Split Channels command, which  
is available in v1.41f or later. You will need to first convert the  
stack to a hyperstack using the Image>Hyperstacks>Stack to Hyperstack  
command.

-wayne