public class FastCopyAndAdjustAlgorithm extends CopyAndAdjustAlgorithm
Constructor and Description |
---|
FastCopyAndAdjustAlgorithm() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbbrev()
Abbreviation, used for display in the frame tree
|
java.lang.String |
getName()
A friendly name, to be shown to the user.
|
void |
step(int frameNo,
VPoint translation)
This is the main function to implement - the one that performs the tracking / segmentation.
|
beforeBatch, beforeBatchNotSafe, beforeStep, getClassName
public java.lang.String getName()
ITrackingAlgorithm
getName
in interface ITrackingAlgorithm
getName
in class CopyAndAdjustAlgorithm
public java.lang.String getAbbrev()
ITrackingAlgorithm
getAbbrev
in interface ITrackingAlgorithm
getAbbrev
in class CopyAndAdjustAlgorithm
public void step(int frameNo, VPoint translation)
ITrackingAlgorithm
Typically, from within this function you'll call:
CurrentExperiment.getFrame(int frameNo)
CurrentExperiment.getBacteriasForFrame(int frameNo)
CurrentExperiment.saveROI(ij.gui.Roi roi, int frameNo, Bacteria b, int roiType)
step
in interface ITrackingAlgorithm
step
in class CopyAndAdjustAlgorithm
frameNo
- the frame to processtranslation
- translation with regards to the previous frame (not necessarily frameNo-1, if that one is ignored)