Skip to content
Snippets Groups Projects
Commit f7582b06 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Added gtImagesc and gtImshow which permute visualized image


Signed-off-by: default avatarNicola Vigano <nicola.vigano@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@255 4c865b51-4357-4376-afb4-474e03ccb993
parent 04a191bf
No related branches found
No related tags found
No related merge requests found
function hndl = gtImagesc(image, varargin)
% GTIMAGESC permutes the image to visualise. Be aware that some constructs don't
% work:
% imagesc(x,y,C) % is NOT handled correctly
hndl = imagesc(permute(image, [2,1]), varargin{:});
end
function hndl = gtImshow(image, varargin)
hndl = imshow(permute(image, [2,1]), varargin{:});
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