Commit 6efd17d4 authored by mreichardt's avatar mreichardt
Browse files

corrected orientation of showStack

parent d615ef9f
Pipeline #112338 passed with stage
in 1 minute and 38 seconds
......@@ -156,7 +156,12 @@ for k_frame = frameRange
% Optionally restrict to roi
currentFrame = currentFrame(settings.roiY(1):settings.roiY(end),...
settings.roiX(1):settings.roiX(end));
% rotate image to right orientation
if settings.dimension~=3
currentFrame=flipud(rot90(currentFrame));
end
%show frame
imagesc(currentFrame)
......
  • @marius.reichardt: "right orientation" ist aber subjektiv hier. Und wenn dann gäbe es sinnvollere Wege als flipup(rot90()) (nämlich transpose).

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment