hexiao0275 / S2ADet

[TGRS 2023] The official repo for the paper "Object Detection in Hyperspectral Image via Unified Spectral-Spatial Feature Aggregation".
GNU Affero General Public License v3.0
25 stars 6 forks source link

Image preprocessing issue #10

Open Titos123 opened 3 months ago

Titos123 commented 3 months ago

Hi, I would like to ask which two files are executed for your PCA and ONR, respectively? And how do you store the image reduced to three bands as a PNG image? ![Uploading change.png…]()

hexiao0275 commented 3 months ago

You can look for the main xxx.m file, I haven't run it in a long time.

Titos123 commented 3 months ago

Okay, thank you for your answer. It seems I've found the code it runs on. When I select bands using the HOD3K's png image, this error occurs, but I haven't modified the source code. What could be the reason for this? Do I need to modify any part of the code? ONR

hexiao0275 commented 3 months ago

This is probably because the bands aren't set. This is the code for the ONR part, if you can't get it to run you can download it from the ONR paper's repository and it will definitely run.

pacant commented 1 month ago

@Titos123 Hi, did you managed to solve the issue? do you have a solution for applying PCA and ONR for obtaining the image reduced to three bands? thank you

heiGT001 commented 1 month ago

Pls did the author upload the code to generate SA and SE images? I didn't find it