Skip to content

Commit

Permalink
vl_imsc.m: make sure that the range is [0,1] exactly
Browse files Browse the repository at this point in the history
  • Loading branch information
vedaldi committed Oct 4, 2014
1 parent c0abc03 commit abdbb39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolbox/imop/vl_imsc.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@

J = I - min(I(:)) ;
J = J / max(J(:)) ;
J = max(min(J, 1), 0) ;

0 comments on commit abdbb39

Please sign in to comment.