Skip to content
Snippets Groups Projects
Commit 512fbff8 authored by Ben Heasly's avatar Ben Heasly
Browse files

comment about unused scale factor

parent d8f04c76
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,8 @@ if scaleFactor > 0
SRGBPrimaryCalFormat = SRGBPrimaryCalFormat .* scaleFactor;
SRGBCalFormat = SRGBGammaCorrect(SRGBPrimaryCalFormat, false);
elseif islogical(isScale)
% compute scale factor to return to the caller
% the actual scaling happens in SRGBGammaCorrect
scaleFactor = 1/max(SRGBPrimaryCalFormat(:));
SRGBCalFormat = SRGBGammaCorrect(SRGBPrimaryCalFormat, isScale);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment