Skip to content
Snippets Groups Projects
Commit b3a28332 authored by Eric Wait's avatar Eric Wait
Browse files

Make 3D kymograph a little smaller in t

parent f98f7ca3
No related branches found
No related tags found
No related merge requests found
...@@ -70,11 +70,10 @@ function [varargout] = Open( im, imData, imagePath, mesagePkgStr ) ...@@ -70,11 +70,10 @@ function [varargout] = Open( im, imData, imagePath, mesagePkgStr )
%% if the data is 2D put time on the third dimension %% if the data is 2D put time on the third dimension
if (imData.Dimensions(3)==1 && ~isempty(im)) if (imData.Dimensions(3)==1 && ~isempty(im))
imData.PixelPhysicalSize(3) = max(imData.PixelPhysicalSize([1,2]))*imData.NumberOfFrames/max(imData.Dimensions([1,2]))*10;
imData.Dimensions(3) = imData.NumberOfFrames; imData.Dimensions(3) = imData.NumberOfFrames;
imData.NumberOfFrames = 1; imData.NumberOfFrames = 1;
imData.PixelPhysicalSize(3) = max(imData.PixelPhysicalSize([1,2]))*10;
im = permute(im,[1,2,5,4,3]); im = permute(im,[1,2,5,4,3]);
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment