Skip to content

Commit

Permalink
missing constant value in error rez fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
stellastyl committed May 4, 2016
1 parent 831390a commit 1b5c04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameLink/missingSeg2to1.m
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
[minIndex,minRegEScore, minDA,segs_close] = findBestSegs (TmpSegsLabel,segs_list,dist,newmask,CONST,areaR1,areaR2,tmp.segs.scoreRaw);

% check if a good solution was found
if ~isempty(minIndex) && any (minRegEScore) > 0 && minDA < 1.5*CONST.trackOpti.AREA_CHANGE_LIMIT
if ~isempty(minIndex) && any (minRegEScore) > 0 && minDA < 1.5*CONST.trackOpti.DA_MAX
% a good solution
num_segs = numel(segs_close);
vect = makeVector(minIndex-1,num_segs);
Expand Down

0 comments on commit 1b5c04f

Please sign in to comment.