This invention discloses a
hyperspectral image classification method, medium, device, and product, relating to the field of
image processing. The method includes: performing standardized preprocessing and
superpixel segmentation on a hyperspectral image, and constructing a superpixel graph structure; constructing a
hyperspectral image classification model including three parallel branches; each
branch includes a spectral transform sub-network, a superpixel-level graph sub-network, and a pixel-level convolutional sub-network, wherein the spectral transform sub-network is a convolutional network with different kernel sizes, used to extract features from the hyperspectral image; based on the hyperspectral image features and graph structure, the parallel superpixel-level graph and pixel-level convolutional sub-networks extract superpixel-level and pixel-level features and perform feature
concatenation and fusion, and obtain a classification probability distribution based on the fused features; the three parallel branches of the classification model are trained independently, and the trained model is used to classify hyperspectral images; the classification results of the three branches are determined by a majority voting method to determine the final
classification result.