Weighted Median Filter:
It is same as median filter, only difference is the mask is not empty. It will having some weight (or values) and averaged.
The steps to perform weighted median filtering are as follows:
1) Assume a 3x3 weighted mask.
2) Place the mask at the left hand corner.
3) After convolution (multiplication), Arrange the 9 pixels in ascending or descending order.
4) Chose the median from these nine values.
5) Place this median at the centre.
6) Move the mask through out the image.
Cite As
MANISH KUMAR SHARMA (2024). weighted median filter (https://www.mathworks.com/matlabcentral/fileexchange/29386-weighted-median-filter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Descriptive Statistics >
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filtering >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |