Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Image Processing with ImageJ

You're reading from   Image Processing with ImageJ Get familiar with one of the world's most highly regarded Digital Image processors, ImageJ. This tutorial takes you through every aspect of viewing, processing, and analysing 2D, 3D, and 4D images, clearly and comprehensively.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781783283958
Length 140 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Modifying a recorded macro


You can open an existing macro file by navigating to Plugins | Macros | Edit... You can then do all the modifications you need (for instance, you can restart the recorder and add more commands if you need them, or comment what you did previously), and save the file again.

Note that the macro commands store the parameters used for each tool. Suppose you want to change some of them (for example, setting a rolling ball radius in the background subtraction tool of 40 instead of 30). In that case, you only need to edit the macro file and substitute:

run("Subtract Background...", "rolling=30");

By the following code:

run("Subtract Background...", "rolling=40");

Then you can rerun the macro and see the difference in the results.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime