• Laser & Optoelectronics Progress
  • Vol. 57, Issue 20, 201101 (2020)
Minghua Zhang1, Yaqing Zou1, Wei Song1, Dongmei Huang1、2、*, and Zhixiang Liu1
Author Affiliations
  • 1College of Information Science, Shanghai Ocean University, Shanghai 201306, China
  • 2College of Electronics and Information Engineering, Shanghai University of Electric Power, Shanghai 200090, China
  • show less
    DOI: 10.3788/LOP57.201101 Cite this Article Set citation alerts
    Minghua Zhang, Yaqing Zou, Wei Song, Dongmei Huang, Zhixiang Liu. GGCN: GPU-Based Hyperspectral Image Classification Algorithm[J]. Laser & Optoelectronics Progress, 2020, 57(20): 201101 Copy Citation Text show less
    Cube-CNN-SVM model framework
    Fig. 1. Cube-CNN-SVM model framework
    Definition form of convolution operation
    Fig. 2. Definition form of convolution operation
    Matrix multiplication form of convolution operation
    Fig. 3. Matrix multiplication form of convolution operation
    Image preprocessing and convolution operation
    Fig. 4. Image preprocessing and convolution operation
    Model training loss and accuracy variation. (a) Loss; (b) accuracy
    Fig. 5. Model training loss and accuracy variation. (a) Loss; (b) accuracy
    Changes in the speedup ratio of different numbers of convolution layers
    Fig. 6. Changes in the speedup ratio of different numbers of convolution layers
    Algorithm:GGCN
    Input: Hyperspectral image1, Data preprocessing: processing <<>>i-th iteration: Forward propagation2, Convolutional: convol <<< gridsize, blocksize, 0, stream>>>3, Pooling: maxpooling <<< gridsize, blocksize, 0, stream>>>4, Fully connected: fullyconnected <<< gridsize, blocksize, 0, stream>>>5, Output: output <<>>6, Copy classification results to CPU to calculate the loss: 7, Copy data: cudaMemcpy()8, Calculate the loss: lossfunction()Backward propagation9, Output: bp_output <<< gridsize, blocksize, 0, stream>>>10, Fully Connected: bp_fullyconnected<<< gridsize, blocksize,0,stream>>>11, Pooling: bp_maxpooling <<>>12, Convolutional: bp_update_kernel <<< gridsize, blocksize, 0, stream>>>OutputEnd
    Table 1. Algorithm pseudocode
    DatasetSensorClass numberDimensionTop 5 classesSize /MB
    KSCAVIRIS13512 × 614×176Water, scrub, spartna-marsh,mud-flats, salt-marsh56.8
    PUPOSIS9610×340×103Meadows, asphalt, bare-soil,self-blocking bricks, trees33.2
    Indian PinesAVIRIS16145×145×224Soybean-mintill, corn-notill, woods,soybean-notill, corn-mintill5.7
    Table 2. Information of the remote sensing datasets
    DatasetNeighbor pixel extract strategyTime /s
    CPUPNPEG-PNPE
    KSC1P4N8N2.654.896.210.450.881.120.510.921.22
    PU1P4N8N2.213.303.870.310.520.660.330.490.71
    Indian Pines1P4N8N1.05 1.652.170.170.210.280.180.200.26
    Table 3. Comparison of time consumption of different data preprocessing methods
    DatasetMethodTime /sSpeedup ratio
    MBGD(batchsize is 10)MBGD(batchsize is 100)
    KSCCube-CNN-SVMGCNGGCN23123.623487.342834.0123012.493322.342598.781.06.68.2
    PUCube-CNN-SVMGCNGGCN2231.23351.46286.222187.75338.11230.061.06.37.8
    Indian PinesCube-CNN-SVMGCNGGCN453.62107.3484.01422.49102.3480.781.04.25.1
    Table 4. Comparison of running time and speedup of different classification models
    DatasetMethodAccuracy /%
    MBGD(batchsize is 10)MBGD(batchsize is 100)
    KSCCube-CNN-SVMGCNGGCN93.7893.3393.6793.4793.1293.92
    PUCube-CNN-VMGCNGGCN96.6796.2396.3495.2195.6195.69
    Indian PinesCube-CNN-SVMGCNGGCN94.7894.7394.8794.6794.5294.42
    Table 5. Accuracy of different classification models
    LayerPercentage /%
    GCNGGCN
    Preprocessing1.02.4
    Convolution38.228.0
    Pooling2.45.6
    Fully connection27.124.0
    Output19.022.0
    Others13.318.0
    Table 6. Ratio of time between the improved model and the original model
    Minghua Zhang, Yaqing Zou, Wei Song, Dongmei Huang, Zhixiang Liu. GGCN: GPU-Based Hyperspectral Image Classification Algorithm[J]. Laser & Optoelectronics Progress, 2020, 57(20): 201101
    Download Citation