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

Recording macros


Macros are sets of commands that allow you to perform a series of tasks on a single image or multiple images. In a macro, you can place all the commands you can find in the ImageJ menu structure. A very basic application of a macro is to convert images from one specific type into another type. In order to create a macro, we could create one from scratch by typing all the commands in a text file, which we can then execute. However, if we are using commands from the menu structure, an easier way would be to use the macro recorder.

The macro recorder will register every command and selection you make, and place them in a simple editor. This is a very simple and fast way to create a macro that will perform a basic set of tasks on an image. To begin recording, go to Plugins | Macros | Record… from the menu, which will open a new recorder window:

The recorder window has a list to allow different types of recordings. The default is macro, but it is also possible to record commands...