Skip to content

Skeletonise wrapper

Richard Domander edited this page Apr 18, 2016 · 26 revisions

This page documents the wrapper class of the Skeletonize3D plugin in BoneJ2. The plugin is used trough a wrapper instead of called directly to:

  1. Place it under the Plugins>BoneJ menu entry
  2. Provide custom functionality

The wrapper will call the Skeletonize3D plugin even though it still is very much in the ImageJ1 world. In the ideal case we could help iarganda to convert the plugin into an Op, but we simply do not have the time. This will lead into some differences in the implementation of this wrapper from the others. Details below.

BoneJ1 documentation

Skeletonise wrapper

  • Menu path: Plugins>BoneJ>Skeletonise. Renamed from Skeletonise 3D in BoneJ1, because the plugin can be used for 2D images as well.
  • If input image has an inverted LUT, the LUT of the output image must be inverted
  • No setup dialog
Messages
  • If there is no input image, show an error message and abort the run.
  • If the input image is not binary[1], show an error message and abort the run.
Results
  • Creates an output image that shows the skeleton of the input image
  • Does not overwrite the input image
  • The title of the output image shall be "Skeleton of <title of input image>"

####Future

  • Since there's no setup dialog, where to put the Help-button? How to provide the help?
Notes
  1. In BoneJ1 a binary image is defined by its bit depth and histogram (TODO: link to source).
Clone this wiki locally