Create a Matlab function that will convert 4-dimensional image data to a single 3-D .jpg picture.
6 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/421143/image.png)
x = 1080X1920X3 unit8
5 个评论
Madhav Thakker
2020-11-24
The 4 dimensional image property image i have: X = 1080X1920X3 unit 8
This looks like a 3D image to me.
But I need it to be X = 1080 X 1920 X 3 X 100 4-D Variable
This is a 4d image.
Can you confirm what exactly are your requirements?
回答(1 个)
Priysha LNU
2020-11-25
Hi,
Try referring to one or more of the following MATLAB Answers posts to help you resolve this query:
- https://www.mathworks.com/matlabcentral/answers/396838-convert-4d-data-to-3d
- https://www.mathworks.com/matlabcentral/answers/481519-convert-a-4d-segmented-matrix-to-a-3d-one
- https://www.mathworks.com/matlabcentral/answers/316551-matrix-manipulation-from-4d-to-3d
- https://www.mathworks.com/matlabcentral/answers/413318-how-do-you-transform-a-4d-array-to-3d-array-turning-the-4th-value-into-a-color-for-the-3d-point
Hope this helps!
DISCLAIMER: These are my own views and in no way depict those of MathWorks.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!