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

Basic project setup


For this project, I will be using the Maven system to set up the project and the dependencies that are required. Most of the source code can also be run without these steps, but I will set it up using the NetBeans IDE using a Maven POM project. As we saw in Chapter 7, Explanation of ImageJ Constructs setting up a new project for ImageJ using Maven is done by navigating to File | New Project, and choosing POM Project from the Maven category in the wizard. For this plugin, I will use the project name Object_Tracker. After clicking Finish, the project will be created and should show up in the Projects view. If you cannot see the Projects view, go to Window | Projects from the menu to display it.

To start with, we need to tell Maven that we require ImageJ as a dependency. We do this by adding a <dependencies> section to our pom.xml file, as was shown in Chapter 7, Explanation of ImageJ Constructs. We will first look at how to create this plugin as a legacy plugin using...