我正在做一个降维实验,想根据降维的结果来演示低维(2D)空间中的人脸。当人脸为 PNG 格式时,我的 MATLAB 脚本运行良好。但它不适用于 EPS 文件,至少imread
无法识别 EPS 格式。那么我该怎么做呢?谢谢你。
问问题
13451 次
1 回答
2
EPS files cannot be read using imread or any other image processing function. What you could do instead (just a suggestion) is
Using this code, convert your EPS into PNG first.
Then, you can do your usual processing using this PNG file. You mentioned you can deal with PNG's. So I am not elaborating in it.
I hope that helps (thanks to the author of the File Exchange Author too).
于 2012-12-15T05:05:43.140 回答