
我在这里使用代码http://www.spectralpython.net/algorithms.html进行高光谱分析,我想制作轴并使颜色更加形状,我也试图只使图片的一部分可见(其中是植物)和所有要隐藏的背景。
from PIL import Image
from spectral import *
import spectral.io.aviris as aviris
import numpy
img = open_image('VNIR_plot35_2019-06-11_08-33-55.hdr').load()
v=imshow(vi)
#----ndiv algorithem----