Create a Matlab function that will convert 4-dimensional image data to a single 3-D .jpg picture.
Show older comments

x = 1080X1920X3 unit8
5 Comments
Geoff Hayes
on 20 Nov 2020
Roolientha - what have you tried so far? What are the properties of your four-dimensional image?
Roolientha Denaud
on 20 Nov 2020
Geoff Hayes
on 20 Nov 2020
So you want to convert a 3D image to a 4D image?
Roolientha Denaud
on 20 Nov 2020
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
0 votes
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.
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!