mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
-Added RecallOverTimeNFSMW.m script to show recall over time of the NFSMW data set.
-Updated function showlogs.m, returning LogF and LogI git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@301 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function showlogs(PathPrefix, GT_file)
|
||||
function [LogF LogI] = showlogs(PathPrefix, GT_file)
|
||||
% SHOWLOGS Plot a RTAB-Map results (LogI.txt, LogF.txt). Just put this
|
||||
% file in the same directory as LogF.txt and LogI.txt files
|
||||
% generated by RTAB-Map (RTAB-Map's working directory). The files
|
||||
@@ -101,6 +101,7 @@ xlabel('Location indexes')
|
||||
%meanTime = mean(LogF(:,1))*1000
|
||||
%plot([1 length(LogF(:,1))], [700 700], 'r')
|
||||
%plot([1 length(LogF(:,1))], [1000 1000], 'k')
|
||||
%legend('Processing time', 'Time limit', 'Acquisition rate (1 Hz)')
|
||||
|
||||
maxTime = max(sum(LogF(:,2:7),2))
|
||||
maxDict = max(LogI(:, 6))
|
||||
@@ -333,7 +334,7 @@ if ~isempty(GT_file) && exist(GroundTruthFile, 'file')
|
||||
plot(Recall*100, Precision*100)
|
||||
%plot([Recall RecallVerified], [Precision PrecisionVerified])
|
||||
%legend('Without verification', 'With verification')
|
||||
title('Precision-Recall curve')
|
||||
%title('Precision-Recall curve')
|
||||
xlabel('Recall (%)')
|
||||
ylabel('Precision (%)')
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user