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

Adding user interaction and preferences


The plugin that we have created thus far runs fine as a standalone plugin. However, it is also very easy to increase its power by allowing it to run in batch mode over a folder containing a large set of data files. This section will look at some of the changes that need to be incorporated for it to work. By setting certain steps as individual methods that can be called when the main class is instantiated, we can perform specific steps in a similar way as we have been doing for other classes. In our example, we used the ParticleAnalyzer, ThresholdToSelection and the Binary plugin classes in a similar way. The only requirements that we need to add are some constants and default settings that allow this class to work with minimal configuration. In the following sections, I will show you a few alterations that can make this class a bit more flexible to use in other plugins.

Settings and options dialog

We have several parameters in our plugin that will influence...

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