How to display binary volume image

16 ビュー (過去 30 日間)
sunday nwokolo
sunday nwokolo 2014 年 8 月 19 日
コメント済み: Image Analyst 2014 年 8 月 19 日
I converted volume image to binary and I did a 3d distance transformation and after that in wanted to see the image segmented but it showing me only black and white patches and here is the code binayVolume =logical(volume); DT=bwdistsc(binaryVolume); figure. imshow3d(Dt)
I don't know if am mission something. thanks

回答 (1 件)

Image Analyst
Image Analyst 2014 年 8 月 19 日
imshow() does not do 3D rendering or volume visualization.
  2 件のコメント
sunday nwokolo
sunday nwokolo 2014 年 8 月 19 日
thank you image analyst. I used imshow3d after normalization the image with uint8
Image Analyst
Image Analyst 2014 年 8 月 19 日
Yes, but it won't work. Look at this code:
% Generate a gray scale image of dimensions 64 by 48 by 5.
array3D = uint8(randi(255,64,48,5));
% Pass it into imshow and get an error:
imshow(array3D)
And look at the error message:
Error using imageDisplayValidateParams>validateCData (line 113)
Multi-plane image inputs must be RGB images of size MxNx3.
Error in imageDisplayValidateParams (line 27)
common_args.CData = validateCData(common_args.CData,image_type);
Error in imageDisplayParseInputs (line 78)
common_args = imageDisplayValidateParams(common_args);
Error in imshow (line 219)
[common_args,specific_args] = ...
Error in test (line 4)
imshow(array3D)

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by