GOT ERROR WHEN USING MEDICAL IMAGE VIEWER TOOLBOX
이전 댓글 표시
Dear All,
I used Medical Image Viewer Toolbox. But got error.
Error using -
Integers can only be combined with integers of the same class, or scalar doubles.
Error in VolumeViewer3D>freezeImageColors (line 7215)
idx = ceil( (double(cdata) - cax(1)) / (cax(2)-cax(1)) * nColors);
Error in VolumeViewer3D>setFusedVolume (line 3676)
freezeImageColors(a,h2)
Error in VolumeViewer3D>loadVolume (line 3236)
setFusedVolume(findobj('Tag','a1im_1'),findobj('Tag','a1im_2'),handles.axes.a1,...
Error in VolumeViewer3D (line 431)
loadVolume(inStruct);
This is my command
% Last chance tonight…
clc
clear all
SPECT = readImages('C:\Users\Akmal\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Medical Image Reader and Viewer\SPECT');
CT = readImages('C:\Users\Akmal\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Medical Image Reader and Viewer\CT');
%this is the extra step you are missing
SPECT.volumes = double(SPECT.volume);
CT.volumes = double(CT.volume);
%
tic; VolumeViewer3D(CT,SPECT); toc
ALL THE FUNCTION AND IMAGE ARE ATTACHED. https://drive.google.com/drive/folders/1tdZPedX3elYT60GPP8HQPs0acrwuAErN?usp=sharing
댓글 수: 3
Image Analyst
2022년 6월 19일
Does Volume Viewer try to use the "volumes" property, or the "volume" property?
mohd akmal masud
2022년 6월 19일
Siraj
2023년 9월 29일
You encountered an error while trying to use the "VolumeViewer3d" function from the Medical Image Reader and Viewer toolbox.
To investigate this, I attempted to read the file by downloading it from the provided drive link, and when attempting to read the image located in the "SPECT" folder, I received the error message "File read error, try again with another file."
I suspect that there might be an issue with the image file itself.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Data Acquisition에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!