![]() |
通过python将.mat文件扩展名图像转换为.jpg
我目前正在尝试将图像从[B].mat[/B]文件转换为从该网站[URL="https://figshare.com/articles/brain_tumor_dataset/1512427"]BrainTumorDataset[/URL]下载的[B].jpg[/B]文件。该目录中包含的所有文件都是[B].mat[/B]文件,现在我想通过python将所有文件转换为[B].jpg[/B]格式,以通过CNN创建一个项目(使用Deep Neural Net进行脑肿瘤分类)。我在谷歌搜索,但后来我从那里什么都没得到,只有一些有关如何在python中加载.mat文件的主题,但这也无济于事。我在StackOverflow中找到了一个[URL="https://stackoverflow.com/questions/51589678/display-image-from-matlab-mat-file-on-python"]答案[/URL] ,但这不适用于此数据集,而且答案是在python中加载.mat图像,但我想将[B].mat[/B]图像转换为[B].jpg[/B]格式。
[url=https://stackoverflow.com/q/59208896]更多&回答...[/url] |
所有时间均为北京时间。现在的时间是 23:37。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.