Skip to content

Commit

Permalink
Forced return table to be in columns. Was an error, in rows
Browse files Browse the repository at this point in the history
  • Loading branch information
wandell committed Oct 8, 2013
1 parent 3504d6c commit c1ac3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isettools/utility/image/ieLUTInvert.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
m = 2^nbits - 1;

iY = (0:(1/resolution):m)/(2^nbits);
lut = interp1(y,x,iY,'cubic',m);
lut = interp1(y(:),x(:),iY(:),'cubic',m);

end

0 comments on commit c1ac3fd

Please sign in to comment.