3 lmage Enhancement 3.4.2空间的相关和卷积 相关和卷积的关系: 卷积 Correlation Convolution 一维情况: Origin w rotated180° (a)00010000 12328 6.0。o6。 82321 (i) (b) 0010000 00010000 (j) 12328 82321 Starting position alignment Zero padding (c)000000010000000d 0000000100000000(k) 12328 82321 (d)0000000100000000 0000000100000000(1) 相关 12328 82321 Position after one shift (e)0000000100000000 0000000100000000(m) }2328 82321 -Position after four shifts (D0000000100000000 000.0000100000000(n) Final position2 3 82321 Full correlation result Full convolution result (g) 000823210000 0001232=80000 (o) Cropped correlation result Cropped convolution result (h) 08232100 01232800 (p) FIGURE 3.29 Illustration of 1-D correlation and convolution of a filter with a discrete unit impulse.Note that correlation and convolution are functions of displacement.3 Image Enhancement 第3章 第7页 3.4.2空间的相关和卷积 相关和卷积的关系: 一维情况: 相关 卷积