Computational Photography
CS 4475/6475 Maria Hybinette
1 Maria Hybinette
Filtering: Smoothing
- Point-process and Neighboring Pixels
Computations on an Image for Image Smoothing
Maria Hybinette 2
Objectives
- Smooth an image while considering a
neighborhood n of pixels
– Average filtering (use the average of n) – Median filtering (use the median of n)
- special non-linear filtering and smoothing
approach
Maria Hybinette 3
From Pixel/Point Operations to Groups of Pixels
- Previously we used pixel to pixel arithmetic (e.g., add(), sub()))
- How to Smooth a Signal?
- Approach: Use a group of pixels : Neighboring Values of a
neighborhood.
1. Moving Average [1 1 1 1 1] X 1/5 2. Weighted Moving Average [1 4 6 4 1] X 1/16
Maria Hybinette 4
Example: 3x3 Kernel
Maria Hybinette 5
Example: 3x3 Kernel
- Smoothing Process over an Image using Averages
- 1*90/9=10, 2*90/9=20, ….
Maria Hybinette 6