Method for de-noising of balanced morphology filter image optimized by particle swarm
A particle swarm optimization and morphological filtering technology, applied in the field of image processing, which can solve the problems of image information loss, inability to overcome morphological deficiencies, and inability to achieve results.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0091] A particle swarm optimized balanced morphological filter image denoising method, comprising:
[0092] ①Set the input image as f, and its pixel size is W*H;
[0093]Define the zero square matrix unit structure element SE, whose size is n*n;
[0094] The equilibrium erosion operation is defined using the unit structure element SE: , that is, the collection The median value of the inner gray value is used as the gray value of the input image pixel point (i, j); wherein, the value range of i is [0, W-n], the value range of j is [0, H-n], and h takes The value range is [0,n-1], and the value range of k is [0,n-1];
[0095] The equilibrium expansion operation is defined using the unit structure element SE:
[0096] , that is, the collection The median value of the inner gray value is used as the gray value of the input image pixel point (i, j); wherein, the value range of i is [0, W+n-2], and the value range of j is [0, H +n-2], the value range of h is [0,n-1], and...
Embodiment 2
[0103] On the basis of Example 1, in the step 5, the peak signal-to-noise ratio PSNR is used as a cost function, and the particle swarm optimization technique is used to update the particle velocity V and the particle position X to obtain the globally optimal particle The method of location includes the following steps:
[0104] a: Define the historical optimal position of the i-th particle as P i =[P i1 ,P iD ], the peak signal-to-noise ratio PSNR of the balanced expansion image is the individual extremum P id , the highest peak signal-to-noise ratio PSNR among the m particles is the global limit g id , limiting the maximum flying speed of particles to be V max , the current number of iterations is t, and the initial value of t is 0;
[0105] b: According to the position and velocity of the current particle, according to the formula (1)
[0106] update the velocity of the particle;
[0107] Press (2)
[0108] Update ...
Embodiment 3
[0115] The image is processed on the basis of Embodiment 1 and Embodiment 2.
[0116] Such as figure 1 , the input image used by the present invention for image noise removal, the image is the standard test image "lena" plus impulse noise with a noise density of 15%, and the image size is 256*256 pixels.
[0117] Such as figure 2 , when the present invention is implemented, the number of particle swarms is set m=10, D=10, v max =1, the obtained output image has a peak signal-to-noise ratio PSNR=29.432db, and the optimal unit structural element SE has n=3.
[0118] Such as image 3 , the input image used by the present invention for image noise removal, the image is a standard test image "lena" plus impulse noise with a noise density of 40%, and the image size is 256*256 pixels.
[0119] Such as Figure 4 , when the present invention is implemented, the number of particle swarms is set m=10, D=10, v max =1, the obtained output image has a peak signal-to-noise ratio PSNR=...
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