Median Blurring and cv2.medianBlur() - Python for Integrated Circuits - - An Online Book - |
||||||||
| Python for Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
| Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= The function cv2.medianBlur() computes the median of all the pixels under the kernel window and the central pixel is replaced with this median value. This is highly effective in removing salt-and-pepper noise. This reduces the noise effectively. The kernel size must be a positive odd integer. ============================================ cv2.medianBlur() filter: code:
|
||||||||
| ================================================================================= | ||||||||
|
|
||||||||