modified importfile.m so headers so log files with headers can be loaded, fixed getPrecisionRecall.m for a "*=" error by MATLAB

This commit is contained in:
matlabbe
2015-01-05 16:00:42 -05:00
parent 42af8aabe2
commit 4c2dad453d
2 changed files with 5 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ if exist(GT_file, 'file')
display(['Loading GroundTruth ''' GT_file ''' ...']);
GroundTruth = imread(GT_file);
if max(max(GroundTruth)) == 1
GroundTruth*=255;
GroundTruth=GroundTruth*255;
end
else
error(['The ground truth ''' GT_file '''doesn''t exist.'])