You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
给预测的Mask上色,看下面代码 import cv2 import numpy as np import matplotlib import matplotlib.pyplot as plt from matplotlib import cm from matplotlib.colors import LinearSegmentedColormap
#在自建的colorabar ,得到自己想要的颜色 def get_spectral():
ALL = 0 VEGETATION = 1 ROAD = 4 BUILDING = 2 WATER = 3 colormap_float = np.zeros( (5, 3), np.float ) #新建一个数组用于存储颜色的数值
No description provided.
The text was updated successfully, but these errors were encountered: