Computer Vision Foundations · 免费预览
边缘与图像梯度
把图像视为位置的函数,用梯度度量其变化率,并把剧烈变化转化为边缘像素。
1. The image is a function of position
The image is a function of position
2. The gradient measures local change
The gradient measures local change
3. Finite differences on a pixel grid
Finite differences on a pixel grid
4. Edge strength, orientation and the normal
Edge strength, orientation and the normal
5. Which way the gradient points at an edge
A photograph shows a dark block against a bright white ground, and one image column crosses the block's left boundary, where intensity rises steeply from the dark block to the bright ground as you move right. At a pixel sitting on this boundary, which direction does the image gradient point?
6. Thresholding edge strength
Four pixels in an image have gradients , , and . Using edge strength with threshold , which pixels are marked as edges?
7. Computing a finite difference
A grayscale image satisfies the finite-difference approximation . At one pixel the intensity is and its left neighbor has . Compute the estimated horizontal derivative at this pixel and write the number.