public class SemiAutoTracker<T extends RealType<T> & NativeType<T>> extends AbstractSemiAutoTracker<T>
AbstractSemiAutoTracker.SearchRegion<R>
Modifier and Type | Field and Description |
---|---|
protected ImgPlus<T> |
img |
BASE_ERROR_MESSAGE, distanceTolerance, errorMessage, logger, NEIGHBORHOOD_FACTOR, ok, qualityThreshold
Constructor and Description |
---|
SemiAutoTracker(Model model,
SelectionModel selectionModel,
ij.ImagePlus imp,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
protected void |
exposeSpot(Spot newSpot,
Spot previousSpot)
This method is a hook for subclassers.
|
protected AbstractSemiAutoTracker.SearchRegion<T> |
getNeighborhood(Spot spot,
int frame)
Returns a small neighborhood around the specified spot, but taken at the
specified frame.
|
checkInput, createDetector, getErrorMessage, getNumThreads, process, processSpot, setNumThreads, setNumThreads, setParameters
public SemiAutoTracker(Model model, SelectionModel selectionModel, ij.ImagePlus imp, Logger logger)
protected AbstractSemiAutoTracker.SearchRegion<T> getNeighborhood(Spot spot, int frame)
AbstractSemiAutoTracker
Implementations can return null
if for instance, the number
of time frames in the raw source has been exhausted, or if the specified
spot misses some information. This will be dealt with gracefully in the
AbstractSemiAutoTracker.process()
method.
getNeighborhood
in class AbstractSemiAutoTracker<T extends RealType<T> & NativeType<T>>
spot
- the spot the desired neighborhood is centered on.frame
- the frame in the source image the desired neighborhood as to
be taken.AbstractSemiAutoTracker.SearchRegion
. Concrete
implementations have to specify the neighborhood location and
calibration, so that the found spots can have their coordinates
put back in the raw source coordinate system.protected void exposeSpot(Spot newSpot, Spot previousSpot)
AbstractSemiAutoTracker
Model
. This method allows concrete
implementation to add some specific post-treatment to detected spots.exposeSpot
in class AbstractSemiAutoTracker<T extends RealType<T> & NativeType<T>>
newSpot
- the spot that just has been found by the detection mechanism.previousSpot
- the spot in the previous frame whose neighborhood has been
investigated to find the new spot. Already part of the model.Copyright © 2015–2021 Fiji. All rights reserved.