Gesture segmentation method based on island searching algorithm

The invention discloses a gesture segmentation method based on an island searching algorithm. The method comprises the steps of S1, obtaining a gesture grid image matrix A, a height m and a width n; S2, traversing four boundaries of the image matrix A according to the height m and the width n, stori...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN JIE, TIAN ZONGKAI, SUN JIAN, CHEN CHEN, XU LEI, GAN MINGGANG, DOU LIHUA
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a gesture segmentation method based on an island searching algorithm. The method comprises the steps of S1, obtaining a gesture grid image matrix A, a height m and a width n; S2, traversing four boundaries of the image matrix A according to the height m and the width n, storing a grid coordinate with a grid value of 1, and setting the grid value as 2; S3, for each grid of which the grid value is 2, judging whether the value of the adjacent grid is 1 or not, if so, storing the coordinates of the adjacent grids, adding 1 to the count value, and setting the value of the adjacent grids to be 2; and S4, for each grid with the adjacent grid value of 2, judging whether the adjacent grid value is 1 or not, if so, storing the coordinates of the adjacent grids, and adding 1 to the count value; setting the values of the adjacent grids to be 2 until the values of the grids directly adjacent to and indirectly adjacent to the grids are both set to be 2; S5, repeating the step S3-S4, and traversing a