资源简介
matlab代码,用于高光谱、多光谱数据重采样,内容清晰

代码片段和文件信息
%%输入文件
clear all
load ‘D:\工具\GER光谱数据_重采样\all.txt‘;
[rowcol] = size(all);
band=all(:1);
all(:1)=[]; %%%%%%%%%%%%%%%%将第一列波长从矩阵中去掉
col=col-1; %%%%%%%%%%%%%%%%矩阵的采样点数目,即光谱曲线数目
% newband=[400:1:750];
load ‘D:\工具\GER光谱数据_重采样\newband.txt‘;
%%Piecewise Cubic Hermite Interpolating Polynomial (PCHIP)内插
for point=1:col
%point;
spec=all(:point);
Interp_spec = pchip(bandspecnewband); %%%%PCHIP既能保持光谱的形状特征,又能够不会过拟合,避免某些直线的部分拟合成曲线。pchip(xyf) x表示内插前的x变量,y表示内插前的y变量,f是内插后的x变量。
Interp_Spec(:point)=Interp_spec;
end
%%输出
plot(bandall(:1)‘o‘newbandInterp_Spec(:1)‘-.‘)
legend(‘data‘‘pchip‘4)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 84924 2017-05-15 15:26 GER光谱数据_重采样\all.txt
文件 748 2017-05-15 15:26 GER光谱数据_重采样\Interpchip.m
文件 3006 2017-05-15 15:26 GER光谱数据_重采样\newband.txt
- 上一篇:差分方程的阻滞增长模型 matlab
- 下一篇:曲面拟合程序MATLAB
相关资源
- 高光谱图像pca分析特征提取
- 基于双线性内插法的图像重采样matl
- 高光谱图像在matlab里的读入与显示
- Indian高光谱遥感数据集
- 高光谱遥感图像分类matlab.rar
- GDA产生式算法Matlab代码带高光谱文件
- 高光谱解混数据集Japser Ridge
- 高光谱解混数据集Samson
- matlab对Paviau高光谱数据集分类
- sandiego airport 高光谱数据
- 通过svm cnn knn对高光谱数据集PaviaU进行
- 高光谱解混数据集Urban
- 高光谱遥感数据集Salinas
- 高光谱工具箱Matlab版
- Indian_pinesMATLAB格式的高光谱数据集和
- 高光谱图像和matlab读取程序
- 高光谱图像分类--SVM
- matlab cnn高光谱图像分类
- matlab处理高光谱数据算法源码
- matlab开发-高光谱解混和去噪
- 高光谱遥感图像FuzzyMeansCluster算法-m
- 利用PCA降维方法处理高光谱图像matl
- 高光谱异常检测KRX算法
- 高光谱异常探测算法RXD的matlab实现
- 高光谱端元提取算法PPI,matlab编写。
- FCLS matlab源码 丰度估计
- matlab轮廓波变换重采样
- hyperspectral toolbox for matlab - 高光谱图
- 高光谱图像的读取
- svc psr resample smooth SVC PSR 光谱数据的读
评论
共有 条评论