The invention relates to the technical field of
hyperspectral image classification, and discloses a
hybrid network method for
hyperspectral image classification, which comprises the following steps: preprocessing a hyperspectral image, dividing the hyperspectral image into a
training set and a
test set, inputting the data into a 3D CNN, extracting space and spectral features through three-dimensional
convolution operation, introducing nonlinearity by applying an
activation function ReLU, and extracting the hyperspectral image through a three-dimensional
convolutional neural network; the method comprises the following steps: reducing image dimensions through respe operation, extracting spectral features through a 3D CNN, sending the spectral features into low-level capsules of a
capsule network, extracting low-level features of HSI after passing through the 3D CNN, carrying out nonlinear compression on vectors of the capsules by using a nonlinear
activation function Squash, updating connection weights between the capsules by using a dynamic
routing algorithm through an iteration mode by using a high-level
capsule, and carrying out nonlinear compression on the vectors of the capsules by using a high-level
capsule. The extracted feature vectors are mapped to probability distributions of different categories by using a full connection layer, the trained classifier is evaluated and tested by using a
test set, the classification accuracy is calculated, a
spectrogram and a spatial feature map can be fully utilized, and the accuracy of
spectral image classification is improved to the maximum extent.