Visualize labeled 3D data with light

조회 수: 3 (최근 30일)
János Somogyi
János Somogyi 2019년 10월 30일
답변: Pratheek Punchathody 2021년 4월 7일
There are the two commands volshow and labelvolshow. The former one can display 3D intensity data with a light source and the latter labeled 3D data but without a light source. I'd like to display 3D labeled data with a light source so I can see the 3D structures/texture etc. Actually this should work by defining a colormap when using volshow, but it only accepts colormaps in 256x3 format and I'd like to define a colormap for labels. So if I have the labels [1,2,3] in my 3D data, I'd like to define for each label a color, such that the colormap would look like [1,0,0; 0,1,0; 0,0,1]. Is there a way so that could work properly?

답변 (1개)

Pratheek Punchathody
Pratheek Punchathody 2021년 4월 7일
In 3-D Volumetric Image Processing, we have Volume viewer app that lets you view 3-D volumetric data and 3-D labeled volumetric data. Using Explore 3-D Labeled Volumetric Data with Volume Viewer App, you can view the labeled volume by itself or view the labels as an overlay on the intensity volume.
You view the labeled volume and the intensity volume in the Volume Viewer at the same time. Refer to the documentation on Embed Labeled Volume with Intensity Volume for more information.
Hope this helps...!

카테고리

Help CenterFile Exchange에서 Red에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by