知识卡片
同尺寸填充量由核半径决定
步幅1、奇数宽2r+1的核若以中心对齐,为得到同尺寸输出,每侧需要r个额外像素。原书支持区间[−N,N]却写N/2,混淆半径和宽度,应按N个处理。偶数核或其他步幅还需明确非对称对齐规则。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 线性图像滤波
原书出处 · 1 处
- · 查看原书依据
extending the input image by adding additional pixels so that the output can have the same size as the input. So, for a kernel with support [–N, N] × [–M, M], one has to add N/2 additional pixels left and right of the image and M/2 pixels at the top and bottom. Then, the output will have the same size as the original input image.
参考来源
- 位置:《Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)》第15章《线性图像滤波》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)/_epub-src/OPS/xhtml/c015b.xhtml)
- 结论依据:摘录中关于同尺寸填充量由核半径决定的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:extending the input image by adding additional pixels so that the output can have the same size as the input. So, for a kernel with support [–N, N] × [–M, M], one has to add N/2 additional pixels left and right of the image and M/2 pixels at the top and bottom. Then, the output will have the same size as the original input image.