Book Image

Image Processing with ImageJ

Book Image

Image Processing with ImageJ

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

Running and debugging plugins


Once you have created your code, you are ready to compile it. Java is not an interpreted language and requires that the source code is compiled into byte code that can be processed by the Java Virtual Machine (JVM). Depending on how you're developing the code, there are different ways to proceed. You can use ImageJ directly, use the Fiji Code Editor, or use the NetBeans IDE. How you proceed also depends on whether you are developing a legacy plugin or a scijava plugin. The following sections will look at the legacy plugins first.

Compiling plugins

Compiling and running plugins differs a little between vanilla ImageJ and Fiji due to the fact that Fiji is based on the SciJava framework. Also, when using an IDE, there will be different steps involved in compiling and running your plugin.

When you have finished writing the source code for your plugin using vanilla ImageJ, you can run the plugin by first compiling it and then running it. To do so, go to Plugins | Compile...