mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
fixed GT empty error (MATLAB script)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@227 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -317,7 +317,7 @@ lcRejected = sum(LogI(:, 8) == 1)
|
|||||||
%%
|
%%
|
||||||
%Precision-Recall graph
|
%Precision-Recall graph
|
||||||
GroundTruthFile = [PathPrefix '/' GT_file];
|
GroundTruthFile = [PathPrefix '/' GT_file];
|
||||||
if exist(GroundTruthFile, 'file')
|
if ~isempty(GT_file) && exist(GroundTruthFile, 'file')
|
||||||
PR = getPrecisionRecall(LogI, LogF, GroundTruthFile, 1.0);
|
PR = getPrecisionRecall(LogI, LogF, GroundTruthFile, 1.0);
|
||||||
|
|
||||||
Precision = PR(:,1);
|
Precision = PR(:,1);
|
||||||
|
|||||||
Reference in New Issue
Block a user