rest slicer viewer 报错

Submitted by insular on
打开overlay时报错: ??? Attempted to access theOverlay(1,217); index out of bounds because size(theOverlay)=[181,216]. Error in ==> rest_sliceviewer>AddOverlay at 2965 newOverlay(i,j)=theOverlay(i+abs(floor(Zset*theMagnifyCoefficient)),j+abs(floor(Yset*theMagnifyCoefficient))); Error in ==> rest_sliceviewer>SetView_Orthogonal at 1445 theSagittalImg =AddOverlay('Sagittal' ,AConfig, theSagittalImg,theMagnifyCoefficient); Error in ==> rest_sliceviewer>SetImage at 1361 Result =SetView_Orthogonal(AConfig); Error in ==> rest_sliceviewer at 452 REST_SliceViewer_Cfg.Config(theCardinal) =SetImage(REST_SliceViewer_Cfg.Config(theCardinal)); Error in ==> rest_sliceviewer at 471 rest_sliceviewer('ChangeOverlay', AFigHandle); ??? Error while evaluating uicontrol Callback ------------------ 图像是5*5*5的, dim = 37 44 37 图像是经过rest ttest2生成的T-image,它可以被xjview打开。

YAN Chao-Gan

Fri, 02/18/2011 - 13:29

There is a bug in the current version of REST Slice Viewer in processing images with unusual dimension. We will fix it in the next release. Sorry for the inconvenience.
Forums