Content deleted Content added
No edit summary |
|||
Line 23:
If ''I''(''x'') represents the intensity of pixel ''x'', and ''I''′(''x'') represents the first derivative (intensity gradient) at pixel ''x'', we therefore find that:
:<math>I'(x)=-1\cdot I(x-1) + 0 \cdot I(x) + 1 \cdot I(x+1).\,</math>
For higher performance image processing, the 1st derivative can therefore be calculated (in 1D) by [[convolution|convolving]] the original data with a mask:
|