Anti-vibration machine vision detection method of foreign matters in liquid medicine

2011 
The invention discloses an anti-vibration machine vision detection method of foreign matters in a liquid medicine. The detection method comprises the following steps of: step 1, obtaining images; step 2, matching the images: carrying out matching pre-processing on adjacent frame gray level images by utilizing a relevant sub-pixel image matching algorithm based on a hill-climbing search phase; step 3: carrying out inter-frame difference: carrying out difference on the matched adjacent frame gray level images to remove static background information and keep movable foreign matter information; step 4: detecting a target: carrying out binary segmentation and connected domain search on the images obtained by the inter-frame difference, calculating area of each foreign matter area and finding out the largest foreign matter area; and step 5, judging a decision: judging whether an existing product is an inferior-quality product by judging whether the largest foreign matter area exceeds a standard, and finishing the detection process. The anti-vibration machine vision detection method of the foreign matters in the liquid medicine, disclosed by the invention, has the advantages of capability of effectively eliminating the vibration interference of an electromechanical system, strong robustness and capability of greatly reducing designing and manufacturing costs of detection equipment ofthe foreign matters in the liquid medicine.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []