matplotlib显示黑白灰度图像颜色设置
对于黑白灰度图像(矩阵)
1. 默认使用伪彩色拉升
2 cmap参数为 binary,可能导致颜色反转
3. cmap = gray,same color as origin, that is, white means 255 and black means 0
focus on scientific computue, 3dgis, spatial database
专注于科学计算、GIS空间分析
对于黑白灰度图像(矩阵)
1. 默认使用伪彩色拉升
2 cmap参数为 binary,可能导致颜色反转
3. cmap = gray,same color as origin, that is, white means 255 and black means 0