YonghaoXu / SSUN

[IEEE TGRS 2018] Spectral-Spatial Unified Networks for Hyperspectral Image Classification
MIT License
70 stars 30 forks source link

use of s1s2 in HyperspectralSamples function of HyperFunctions module #6

Open sandeep-25 opened 5 years ago

sandeep-25 commented 5 years ago

Dear YonghaoXu, can you please clarify the use of s1s2 =1 and s1s2=2 in HyperspectralSamples function of HyperFunctions module.

YonghaoXu commented 5 years ago

Hi, s1s2 is the index to indicate the strategy utilized for band grouping.

Strategy 1 ( s1s2 = 1 case ) focuses on the local features and makes the signals inside a group continuous without any intervals. Each group concentrates on a narrow spectral range.

By contrast, strategy 2 ( s1s2 = 2 case ) focuses on the global features and each group in this case will cover most of the spectral range compared with strategy 1.