lms-07 / CVSSN

[TCSVT 2022] Official implementation for 'Exploring the Relationship between Center and Neighborhoods: Central Vector Oriented Self-Similarity Network for Hyperspectral Image Classification'
GNU General Public License v3.0
30 stars 1 forks source link

How to parse the University of Houston 13 dataset? #1

Closed detectRecog closed 1 year ago

detectRecog commented 1 year ago

Hello, great work! It is difficult for beginners to obtain the UH dataset (.mat files required by this repo) and the train/test splits. Could you please help to provide instructions to extract these mat files from the originally provided .tif files? Or, could you please provide links for researchers like me?

lms-07 commented 1 year ago

Hi, thanks for your interest!

In Python, directly read .tif data or images and then convert them into the .mat format. In fact, I employ the imread fun in the ### tifffile package to read .tif, and the common savemat fun to save as .mat data. In addition, based on my coding experiences, the ### gdal package is able to implement format conversion, but it may be more complicated.

Good lack!