# Changes

## BoneJ2

, 24 January
}}
BoneJ is a collection of skeletal biology plug-ins for ImageJ.
This is the new experimental, modernized version of the software available through the ImageJ [httphttps://imagej.net/Updater updater]. Its update site is called [http://sites.imagej.net/BoneJ BoneJ experimental]. For the old ImageJ1 version, see [[BoneJ]].
This version works with the latest Fiji, and complies with the modern ImageJ [[architecture]]. Most plug-ins also now support hyperstacks, i.e. images with multiple channels or time frames.
== Installation ==
[[File:Install-bonej.png|400 px|Installation steps]]
In the first step the algorithm draws parallel lines over the input image in direction $\mathbf{v}$. The direction is chosen randomly. Each line segment in the image stack is sampled to find points where it changes from background to foreground, i.e. where the line enters an object. The points are called ''phase changes'', in the adjacent figure they're marked with red dots. After the sampling is complete, the algorithm forms a ''MIL vector'', whose length is the total length of the line segments divided by the total number of phase changes found. The MIL vector has the same direction as $\mathbf{v}$. Drawing and sampling the lines is repeated for $n$ directions, and the method creates $n$ MIL vectors.