概述
参考以下网址:
数据分享07期|高光谱遥感数据集
下载IP/UP/Salinas等数据集
文章目录
-
- 1. IP数据集简介
- 2. UP数据集简介
- 3. PC数据集简介
- 4. Salinas-A数据集简介(6类)
- 5. Salinas数据集简介(对于corrected数据,OSError: could not read bytes)
- 6. KSC数据集简介
1. IP数据集简介
print(IP.keys())#dict_keys(['__header__', '__version__', '__globals__', 'indian_pines_corrected'])
print(IP['indian_pines_corrected'].shape)#(145, 145, 200)
print(type(IP['indian_pines_corrected']))#<class 'numpy.ndarray'>
print(np.unique(IP['indian_pines_corrected']))#[ 955 961 962 ... 9279 9360 9604]
print(IP_gt.keys())#dict_keys(['__header__', '__version__', '__globals__', 'indian_pines_gt'])
print(IP_gt['indian_pines_gt'].shape)#(145, 145)
print(type(IP_gt['indian_pines_gt']))#<class 'numpy.ndarray'>
print(np.unique(IP_gt['indian_pines_gt']))#[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16]
2. UP数据集简介
print(PU.keys())#dict_keys(['__header__', '__version__', '__globals__', 'paviaU'])
print(PU['paviaU'].shape)#(610, 340, 103)
print(type(PU['paviaU']))#<class 'numpy.ndarray'>
print(np.unique(PU['paviaU']))#[ 0 1 2 ... 7996 7997 8000]
print(PU_gt.keys())#dict_keys(['__header__', '__version__', '__globals__', 'indian_pines_gt'])
print(PU_gt['paviaU_gt'].shape)#(610, 340)
print(type(PU_gt['paviaU_gt']))#<class 'numpy.ndarray'>
print(np.unique(PU_gt['paviaU_gt']))#[0 1 2 3 4 5 6 7 8 9]
3. PC数据集简介
print(PC.keys())#dict_keys(['__header__', '__version__', '__globals__', 'pavia'])
print(PC['pavia'].shape)#(1096, 715, 102)
print(type(PC['pavia']))#<class 'numpy.ndarray'>
print(np.unique(PC['pavia']))#[ 0 1 2 ... 7998 7999 8000]
print(PC_gt.keys())#dict_keys(['__header__', '__version__', '__globals__', 'pavia_gt'])
print(PC_gt['pavia_gt'].shape)#(1096, 715)
print(type(PC_gt['pavia_gt']))#<class 'numpy.ndarray'>
print(np.unique(PC_gt['pavia_gt']))#[0 1 2 3 4 5 6 7 8 9]
4. Salinas-A数据集简介(6类)
print(SA.keys())#dict_keys(['__header__', '__version__', '__globals__', 'salinasA_corrected'])
print(SA['salinasA_corrected'].shape)#(83, 86, 204)
print(type(SA['salinasA_corrected']))#<class 'numpy.ndarray'>
print(np.unique(SA['salinasA_corrected']))#[ -9 -8 -6 ... 8361 8367 8373]
print(SA_gt.keys())#dict_keys(['__header__', '__version__', '__globals__', 'salinasA_gt'])
print(SA_gt['salinasA_gt'].shape)#(83, 86)
print(type(SA_gt['salinasA_gt']))#<class 'numpy.ndarray'>
print(np.unique(SA_gt['salinasA_gt']))#[ 0 1 10 11 12 13 14]
5. Salinas数据集简介(对于corrected数据,OSError: could not read bytes)
print(SA.keys())#dict_keys(['__header__', '__version__', '__globals__', 'salinas'])
print(SA['salinas'].shape)#(512, 217, 224)
print(type(SA['salinas']))#<class 'numpy.ndarray'>
print(np.unique(SA['salinas']))#[ -14 -12 -11 ... 9141 9171 9207]
print(SA_gt.keys())#dict_keys(['__header__', '__version__', '__globals__', 'salinas_gt'])
print(SA_gt['salinas_gt'].shape)#(512, 217)
print(type(SA_gt['salinas_gt']))#<class 'numpy.ndarray'>
print(np.unique(SA_gt['salinas_gt']))#[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16]
6. KSC数据集简介
print(KSC.keys())#dict_keys(['__header__', '__version__', '__globals__', 'KSC'])
print(KSC['KSC'].shape)#(512, 614, 176)
print(type(KSC['KSC']))#<class 'numpy.ndarray'>
print(np.unique(KSC['KSC']))#[ 0 1 2 ... 65533 65534 65535]
print(KSC_gt.keys())#dict_keys(['__header__', '__version__', '__globals__', 'KSC_gt'])
print(KSC_gt['KSC_gt'].shape)#(512, 614)
print(type(KSC_gt['KSC_gt']))#<class 'numpy.ndarray'>
print(np.unique(KSC_gt['KSC_gt']))#[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13]
上面两张图来自于论文“Gong Z , Zhong P , Yu Y , et al. A CNN With Multiscale Convolution and Diversified Metric for Hyperspectral Image Classification[J]. IEEE Transactions on Geoscience and Remote Sensing, 2019:1-20.”
最后
以上就是鲤鱼信封为你收集整理的高光谱遥感数据集下载及简介 的全部内容,希望文章能够帮你解决高光谱遥感数据集下载及简介 所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复