The invention discloses a teaching
solid-liquid
contact angle software and hardware measurement
system based on a seating
drop method, and the
system comprises a hardware device and a
software interaction and
algorithm, the device can achieve the manual rotation of an XY plane and a YZ plane and the manual translation of an X axis and a Z axis, and the
software interaction and
algorithm comprises the steps: S1, enabling a plane where a camera is located to be perpendicular to a plane where a
liquid drop is located, and carrying out the photographing to obtain a
liquid drop picture; s2, carrying out graying
processing on the
liquid drop picture; s3, performing multi-stage interactive
cutting on the grayed picture; s4, a Canny
edge detection algorithm or a
thresholding method is adopted, the contour extraction of the
cut picture is completed through shading, iterative optimization is carried out, and liquid drop contour data are output; s5, drawing a liquid drop
contour line on the
grayscale image, drawing a
base line, and calculating to obtain
contact angle data; software provided by the invention is point-and-play, and the software can be matched and cooperated with designed hardware to complete a
contact angle data acquisition function, and can also be independently used to process a liquid drop picture to obtain a contact angle numerical value.