请教严老师:
我原来用rest一直都挺好,可最近换了个电脑,用rest看图像时(slice viewer)overlay时总报错,报错信息如下:
REST Version: 1.7, Release: 20120101
??? Undefined function or method 'imresize_old' for input arguments of type 'double'.
Error in ==> rest_sliceviewer>AddOverlay at 2914
theOverlay =imresize_old(theOverlay, floor([(size(theOverlay, 1)-1)*Xvol+1, (size(theOverlay, 2)-1)*Xvol+1]*theMagnifyCoefficient));
Error in ==> rest_sliceviewer>SetView_Orthogonal at 1471
theSagittalImg =AddOverlay('Sagittal' ,AConfig, theSagittalImg,theMagnifyCoefficient);
Error in ==> rest_sliceviewer>SetImage at 1387
Result =SetView_Orthogonal(AConfig);
Error in ==> rest_sliceviewer at 453
REST_SliceViewer_Cfg.Config(theCardinal) =SetImage(REST_SliceViewer_Cfg.Config(theCardinal));
Error in ==> rest_sliceviewer at 527
rest_sliceviewer('ChangeOverlay', AFigHandle);
??? Error while evaluating uicontrol Callback
YAN Chao-Gan
Tue, 08/28/2012 - 17:56
Permalink
Re
你的matlab什么版本?最新的?
lizf111
Wed, 08/29/2012 - 01:04
Permalink
我用的是matlab R2009a 谢谢严老师
我用的是matlab R2009a
谢谢严老师
YAN Chao-Gan
Sun, 09/02/2012 - 12:34
Permalink
Re
你好!
REST slice viewer需要安装Image processing toolbox的。
lizf111
Mon, 09/03/2012 - 08:01
Permalink
谢谢严老师,我把matlab全部重装一下,问题已经解决了。
谢谢严老师,我把matlab全部重装一下,问题已经解决了。
comani
Fri, 09/21/2012 - 21:48
Permalink
Re: Rest slice viewer - errors
Hello,
I got the following error when trying to load the overlay a T map generated with the 2 sample T test function.
Do you have any suggestions on how to fix it? I am using Matlab 2011b with the Image Processing and Statistics toolboxes.
Thank you.
Undefined function 'imresize' for input arguments of type 'double'.
Error in rest_sliceviewer>AddOverlay (line 2924)
theOverlay =imresize(theOverlay, floor([(size(theOverlay, 1)-1)*Xvol+1,
(size(theOverlay, 2)-1)*Xvol+1]*theMagnifyCoefficient));
Error in rest_sliceviewer>SetView_Orthogonal (line 1471)
theSagittalImg =AddOverlay('Sagittal' ,AConfig, theSagittalImg,theMagnifyCoefficient);
Error in rest_sliceviewer>SetImage (line 1387)
Result =SetView_Orthogonal(AConfig);
Error in rest_sliceviewer (line 453)
REST_SliceViewer_Cfg.Config(theCardinal)
=SetImage(REST_SliceViewer_Cfg.Config(theCardinal));
Error in rest_sliceviewer (line 527)
rest_sliceviewer('ChangeOverlay', AFigHandle);
Error while evaluating uicontrol Callback
YAN Chao-Gan
Sun, 09/23/2012 - 20:02
Permalink
Re: Rest slice viewer - errors
Hi, what's the version of REST?
comani
Sun, 09/23/2012 - 20:53
Permalink
Re: Rest slice viewer - errors
Version 1.7. But I get the same errors with 1.8 as well.
Thank you.
comani
Sun, 09/23/2012 - 20:52
Permalink
Re: Rest slice viewer
It is version 1.7. I tried with 1.8 as well and I get the same errors.
Thank you.
YAN Chao-Gan
Mon, 09/24/2012 - 15:06
Permalink
Re: Rest slice viewer
Please type in:
which imresize.m
and
which imresize_old.m
to see why MATLAB can not find these functions.
comani
Mon, 09/24/2012 - 16:02
Permalink
Re: Rest slice viewer
Thank you. I decided to switch to an earlier Matlab version (2007b). It seems it works now.