The invention discloses a
machine vision-based
enzyme freeze-dried
powder quality detection method, and belongs to the technical field of
machine vision, and the method specifically comprises the following steps: in a closed
optical cavity, synchronously collecting a multispectral polarization sequence of a sample through annular multispectral polarization illumination and
microscopic imaging; performing short-time
airflow pulse disturbance and continuous imaging on the sample, and constructing a polarization
time sequence texture map by means of inter-frame polarization retention difference; according to
Stokes parameters, calculating a deskewness graph and a
specular reflection component graph, and carrying out joint normalization on the deskewness graph and the
specular reflection component graph and the polarization
time sequence texture graph to form a multi-channel feature stack; constructing a double-
branch encoder, and performing comparative learning on the feature stack to generate an
impurity prototype dictionary; using the dictionary to match the feature stack pixel by pixel, and tracking and inhibiting
powder agglomeration
false detection through a topological constraint connected domain; and recovering a
height map by using an
oblique incidence fringe phase shift method, performing pixel-
level fusion with the
candidate image, retaining targets with height abrupt change and consistent polarization characteristics, and outputting an
impurity mask.