This invention discloses a mixed
hepatocyte terahertz quantitative detection
system, electronic device, and medium, comprising: a spectral preprocessing module for acquiring a mixed
hepatocyte time-domain spectrum and converting it into a mixed
hepatocyte terahertz frequency-domain spectrum using a
fast Fourier transform; calculating the
refractive index and absorption coefficient to obtain frequency-domain signals of the
refractive index and absorption coefficient, and
processing them using
Gram angle sum field and
Gram angle difference field to obtain
Gram angle sum field map and Gram angle difference field map; an image
feature extraction module for extracting gradient features from the Gram angle sum field map and Gram angle difference field map using gradient histograms; extracting
grayscale features from the Gram angle sum field map and Gram angle difference field map using
grayscale histograms; fusing the gradient features and
grayscale features to obtain image features; and a hepatocyte
cancer cell content quantitative detection module for inputting the image features into a pre-trained hepatocyte
cancer cell content quantitative detection model to obtain the proportion of hepatocyte
cancer cells.