我在灰度图像上使用imshow函数interpolation='nearest'并得到一个漂亮的彩色图片,看起来它为我做了某种颜色分割,那到底是什么?
imshow
interpolation='nearest'
我也希望得到类似的东西用于图像处理,那里的numpy数组interpolate('nearest')有什么功能吗?
interpolate('nearest')
编辑:请纠正我,如果我错了,它看起来像是简单的像素聚类(聚类是相应颜色图的颜色)和"最近"这个词说它采用最近的颜色图颜色(可能在RGB空间中)决定像素属于哪个群集.
python numpy image-processing matplotlib
image-processing ×1
matplotlib ×1
numpy ×1
python ×1