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

Use new image size function from utilities

parent d7b1b3dd
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ function [varargout] = Open( im, imData, imagePath, mesagePkgStr ) ...@@ -48,7 +48,7 @@ function [varargout] = Open( im, imData, imagePath, mesagePkgStr )
% there is an image to load just no metadata to go with it % there is an image to load just no metadata to go with it
% assume that the voxels are isomorphic % assume that the voxels are isomorphic
imData.DatasetName = sprintf('%d-D image',ndims(im)); imData.DatasetName = sprintf('%d-D image',ndims(im));
imSz = size(im); imSz = ImUtils.Size(im);
imData.Dimensions = Utils.SwapXY_RC(imSz(1:3)); imData.Dimensions = Utils.SwapXY_RC(imSz(1:3));
imData.NumberOfChannels = size(im,4); imData.NumberOfChannels = size(im,4);
imData.NumberOfFrames = size(im,5); imData.NumberOfFrames = size(im,5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment