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 - Second Edition

You're reading from   Image Processing with ImageJ - Second Edition Extract and analyze data from complex images with ImageJ, the world's leading image processing tool

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781785889837
Length 256 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with ImageJ FREE CHAPTER 2. Basic Image Processing with ImageJ 3. Advanced Image Processing with ImageJ 4. Image Segmentation and Feature Extraction with ImageJ 5. Basic Measurements with ImageJ 6. Developing Macros in ImageJ 7. Explanation of ImageJ Constructs 8. Anatomy of ImageJ Plugins 9. Creating ImageJ Plugins for Analysis 10. Where to Go from Here? Index

Modifying macros


The macro we created in the previous section was effective. However, it does not deal with opening and closing images. So now, we will look at the process of modifying the current macro we now have. Most of the work will be done in the editor window, but we will still use the recorder window to discover the functions required to open and close images.

Let's start by adding an option to open the image you wish to process to the macro that we have. I will use the image we used earlier. However, since you are more likely to have images saved locally on a disk, we will save the HeLa Cells image to the local disk. Let's make a folder named processing on the desktop and store the HeLa Cells image in it. To save the image, go to File | Save or press Ctrl + S and select the folder on the desktop as the destination. After saving the image, we can start with the process of opening an image within our macro.

To start with, we need to make sure our previous macro is opened in the editor...

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