diff --git a/src/matlab/+D3d/Open.m b/src/matlab/+D3d/Open.m index db50d1f4a5216569240aa85fe6b5ff0e357bb0d9..b139f7c8748669cdc249b52cf4a53ae98240f944 100644 --- a/src/matlab/+D3d/Open.m +++ b/src/matlab/+D3d/Open.m @@ -118,7 +118,7 @@ function [varargout] = Open( im, imData, imagePath, mesagePkgStr ) D3d.Update(); end else - im = MicroscopeData.Reader('path',imData.imageDir,'timeRange',[1,1]); + im = MicroscopeData.Reader('path',fullfile(imData.imageDir,[imData.DatasetName,'.json']),'timeRange',[1,1]); D3d.LoadImage(im,1,1); D3d.Update(); loadTransFunc(imData,im);