Dear Gitlab Users, for our upcoming upgrade to Gitlab v14, Gitlab will be unavailable on Thursday, 05.08.2021 from 5:00 pm to approximately 7:00 pm. Note that with v14, certain breaking changes will be introduced (https://about.gitlab.com/blog/2021/06/04/gitlab-moving-to-14-breaking-changes/).

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