The present invention provides an
image processing method and
system in
analyte testing, a medium, and a device. The method includes: image obtaining: obtaining an
infrared grayscale image in a first area; first target selection: converting the
infrared 5
grayscale image into a two-dimensional matrix, recording a pre-selected first target area, and selecting maximum values and minimum values of a horizontal coordinate and a
vertical coordinate: Xmax, Xmin, Ymax, ymin; searching area determining: using Xmax+m, Xmin-m, ymax+m, ymin-m as searching area boundaries, where m is a preset expansion distance, to obtain searching areas; and second target selection: sequencing the searching areas based on 10 grayscales in descending order, and selecting a top preset quantity of coordinates with greatest grayscales as a second target area. 32 20 25 20 46 45 20 J un 2 02 5 A B S T R A C T 2 0 2 5 2 0 4 6 4 5 2 0 J u n 2 0 2 5 A B S T R A C T 2 0 2 5 2 0 4 6 4 5 2 0 J u n 2 0 2 5 FIG. 13 FIG. 14 Image obtaining: obtain an
infrared grayscale image in a first area; First target selecting: convert the infrared grayscale image into a two-dimensional matrix,
record a pre-selected first target area, and select maximum values and minimum values of a horizontal coordinate and a
vertical coordinate: xmax, xmin, ymax, ymin; Searching area determining: use xmax +m, xmin–m, ymax+m, ymin–m as searching area boundaries, where m is a preset expansion distance, to obtain searching areas; and Second target selecting: sequence the searching areas based on grayscales in descending order, and select a top preset quantity of coordinates with greatest grayscales as a second target area. Maximum value Minimum value 7 / 7 Maximum value Minimum value FIG. 13 Image obtaining: obtain an infrared grayscale image in a first area; First target selecting: convert the infrared grayscale image into a two-dimensional matrix,
record a pre-selected first target area, and select maximum values and minimum values of a horizontal coordinate and a
vertical coordinate: Xmax, Xmin, Ymax, ymin; Searching area determining: use Xmax +m, Xmin-m, ymax+m, ymin-m as searching area boundaries, where m is a preset expansion distance, to obtain searching areas; and Second target selecting: sequence the searching areas based on grayscales in descending order, and select a top preset quantity of coordinates with greatest grayscales as a second target area. FIG. 14 7 / 7 20 25 20 46 45 20 J un 2 02 5 2 0 2 5 X 2 0 2 5 2 0 4 6 4 5 2 0 J u n 7 / 7 2 0 2 5 X 2 0 2 5 2 0 4 6 4 5 2 0 J u n 7 / 7