Calculate accuracy score as average overlap over the entire sequence.
trajectory (cell): A trajectory as a cell array of regions.
sequence (cell or structure): Can be another trajectory or a valid sequence descriptor.
varargin[Burnin] (integer): Number of frames that have to be ignored after the failure.
varargin[IgnoreUnknown] (boolean): Ignore frames where the overlap is
within the image. If the sequence variable is a sequence structure then a boolean value is sufficient to establishe bounding region. Otherwise a bounding region has to be specified manually.
accuracy (double): Average overlap.
frames (double vector): Per-frame overlaps.