Artificial immune network clustering based grayscale image segmentation method
An artificial immune network and gray-scale image technology, applied in the field of clustering and segmentation based on artificial immune network, can solve the problems of increasing the time complexity of the segmentation process, unable to ensure the optimization function, increasing the computational complexity and other problems, and achieve accurate regional consistency , good edge retention performance, and speed-up effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] In order to further improve the segmentation speed, the present invention provides a grayscale image segmentation method based on artificial immune network clustering, see figure 1 , grayscale image segmentation includes the following steps:
[0055] Step 1. Input the grayscale image to be segmented. In this example, the images applied respectively are lina image, vegetable image and rice image. See figure 2 (a), image 3 (a) and Figure 4 (a).
[0056] Step 2. Extract the texture features of the grayscale image to be segmented:
[0057] 2a) extracting the feature vector of the grayscale image to be segmented using the grayscale co-occurrence matrix method;
[0058] 2b) Use the extracted feature vector to represent each pixel of the grayscale image to be segmented.
[0059] Step 3. Generate the clustering data of the immune network to obtain the initial antigen set Ag:
[0060] 3a) Process the grayscale image to be segmented with the watershed method to obtain im...
Embodiment 2
[0090] The grayscale image segmentation method based on artificial immune network clustering is the same as embodiment 1, wherein the grayscale co-occurrence matrix method described in step 2a) includes the following steps:
[0091] 2a1) Quantize the grayscale image to be segmented into 0-255, a total of 256 grayscales;
[0092] 2a2) Select four directions in which the angle between the line connecting two pixels in the grayscale image to be segmented and the horizontal axis is 0°, 45°, 90°, and 135° in turn, and calculate the four directions of the image to be segmented according to the following formula: The gray level co-occurrence matrix of the direction:
[0093] p(i,j)=#{(x 1 ,y 1 ),(x 2 ,y 2 )∈M×N|f(x 1 ,y 1 )=r,f(x 2 ,y 2 )=s}
[0094] Among them, p(i,j) is the element value of the gray level co-occurrence matrix at the coordinate (i,j) position, # is the number of elements in the set {}, (x 1 ,y 1 ) and (x 2 ,y 2 ) is the coordinates of two pixel points w...
Embodiment 3
[0097] The grayscale image segmentation method based on artificial immune network clustering is the same as embodiment 1-2, wherein the watershed method described in 3a) processes the grayscale image to be segmented and includes the following steps:
[0098] 3a1) Obtaining the gradient map of the grayscale image to be segmented;
[0099] 3a2) Select the internal mark of the grayscale image to be segmented, that is, find the local minimum value of the grayscale image to be segmented;
[0100] 3a3) selecting the external marker of the grayscale image to be segmented, that is, the watershed transformation of the internal marker of the grayscale image to be segmented;
[0101] 3a4) Gradient correction: use the forced minimum technique to correct the gradient of the grayscale image to be segmented, so that the local minimum area only appears at the marked position of the grayscale image to be segmented;
[0102] 3a5) Watershed transformation is performed on the corrected gradient ...
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