Ultraviolet image segmentation method based on bat algorithm with Levy flight characteristics and Otsu method and system
The invention discloses an ultraviolet image segmentation method based on a bat algorithm with Levy flight characteristics and an Otsu method. The method comprises the following steps: S1, obtaining an ultraviolet image to be segmented; S2, replacing speed and position updating operation in the bat...
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 discloses an ultraviolet image segmentation method based on a bat algorithm with Levy flight characteristics and an Otsu method. The method comprises the following steps: S1, obtaining an ultraviolet image to be segmented; S2, replacing speed and position updating operation in the bat algorithm with a formula; S3, taking an inter-class variance function in an Otsu algorithm as an objective function of a bat algorithm, and taking a segmentation threshold variable corresponding to the inter-class variance function as a bat position variable in the bat algorithm; and S4, solving a corresponding bat position when the target function is maximum based on the bat algorithm, and segmenting the ultraviolet image to be segmented into a background region and a target region by taking the bat position as an optimal segmentation threshold. In addition, the invention also discloses a corresponding system. According to the invention, the ultraviolet image to be segmented can be segmented quickly. Compared with |
---|