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

About dataset preprocessing #3

Open
4fee8fea opened this issue Dec 13, 2021 · 0 comments
Open

About dataset preprocessing #3

4fee8fea opened this issue Dec 13, 2021 · 0 comments

Comments

@4fee8fea
Copy link

Dear @likyoo,

I have downloaded the Houston 2013 dataset from the official page.

Equipped with osgeo.gdal and osgeo.gdal_array.DatasetReadAsArray packages, I got HSI.mat and LiDAR.mat just as what's inside the google drive url, just as follows:

from osgeo import gdal
from osgeo.gdal_array import DatasetReadAsArray
HSI = gdal.Open('2013_IEEE_GRSS_DF_Contest_CASI.tif')
HSI = DatasetReadAsArray(HSI)
io.savemat('HSI.mat', {'HSI': HSI})

To my disappointment, these files don't share the same contents.

Could you please tell me how you did the preprocessing step?

Best regards

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

1 participant