macros process help

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

macros process help

Pablo Munoz-2
Hi Colleagues

I am writing to you because I have a doubt how to create a macros that I can process pictures faster and create binary masks with this:

1) subtract background:300
2) duplicate channel
3) threshold:
4)divide by 255
5)divide original picture by mask
6)divide channels that are divided by masks
7)launch ROI manager

 are there any  macros that can do this?  

Thanks in advance

Kind regards

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

Re: macros process help

Krs5
Dear Pablo

If you open the recorder (Plugins > Macros > Record) you can see how the code is written to execute these commands. Have also a look at http://fiji.sc/wiki/index.php/Introduction_into_Macro_Programming for some example code

Good luck

Kees

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Pablo Munoz
Sent: 24 October 2013 20:54
To: [hidden email]
Subject: macros process help

Hi Colleagues

I am writing to you because I have a doubt how to create a macros that I can process pictures faster and create binary masks with this:

1) subtract background:300
2) duplicate channel
3) threshold:
4)divide by 255
5)divide original picture by mask
6)divide channels that are divided by masks 7)launch ROI manager

 are there any  macros that can do this?  

Thanks in advance

Kind regards

Pablo Munoz
Universidad de Chile
--
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: macros process help

Pablo Munoz-2
thank you Kees, I learned how to do it :)


El 25-10-2013, a las 4:58, Straatman, Kees R. (Dr.) <[hidden email]> escribió:

> Dear Pablo
>
> If you open the recorder (Plugins > Macros > Record) you can see how the code is written to execute these commands. Have also a look at http://fiji.sc/wiki/index.php/Introduction_into_Macro_Programming for some example code
>
> Good luck
>
> Kees
>
> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Pablo Munoz
> Sent: 24 October 2013 20:54
> To: [hidden email]
> Subject: macros process help
>
> Hi Colleagues
>
> I am writing to you because I have a doubt how to create a macros that I can process pictures faster and create binary masks with this:
>
> 1) subtract background:300
> 2) duplicate channel
> 3) threshold:
> 4)divide by 255
> 5)divide original picture by mask
> 6)divide channels that are divided by masks 7)launch ROI manager
>
> are there any  macros that can do this?  
>
> Thanks in advance
>
> Kind regards
>
> Pablo Munoz
> Universidad de Chile
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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