Video to Image Regression
1 view (last 30 days)
Show older comments
Michael Keeling
on 5 Jun 2020
Commented: Michael Keeling
on 9 Jul 2020
Hello!
I have 32x32x256 (HeightxWidthXFrames) greyscale video data that I need to regress to a 32x32 image.
- What is the ideal format for me to save my input data so it can be read into a NN? Is there an appropriate image format? (I have not been succesfull using .mat files in an image datastore)
- Should I use a 2d or 3d ImageInputLayer? I intend to use a Unet architecture.
Thank you!
0 Comments
Accepted Answer
Shashank Gupta
on 6 Jul 2020
Hi Michael,
Since your input to the model is a video data, it is appropriate to use 3D image datastore. Also Unet archtecture you intent to design will be a 3D architecture and in that case going for 3d imageInputLayer is prompt.
When we deal with high dimension data, It is always good choice to go with ".mat" data storage. In particularly your case, you can write a custom function in @ReadFcn property of datastore to read the ".mat" file.
I hope this helps you,
More Answers (0)
See Also
Categories
Find more on Image Data Workflows 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!