O'Reilly logo

Image Processing with ImageJ - Second Edition by Javier Pascau, José María Mateos Pérez, Jurjen Broeke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding external libraries

When you have created a plugin for processing, you may want to add some functionality that is not available in the ImageJ core API. In this case, you may want to use an external library that has the functionality that you require. If you use Maven to set up your project, adding a library is as easy as listing it in your <dependencies> section of your POM file. As an example, I will show you how to add the Apache POI library to add an option to export the results of our work to an MS Excel file. The advantage of this library is that it can create an .xls(x) file on all platforms, regardless of whether MS Excel is installed. I will briefly show you how to create an Excel file, write some data to it, and then save the result ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required