Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,运行不成功一直停在一句上 #1

Open
Since-r opened this issue Mar 20, 2021 · 5 comments
Open

您好,运行不成功一直停在一句上 #1

Since-r opened this issue Mar 20, 2021 · 5 comments

Comments

@Since-r
Copy link

Since-r commented Mar 20, 2021

运行时一直停在“;初始化index_f和index_c索引数组,目的是后面进行选择”这一段中的
“index_f[i*fc_ratio:(i+1)fc_ratio-1, jfc_ratio:(j+1)*fc_ratio-1]=ii” 这一句上
捕获

@max19951001
Copy link
Owner

首先确认两点是否正确:(1)输入的图像是正方形,也就是像素为n*n大小
(2)刚开始输入的粗分辨率数据也就是MODIS是否采样到Landsat像素大小。

@Since-r
Copy link
Author

Since-r commented Mar 27, 2021

首先确认两点是否正确:(1)输入的图像是正方形,也就是像素为n*n大小
(2)刚开始输入的粗分辨率数据也就是MODIS是否采样到Landsat像素大小。

确认都调整为301*301,还是出现同样问题

@Since-r
Copy link
Author

Since-r commented Mar 27, 2021

把fc_ratio调整为1后问题解决
但又“光谱解混失败”

@Since-r
Copy link
Author

Since-r commented Mar 27, 2021

好像是因为这个***_abundance.tif 没有,但是被使用了?
捕获

@max19951001
Copy link
Owner

很抱歉一直没看到你的回复,我已经上传了演示视频。最重要的是把运行文件和数据放到一个文件夹下,这样可以保证光谱解混的成功。最好的办法是envi+idl同时打开,然后在idl上新建项目,将所有文件放到这个文件下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants