The invention relates to the technical field of image recognition, in particular to a
red tide algae recognition method based on a hyperspectral image, and the method comprises the following steps: calculating a gradient value of each pixel in a spatial dimension and a
spectral dimension according to an original hyperspectral data cube, setting a
diffusion coefficient for
diffusion, and obtaining a three-dimensional fidelity hyperspectral data cube. According to the method, the gradient change trends of the spatial dimension and the
spectral dimension are extracted at the same time pixel by pixel, and the regional differentiation
diffusion operation is matched, so that the expression ability of the alga plaque boundary and the consistency of the internal spectral characteristics are enhanced, and the fidelity of the hyperspectral data in fine-grained region identification is improved; upper convex
hull calculation of a spectral
reflectivity curve and construction of a
continuous spectrum background baseline are introduced, and characterization of
pigment absorption morphological characteristics is enhanced; and in combination with the characteristic absorption wave bands of
chlorophyll and phycobiliary, the synergistic weighted response to the distribution of the
algae pigment is realized, and the sensitivity and selectivity of
pigment recognition are improved.