@@ -0,0 +1,1129 @@
+/*-%0A * Copyright 2016 Diamond Light Source Ltd.%0A *%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A */%0A%0Apackage org.eclipse.dawnsci.analysis.api.image;%0A%0Aimport org.eclipse.dawnsci.analysis.api.dataset.IDataset;%0A%0Apublic interface IImageTracker %7B%0A%0A%09/**%0A%09 * Initialise the tracker given a default location of a region of interest, an input data and a %7B@link TrackerType%7D.%0A%09 * %3Cbr%3E%0A%09 * The location is a double array of size 8.%0A%09 * %0A%09 * @param input%0A%09 * @param location%0A%09 * @param type%0A%09 * @throws Exception %0A%09 */%0A%09public void initialize(IDataset input, double%5B%5D location, TrackerType type) throws Exception;%0A%0A%09/**%0A%09 * Track a region of interest on an input data%0A%09 * %0A%09 * @param data%0A%09 * @return new location of tracked region%0A%09 * @throws Exception%0A%09 */%0A%09public double%5B%5D track(IDataset data) throws Exception;%0A%0A%09/**%0A%09 * TrackerType:%0A%09 * %0A%09 */%0A%09public enum TrackerType %7B%0A%09%09TLD,%0A%09%09CIRCULANT,%0A%09%09SPARSEFLOW,%0A%09%09MEANSHIFTCOMANICIU2003;%0A%09%7D%0A%7D%0A

Add new image tracker service