Want to convert hyperspectral .mat file to multiple .jpeg files
3 views (last 30 days)
Show older comments
Yogesh Awate on 15 Nov 2017
Please help me to create multiple images(.jpeg) based on each band. In PaviaU.mat which has 610x340x103, i want extract 103 images out of it. Thank you. PaviU.mat
Rik on 16 Nov 2017
You can just use indexing.
Are you sure you want to do this? JPEG is lossy, which means you will be losing quality. If file size isn't a major concern, consider a lossless file format, like png. especially if you intend to do processing on the images instead of the original hypercube (which is what you should use for further processing).
More Answers (0)
Find more on Display Point Clouds 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!