YonghaoXu / SSUN

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

Data preparation understanding #3

Open TanmDL opened 5 years ago

TanmDL commented 5 years ago

Thank you sharing the code. Could you please give me an insight of "MirrowCut function" in HyperFunctions.py file?

YonghaoXu commented 5 years ago

@TanmDL Thank you for your interest in our work. As described in the paper, the input of the MSCNN is a w by w neighbor region of each pixel in the image. For those pixels distributing on the edge of the image, we fill the vacant pixels of the neighbor by mirroring the image. This procedure is implemented by the MirrowCut function.

TanmDL commented 5 years ago

Thank you. Now I got the idea. :)