Tobacco shred width measuring method
The invention provides a tobacco shred width measuring method, which comprises the following steps of S1, keeping the visual field range of a camera of photographing equipment unchanged, and obtaining a plurality of photos of tobacco shreds; s2, acquiring the definition of each photo, and selecting...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a tobacco shred width measuring method, which comprises the following steps of S1, keeping the visual field range of a camera of photographing equipment unchanged, and obtaining a plurality of photos of tobacco shreds; s2, acquiring the definition of each photo, and selecting the photo with the maximum definition greater than a first threshold value as a target photo; s3, acquiring a plurality of contours corresponding to the tobacco shreds in the target picture; s4, according to a preset negligible distance, performing simplification processing on each contour to obtain a simplified contour; s5, searching paired parallel line segments for replacing the cut edges on the two sides of the single tobacco shred from each simplified outline; s6, real distances between the paired parallel line segments are obtained respectively, and the width of the tobacco shreds is determined according to the obtained real distances between the multiple groups of paired parallel line segments. The method ca |
---|