フィルターのクリア

Need help in viewing a 2D image in 3D space.

2 ビュー (過去 30 日間)
RAJESHWAR R
RAJESHWAR R 2020 年 11 月 24 日
コメント済み: RAJESHWAR R 2020 年 12 月 17 日
I have an image that consistes of black dots on a white background. I generated this image by identifying particles from an image I have and assigning black to the particles and white to others. I have around 8 such images.I need to view them in 3D space to get an idea about how the flow field looks. I have the images and the disctance between each image (This is constant). How can I combine all my images and view in a 3D space??

採用された回答

Walter Roberson
Walter Roberson 2020 年 11 月 24 日
volumeviewer perhaps. But I suspect
idx = find(YourMatrix) ;
[r, c, p] = ind2sub(size(YourMatrix), idx);
scatter3(c, r, p)
Notice that is not scatter3(r, c, p)
Also really you should be multiplying the indices by the distance between adjacent pixels in the appropriate direction.
  1 件のコメント
RAJESHWAR R
RAJESHWAR R 2020 年 12 月 17 日
Sir its giving me a blue image why is it so?

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by