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

The basic anatomy of a plugin


A plugin within ImageJ has to adhere to specific rules. The syntax conforms to the Java language, but some of the elements are unique to ImageJ. In the following sections, I will discuss the conventions and constructs used by ImageJ1.x plugins (referred to as legacy from here on) and the new SciJav-based conventions and constructs (referred to as scijava from here on). Note that when using the scijava model, you are required to use Java 1.7.x or higher when running and compiling your plugins. Also, the scijava model was designed with the Maven and Git systems in mind. This means that it is advantageous to use those systems when developing plugins for the future releases of ImageJ. The following sections will look at the basic anatomy of a plugin in both formats.

Legacy plugins

A plugin within ImageJ1.x has to adhere to specific rules. The syntax conforms to the Java language, but some of the elements are unique to ImageJ. The legacy plugin consists of three main...