Create a Matlab function that will convert 4-dimensional image data to a single 3-D .jpg picture.
3 views (last 30 days)
Show older comments
x = 1080X1920X3 unit8
5 Comments
Madhav Thakker
on 24 Nov 2020
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?
Answers (1)
Priysha LNU
on 25 Nov 2020
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!