Chargement…
Chargement…
Horizontal and vertical kernels are evaluated in parallel.
Behavior
gx = (p02+2*p12+p22) - (p00+2*p10+p20).gy = (p20+2*p21+p22) - (p00+2*p01+p02).magnitude equals abs(gx)+abs(gy) and is limited to 2040.| Signal | Direction | Width | Description |
|---|---|---|---|
p00 ... p22 | Input | 8 bits | 3 x 3 pixel window |
magnitude | Output | 11 bits | Gradient magnitude |