Computer Vision Foundations · 免费预览
边界与填充
图像边界附近的卷积需要不存在的样本,而人为构造的样本(零、循环或镜像)的选择会显著改变输出。
1. The border asks for missing samples
The border asks for missing samples
2. Zero, circular and mirror
Zero, circular and mirror
3. Mirror wins against ground truth
Mirror wins against ground truth
4. Choosing a padding scheme
You must blur a large natural photograph near its edges with a wide box kernel. Which padding choice best matches what the blur would look like if you had photographed a wider view?
5. Reading circular indexing
In circular convolution the kernel index is read modulo N, as in . With , and , which kernel index is used?
6. Mirror padding one step
A signal begins with the values . With mirror padding, the phantom sample immediately to the left of the array reflects the first real sample's neighbor. Write the value of the first phantom sample to the left of the array.