problem with volume viewer in image processing toolbox

7 ビュー (過去 30 日間)
Naveen Saladi
Naveen Saladi 2017 年 6 月 29 日
回答済み: Alex Taylor 2017 年 8 月 21 日
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 件のコメント
Walter Roberson
Walter Roberson 2017 年 6 月 29 日
volumeViewer with lower-case 'v' is new in R2017a
Star Strider
Star Strider 2017 年 6 月 29 日
Interesting. I never realized it existed.

サインインしてコメントする。

回答 (2 件)

Alex Taylor
Alex Taylor 2017 年 8 月 21 日
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 2017 年 7 月 28 日
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.

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by