Chapter 5. ImageJ Plugins for Users

The previous chapter explored the power of the ImageJ macro language and taught you how to create your own macros without much effort using the internal macro recorder, including some more in-depth programming operations. Now we will make a qualitative jump and will explain the ImageJ plugins, that are a versatile system for extending ImageJ, and will allow you to perform analytic tasks beyond the possibilities of the standard ImageJ distribution. This chapter includes:

  • General concepts of ImageJ plugins
  • How to install a plugin
  • A brief selection of plugins you may find useful

ImageJ plugins

As we saw in the previous chapter, a macro is a series of ImageJ core functions that are executed sequentially in order to automate the analysis processes. While one of the main strengths of the macro system is that new macros can be produced without the need of prior programming experience, they are constrained within the ImageJ native capabilities and can also be quite slow.

However, ImageJ was built with extensibility in mind. It allows external Java classes to use its internal methods through a very well-documented public Application Programming Interface (API) available at http://rsbweb.nih.gov/ij/developer/api/. An Image plugin can, for instance, implement the necessary functions for reading and/or writing a type of file format that is initially not supported by ImageJ. It can carry on more sophisticated analysis, acquire images from external hardware or, in general, compute any mathematical operation involving images that you can think about. If you can code it in Java, ImageJ will handle the images for you, so now you only need to concentrate on solving the algorithmic part of your problem.

This is one of the reasons for ImageJ's success: it is easy to extend its capabilities and adapt it to your particular needs. As you will see in the next sections, there are quite a lot of plugins that have been contributed by developers to the ImageJ user community, so if you are looking for some extra functionality, no matter how specific, it is likely that all or part of your work is already been done.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset