-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:
matlabbe
2011-07-26 14:39:41 +00:00
parent c38baa61e9
commit 316abb94bf
2 changed files with 156 additions and 2 deletions

View File

@@ -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