Evaluate lane boundary models against ground truth
returns the total number of lane boundary matches (true positives) within the
lateral distance numMatches
= evaluateLaneBoundaries(boundaries
,worldGroundTruthPoints
,threshold
)threshold
by comparing the input boundary
models, boundaries
, against ground truth data.
[
also returns
the total number of misses (false negatives) and false positives,
using the previous inputs.numMatches
,numMissed
,numFalsePositives
]
= evaluateLaneBoundaries(___)
[___] = evaluateLaneBoundaries(___,
specifies
the x-axis points at which to perform the comparisons.
Points specified in xWorld
)worldGroundTruthPoints
are
linearly interpolated at the given x-axis locations.
[___] = evaluateLaneBoundaries(
compares the boundaries against ground truth models that are specified in an
array of lane boundary objects or a cell array of arrays.boundaries
,groundTruthBoundaries
,threshold
)
[___,
also returns
the assignment indices that are specified in assignments
]
= evaluateLaneBoundaries(___)groundTruthBoundaries
.
Each boundary is matched to the corresponding class assignment in groundTruthBoundaries
.
The k
th boundary in boundaries
is
matched to the assignments(k)
element of worldGroundTruthPoints
.
Zero indicates a false positive (no match found).