Book Image

Image Processing with ImageJ - Second Edition

Book Image

Image Processing with ImageJ - Second Edition

Overview of this book

Advances in image processing have been vital for the scientific and technological communities, making it possible to analyze images in greater detail than ever before. But as images become larger and more complex, advanced processing techniques are required. ImageJ is built for the modern challenges of image processing – it’s one of the key tools in its development, letting you automate basic tasks so you can focus on sophisticated, in depth analysis. This book demonstrates how to put ImageJ into practice. It outlines its key features and demonstrates how to create your own image processing applications using macros and ImageJ plugins. Once you’ve got to grips with the basics of ImageJ, you’ll then discover how to build a number of different image processing solutions. From simple tasks to advanced and automated image processing, you’ll gain confidence with this innovative and powerful tool – however and whatever you are using it for.
Table of Contents (17 chapters)
Image Processing with ImageJ Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
2
Basic Image Processing with ImageJ
Index

Showing progress in macros


In the previous sections, we saw that we can process a single image file using a (relatively) simple macro. Although the macro is quite flexible, it still requires the user to select each file individually and to set the values each time. Many times, you wish to perform the same processing steps on a collection of many similar images. The images have the same specifications (number of channels, colors, and so on) but are of different samples or individuals. When processing large numbers of images, it is useful to show progress to indicate how far we are in the processing and provide some visual feedback of how many items have been processed. The easiest type of feedback is to present the percentage of files that have been processed. Any value lower than 100 percent indicates that we are not done yet. If we keep track of how long it takes to process 10 percent of the images, we can (roughly) estimate the time required to finish the processing. Another useful type...