Weighted Median Filtering
Weighted Median Filtering: Similar to standard median filtering, but with weighted masks containing specific values/weights instead of uniform ones. Implementation involves mask convolution, pixel sorting, and median selection. The process includes: 1) Defining a 3x3 weighted mask 2) Position mask at top-left corner 3) Multiply and sort pixels 4) Select median value 5) Assign to center pixel 6) Slide mask across image.