Data Spike Removal for Images

版本 1.0.4 (4.6 KB) 作者: Evan Czako
Rectifies pixel data spikes in images with adjustable threshold.
116.0 次下载
更新时间 2019/11/22

This code is intended to mitigate speckle noise, salt-and-pepper/impuse noise, and otherwise spikey data in images. Its intended application is image data that contains a scattering of pixels that have sharp intensity values differing significantly from those of their neighboring pixels. This type of noise is a common artifact of interferograms and radar images. Note that this function may not be an effective method of reducing other types of noise or image artifacts.

The code functions by identifying the nearest neighbors of each pixel and calculating the mean and standard deviation values of those neighbors. If the pixel of interest is further than a user-set threshold of standard deviations away from the mean value of its neighboring pixels, it will be considered a data spike. It will then be removed and replaced using the regionfill function of the Image Processing Toolbox.

NOTE: If you do not have the Image Processing Toolbox, you should replace the call to the regionfill function in this code with a call to my fill_region function (included in this folder), which accomplishes the same task with comparable computational efficiency. Either will run reasonably quickly, even for higher-resolution images.

Please read function descriptions for full instructions on their use. Please see examples embedded in function descriptions for demonstrations of use.

引用格式

Evan Czako (2024). Data Spike Removal for Images (https://github.com/EvanCzako/image-spike-removal), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.4

Connected to GitHub.

1.0.3

Fixed error in file

1.0.2

check

1.0.1

Changed function name to remove_spikes

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库