Research Article
Image Speckle Denoising for Securing Internet of Smart Sensors
Algorithm 1
Secured image speckle denoising for internet of smart sensors.
Input: the SAR image A | (1) | Extract the edge contour of the central target, carry out expansion, corrosion, and hole filling, form a closed area, and generate a binary image B; | (2) | Read the imageA and Bsize [m. n]; | (3) | for p = 1:m | (4) | for q = 1:n | (5) | if B (i, j) = 255 | (6) | A (i, j) ; represents the marked area; | (7) | else | (8) | A (i, j) ; represents the unmarked area; | (9) | end; end; end | (10) | Then the marked area and unmarked area in the noisy image are obtained; | (11) | Read the image A size [m. n]; | (12) | for i = 1:m | (13) | for j = 1:n | (14) | if current position (i, j) belongs to the marker area | (15) | ; | (16) | else | (17) | ; | (18) | Use formulas (2) and (11) to calculate the weights; | (19) | end; end; end | Output: the final denoising image |
|