problem with volume viewer in image processing toolbox

7 visualizzazioni (ultimi 30 giorni)
I was working on a project using the image processing toolbox and i have to use the volume viewer app. But when i try to run it just a black screen is being displayed. It is able to read the input but couldn't display the output. Can anyone help me with this?
  3 Commenti
Walter Roberson
Walter Roberson il 29 Giu 2017
volumeViewer with lower-case 'v' is new in R2017a
Star Strider
Star Strider il 29 Giu 2017
Interesting. I never realized it existed.

Accedi per commentare.

Risposte (2)

Alex Taylor
Alex Taylor il 21 Ago 2017
The behavior being described here is most likely an OpenGL issue. As Grgschmtz points out, the volumeViewer heavily uses hardware OpenGL for doing the rendering. On certain graphics hardware, particularly Intel Integrated Graphics, there can be insufficient OpenGL support, so you may see strange artifacts or all black rendering. As a diagnostic, try:
iptsetpref('VolumeViewerUseHardware',false);
volumeViewer;
iptsetpref('VolumeViewerUseHardware',true)
If this resolves the issue, then you are definitely experiencing an OpenGL rendering issue related to the app. Because using the preference above results in slowering rendering and disables certain features of the app, the best thing is to attempt to update the drivers for your graphics hardware to see if that resolves the issue. To do this, execute:
opengl info
To get information about the vendor of your graphics hardware. Go to their website and follow directions for updating drivers. Restart MATLAB. Now try the volumeViewer again to see if rendering is improved. If it is not, then the best course is to leave the preference for 'VolumeViewerUseHardware' set to false.

Grgschmtz
Grgschmtz il 28 Lug 2017
I had the same problem today. I think it is related to Matlab failing when trying to use the graphics hardware acceleration. At least switching off hardware acceleration made it work for me:
iptsetpref('VolumeViewerUseHardware',false); volumeViewer;
Matlab documentation says that some functions of the app may not be available and that it runs slower.

Categorie

Scopri di più su Graphics Performance in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by