From e4d37e40d321c97b5bbbb5922b107cd72c865a6e Mon Sep 17 00:00:00 2001 From: Eric Wait <eric@waitphoto.com> Date: Thu, 14 Dec 2017 14:00:57 -0500 Subject: [PATCH] Read the correct image in the folder not just the first json file --- src/matlab/+D3d/Open.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matlab/+D3d/Open.m b/src/matlab/+D3d/Open.m index db50d1f..b139f7c 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); -- GitLab