Mode search algorithm and firefly algorithm-based image multi-threshold segmentation method
A pattern search algorithm and firefly algorithm technology, applied in the field of image processing, can solve the problems of slow segmentation, increased traversal evaluation solution space, and inability to meet application real-time requirements.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Such as figure 1 As shown, an image multi-threshold segmentation method based on pattern search algorithm and firefly algorithm, the method steps are as follows:
[0039] A. Obtain the grayscale image I that needs to be segmented by multiple thresholds, and determine the number d of thresholds;
[0040] B. Set the algorithm parameters of firefly algorithm and pattern search algorithm, namely N=20, MaxT=200, γ=1, β 0 =0.8, Algorithm parameters parameters=[ρ,α,τ,ρ min ]=[1,1,0.5,1], initial step size ρ=1, acceleration factor α=1, reduction rate τ=0.5, minimum step size ρ min = 1;
[0041] C. Initialize the population X according to the parameters of the firefly algorithm i ;
[0042] D. According to Calculate the fitness value corresponding to the population;
[0043] E. Select the optimal segmentation threshold X g ;
[0044] F. Judging whether the algorithm iteration reaches the maximum number of iterations MaxT, if reached, then jump to step K, otherwise, jum...
Embodiment 2
[0061] Such as figure 1 As shown, an image multi-threshold segmentation method based on pattern search algorithm and firefly algorithm, the method steps are as follows:
[0062] Step1: Obtain the grayscale image I that needs to be segmented by multiple thresholds, and determine the number of thresholds d;
[0063] Step2: Set the algorithm parameters of firefly algorithm and pattern search algorithm, namely N=20, MaxT=200, γ=1, β 0 =0.8, parameters=[ρ,α,τ,ρ min ]=[1,1,0.5,1];
[0064] Step3: Initialize the population X according to the parameters of the firefly algorithm i
[0065] step4: According to Calculate the fitness value corresponding to the population;
[0066] step5: Select the optimal solution (that is, the optimal segmentation threshold) X g ;
[0067] Step6: Determine whether the algorithm iteration reaches the maximum number of iterations MaxT, if so, then jump to step12, otherwise, jump to step7;
[0068] step7: with X g As the base point, with param...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com