Skip to content
Snippets Groups Projects
Commit 7ac5e550 authored by ac_fx's avatar ac_fx
Browse files

cliplimits -> inf fix

parent 46fbc5e7
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ end
im = max(im,clipLimits(1));
im = min(im,clipLimits(end));
im = (im - clipLimits(1)) ./ (clipLimits(end) - clipLimits(end));
im = (im - clipLimits(1)) ./ (clipLimits(end) - clipLimits(1));
im = im2uint8(im);
im = max(im,1);
im(0 == im_in) = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment