How to convert .mat file to png format?
Mostra commenti meno recenti
How to convert .mat file to png format?
1 Commento
Safiya
il 8 Gen 2024
How to convert .mat file to png format?
Risposte (1)
Sindar
il 24 Feb 2020
0 voti
This is not generally possible. mat files store variables, not images. This is like asking "how do I convert a flashdrive into a png?" It is not sensible. If you have more information about a specific problem, we might be able to help
4 Commenti
Jeremy Pazuelo
il 24 Feb 2020
Hello,
I have a .mat file that I want to convert to .png so that I can apply a threshold method to divert the parts that interest me.
Do you know how to do that? Or is it possible to make a threshold directly on the .mat file? If yes how?
Thank you a lot
Sindar
il 24 Feb 2020
To be clearer than I was:
You cannot convert a .mat to a .png
There is a decent chance that you have a mat-file with data in it that could be plotted, or that corresponds to an image, but that is entirely dependent on the particular file. Where did you get the mat-file? When you select it in the "Current Folder" tab, what displays in the preview tab below?
Jeremy Pazuelo
il 24 Feb 2020
Can you check my folder : https://www.dropbox.com/sh/htrx9ocq3udaf1j/AACAOntVFMir8cqoMEbK7GiIa?dl=0
There are the .mat file I'm talking about and my draft code
My goal is to be able to remove the skull (colored orange/yellow)
Sindar
il 24 Feb 2020
This sounds like a completely separate question. When you Ask it, include your code in a code block and attach the mat-file. Also, specify what is and is not working
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!