matshow可以用PIL或其他库将图像显示为imshow吗?

2024-10-01 15:47:26 发布

您现在位置:Python中文网/ 问答频道 /正文

我看到这篇文章讨论了matshowPILPIL/pillow image output is redder than the desired RGB values),但通常当我们想显示图像时,我们使用imshow和{}。我在问是否有一种方法可以只使用matshowPIL来实现这一点。在


Tags: the图像imageoutputpilisrgbvalues
1条回答
网友
1楼 · 发布于 2024-10-01 15:47:26

Matplotlib^{}^{}的包装器,因为它“将原点设置为‘upper’,‘interpolation’设置为‘nearest’,而‘aspect’设置为equal。”

因此,任何可能的事情,其中一个与另一个一样可能。在

相关问题 更多 >

    热门问题