TrackMate_: an abstract class for semi-automatic tracking

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: semi-automatic tracking for the SpotEditTool

With a nice config panel.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: only accept US-like numbers in text fields

Hopefully fixing - in a different way than Curtis' - Sebastian problem.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: protect against concurrent modifications on painting tracks

Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
TrackMate_: tweak the semi-auto tracking

Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
TrackMate_: dummy color generators

They allow us to provide default for the view implementations, without
having to pass a model that would get a listener. Lightweight is nice
for default.
Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
TrackMate_: the hyperstack viewer can be used without a specified ImagePlus

We then build a fake one using imglib2 ConstantRandomAccessible and
determine what should be its look. Useful when you want to display a
model without having the settings under your arm.
Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
TrackMate_: add selection tools to the spot edit config panel

Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
TrackMate_: DumbTracker: a tracker made for semi-automatic linking.

It is not very clever as it is based only on closest pair linking. It
tries to emulate what the user wants when he selects a bunch of spots
and click the 'link' button:
Links are created based on the existing closest pair of spots, and
created links are used to build statistics on links, which in turn are
used to forbid links that would be too far away caompared to the first
ones. It is far from from perfect, but has the advantaeg that it is
parameter-less.
Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
TrackMate_: protected the NearestNeighborTracker against empty frames

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: do not crash when we modify a spot that does not belong to a track

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: prevent NPE when generating track colors

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: add a manual tracker item, that does nothing

But at least, it does not replace the current annotation in the GUI.
Still some bug: the track and edge analyzers do not get registered when
we pick this one.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: improve color scheme sharing in the GUI

Now all the controls for the coloring share the same settings.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: another attempt to protect against Concurrent modifications

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
TrackMate_: felsh out the config panel of the spot edit tool

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>