tanguyduval/imtool3D_td

Error in imtool3D

Closed this issue · 2 comments

Hello,

I am trying to launch imtool3D on matlab, but I get an odd error.

The command is tool=imtool3D(mask); . The mask variable is a 91x109x91 single matrix. I tried with a 256x256x332 uint16 matrix, same error

image

I am using MatlabR2019a.

Thanks

Hi Hajer,

Yes, this is an error!
Solved it in last version with the following change in imtool3D.m:

- if ~ispref('imtool3D','ScrollWheelFcn') && strfind(lower(Orient),'vertical') 
+ if ~ispref('imtool3D','ScrollWheelFcn') && ~isempty(strfind(lower(Orient),'vertical')) 

Thank you for pointing this out.
Tell me if this solved your problem and if you have other issues please.

Best

Perfect, solved- thanks!