|
1
|
- About modifying pixels based on neighborhood. Local methods simplest.
- Linear means linear combination of neighbors. Linear methods simplest.
- Useful to:
- Integrate information over constant regions.
- Scale.
- Detect changes.
- Fourier analysis.
- Many nice slides taken from Bill Freeman.
|
|
2
|
|
|
3
|
|
|
4
|
|
|
5
|
|
|
6
|
- Zeros
- Repeat values
- Cycle
- Produce shorter result
- Examples
|
|
7
|
|
|
8
|
|
|
9
|
|
|
10
|
|
|
11
|
|
|
12
|
|
|
13
|
|
|
14
|
|
|
15
|
|
|
16
|
|
|
17
|
|
|
18
|
|
|
19
|
|
|
20
|
|
|
21
|
|
|
22
|
|
|
23
|
|
|
24
|
- Noise is what we’re not interested in.
- We’ll discuss simple, low-level noise today: Light fluctuations; Sensor
noise; Quantization effects; Finite precision
- Not complex: shadows; extraneous objects.
- A pixel’s neighborhood contains information about its intensity.
- Averaging noise reduces its effect.
|
|
25
|
- I = S + N. Noise doesn’t depend
on signal.
- We’ll consider:
|
|
26
|
|
|
27
|
- Example: try executing:
- k=1; figure(1); hist(sum((1/k)*rand(k,1000)))
- for different values of k.
- The average of noise is smaller than one example.
- This is intuitive
- Can be proven in many cases (some technical conditions: noise must be
independent, many samples….)
- Actually true for many real examples: Gaussian noise, flipping a coin
many times
|
|
28
|
- Suppose I(i) = I+n(i), I(i+1) = I+n(i+1) I(i+2) = I+n(i+2).
- Average of I(i), I(i+1), I(i+2) = I + average of n(i), n(i+1), n(i+2).
- When there is no noise, averaging smooths the signal.
- So in real life, averaging does both.
|
|
29
|
|
|
30
|
|
|
31
|
- Rotationally symmetric.
- Weights nearby pixels more than distant ones.
- This makes sense as probabalistic inference.
|
|
32
|
|
|
33
|
|
|
34
|
|
|
35
|
|
|
36
|
|
|
37
|
|
|
38
|
|
|
39
|
- Noise reduction is probabilistic inference.
- Depends on knowledge of signal and noise.
- In practice, simplicity and efficiency important.
|
|
40
|
- Smoothing also smooths signal.
- Matlab
- Removes detail
- Matlab
- This is good and bad:
- - Bad: can’t remove noise w/out
blurring shape.
- - Good: captures large scale
structure; allows subsampling.
|
|
41
|
|