Unlock instant, AI-driven research and patent intelligence for your innovation.
Mode search algorithm and firefly algorithm-based image multi-threshold segmentation method
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
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.
Inactive Publication Date: 2017-12-26
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF7 Cites 8 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0006] When the traditional image threshold segmentation method based on the maximum inter-class variance method is extended from single-threshold segmentation to multi-threshold segmentation, as the number of thresholds increases, the solution space that requires traversal evaluation increases, and the segmentation achieved by the traditional exhaustive method The speed becomes slower and cannot meet the real-time requirements of the application
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more
Image
Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
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...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
PUM
Login to View More
Abstract
The invention discloses a mode search algorithm and firefly algorithm-based image multi-threshold segmentation method. The method comprises the steps of firstly obtaining a grayscale image needed to be processed, and if the grayscale image is a color image, converting the color image into a grayscale image I(x,y) through rgb2gray() of MATLAB 7.12; and then performing threshold segmentation through an OTSU method based on a mode search algorithm and a firefly algorithm: specifically, the OTSU method based on the mode search algorithm and the firefly algorithm is that thresholds=PS-FA-OTSU(grayImage,num), wherein grayImage is a to-be-segmented grayscale image input in the algorithms, num is a to-be-segmented threshold number, thresholds are segmented thresholds obtained by algorithm-based segmentation, and the output thresholds are the obtained segmented thresholds, so that the threshold segmentation of the grayscale image is finished. The OTSU method-based grayscale image multi-threshold segmentation is quicker, more stable and more efficient.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
Application Information
Patent Timeline
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.