• Laser & Optoelectronics Progress
  • Vol. 60, Issue 12, 1228002 (2023)
Yuhan Chen, Bo Wang*, Qingyun Yan, Bingjie Huang, Tong Jia, and Bin Xue
Author Affiliations
  • School of Remote Sensing and Geomatics Engineering, Nanjing University of Information Science and Technology, Nanjing 210044, Jiangsu, China
  • show less
    DOI: 10.3788/LOP220921 Cite this Article Set citation alerts
    Yuhan Chen, Bo Wang, Qingyun Yan, Bingjie Huang, Tong Jia, Bin Xue. Hyperspectral Remote-Sensing Classification Combining Transformer and Multiscale Residual Mechanisms[J]. Laser & Optoelectronics Progress, 2023, 60(12): 1228002 Copy Citation Text show less
    Network structure of SMSaNet
    Fig. 1. Network structure of SMSaNet
    Multiscale spectral enhancement residual fusion module
    Fig. 2. Multiscale spectral enhancement residual fusion module
    Spectral attention module
    Fig. 3. Spectral attention module
    Swin Transformer feature extraction module
    Fig. 4. Swin Transformer feature extraction module
    Swin Transformer block
    Fig. 5. Swin Transformer block
    MSA and W-MSA
    Fig. 6. MSA and W-MSA
    W-MSA and SW-MSA
    Fig. 7. W-MSA and SW-MSA
    Classification result chart on India dataset
    Fig. 8. Classification result chart on India dataset
    Classification result chart on PU dataset
    Fig. 9. Classification result chart on PU dataset
    Class activation mapping (CAM). (a) CAM of multiscale spectral enhanced residual fusion module; (b) CAM of spectral attention module
    Fig. 10. Class activation mapping (CAM). (a) CAM of multiscale spectral enhanced residual fusion module; (b) CAM of spectral attention module
    OA values corresponding to different ratios of training samples. (a) Inida dataset; (b) PU dataset
    Fig. 11. OA values corresponding to different ratios of training samples. (a) Inida dataset; (b) PU dataset
    Class No.Land cover/use typeTrainingTest
    1Alfalfa2323
    2Corn-notill3001128
    3Corn-min300530
    4Corn118119
    5Grass-pasture241242
    6Grass-trees300430
    7Grass-pasture-moved1414
    8Hay-windrowed239239
    9Oats1010
    10Soybean-notill300672
    11Soybean-mintill3002155
    12Soybean-clean296297
    13Wheat102103
    14Woods300965
    15Buildings-grass-trees-crives193193
    16Stone-steel-towers4647
    Total30827167
    Table 1. Figure categories and sample counts of India dataset
    Class No.Land cover/use typeTrainingTest
    1Asphalt6635968
    2Meadows186416785
    3Gravel2091890
    4Trees3062758
    5Painted metal sheets1341211
    6Bare soil5024527
    7Bitumen1331197
    8Self-blocking bricks3683314
    9Shadows94853
    Total427338503
    Table 2. Figure categories and sample counts of PU dataset
    Dropout rate0.10.20.30.40.50.60.70.8
    OA /% (India)99.4795.6099.5197.4198.2399.0198.4496.91
    OA /% (PU)99.5699.0499.3199.1999.0799.0298.9998.45
    Table 3. Experimental results of different dropout rates on India and PU datasets
    Spatial dimension9×911×1113×1315×1517×1719×1921×21
    OA /%97.9298.5198.9399.0299.2299.2199.33
    AA /%98.1098.6898.9599.0599.1199.1699.36
    Kappa /%98.2198.5198.7399.1799.2599.3199.34
    Spatial dimension23×2325×2527×2729×2931×3133×3335×35
    OA /%99.4799.5199.3999.3599.3199.2699.21
    AA /%99.5299.6699.4599.2699.1899.1599.10
    Kappa /%99.4299.4499.3299.2199.0598.7298.69
    Table 4. Experimental results of different spatial sizes on India dataset
    No.Baseline1D-CNN3D-CNN3D+2D-CNNSwin-TSMSaNet
    196.77100.00100.00100.00100.00100.00
    277.9178.1598.6098.7096.4498.95
    370.1674.3999.3298.9798.8099.48
    466.8368.45100.00100.0098.2299.09
    593.4391.57100.00100.0099.4199.85
    695.3895.9599.4199.6199.2299.80
    795.2486.3695.2490.91100.00100.00
    899.1198.8299.41100.00100.0099.85
    968.7570.59100.00100.00100.00100.00
    1079.5577.8299.2799.2797.8499.85
    1190.8188.8799.5399.4799.7699.33
    1274.0765.9699.5298.5497.4299.76
    1399.2897.92100.00100.00100.00100.00
    1497.2297.9297.7799.7799.7799.89
    1576.5572.9996.0998.5495.0798.90
    1693.6591.1898.46100.00100.0099.22
    OA /%85.2184.2199.0199.3198.6399.51
    AA /%88.9989.1398.4599.4498.7499.66
    Kappa /%83.2982.1798.8799.2298.4499.44
    Table 5. Classification results on India dataset
    No.Baseline1D-CNN3D-CNN3D+2D-CNNSwin-TSMSaNet
    193.0092.9798.9099.1799.2899.20
    296.1896.5299.7799.8499.7799.80
    377.0381.4597.7898.9999.0797.44
    494.6394.8899.7098.2799.4499.56
    599.92100.00100.0099.6799.92100.00
    690.9192.9999.98100.0099.96100.00
    782.6986.9199.0999.5099.5099.58
    882.6982.7398.0599.6097.3099.08
    999.6598.9596.5198.9197.4198.81
    OA /%92.6693.4099.3299.5499.3899.56
    AA /%90.1590.8198.3998.9598.7299.18
    Kappa /%90.2691.2399.1099.3999.1899.41
    Table 6. Classification results on PU dataset
    Method and moduleIndiaPU
    MethodShiftMSOA /%AA /%Kappa /%OA /%AA /%Kappa /%
    w/o shift99.3098.9398.8899.3798.7798.56
    SMSaNet99.5199.6699.4499.5699.1899.41
    w/o M98.8698.6398.7199.1199.0598.82
    w/o S99.2199.1699.1399.2899.0998.87
    w/o M and S98.5698.1798.0698.8998.6598.48
    Table 7. Ablation experiments
    MethodImage sizeParam /MFLOPs
    Baseline1×14.2304.23 MFLOPs
    1D-CNN1×10.0360.11 MFLOPs
    3D-CNN25×250.77293.82 MFLOPs
    3D+2D-CNN25×255.009152.68 MFLOPs
    Swin-T25×2527.49589.78 MFLOPs
    SMSaNet25×255.05646.65 MFLOPs
    Table 8. Params and FLOPs for different models
    Yuhan Chen, Bo Wang, Qingyun Yan, Bingjie Huang, Tong Jia, Bin Xue. Hyperspectral Remote-Sensing Classification Combining Transformer and Multiscale Residual Mechanisms[J]. Laser & Optoelectronics Progress, 2023, 60(12): 1228002
    Download Citation