From 4bc7c1dfc38602a9661c27f96493641687660f2c Mon Sep 17 00:00:00 2001 From: Eric Wait <eric@waitphoto.com> Date: Thu, 30 May 2019 16:32:55 -0400 Subject: [PATCH] Fixed bug when loading images that are not supposed to be normalized --- src/matlab/+D3d/LoadImage.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matlab/+D3d/LoadImage.m b/src/matlab/+D3d/LoadImage.m index 08df0ce..94d32e5 100644 --- a/src/matlab/+D3d/LoadImage.m +++ b/src/matlab/+D3d/LoadImage.m @@ -20,7 +20,7 @@ function im8 = LoadImage( im, bufferNum, frameNumber, normalize, prctSat ) error('You can only load one frame at a time!'); end - if (~exist('nonNormalized','var') || isempty(normalize)) + if (~exist('normalize','var') || isempty(normalize)) normalize = true; end if (~exist('prctSat','var')) -- GitLab