I want to ask, consider we want to compute the slope of x-direction of the following step
.
The slope for it would be
$m =\frac{0}{m_2 - m_1} =\frac{0}{5 - 2}$ which is 0.
But the derivate for image in x-direction computed with (something like, some symbols aren't existed in my phone so lets just say $\frac{df}{dx}$)
$\frac{df}{dx} = f(x+1) - f(x)$
It's computed under the consideration of next pixel $f(x+1)$ minus current pixel $f(x)$.
Is there any interpretation that I'm missing, shouldn't it be 0, in both cases?
y2-y1/x2-x1
, I wrote it as simply0/x2-x1
.Thanks everyone i was so confused about all this derivative. $\endgroup$ – Plain_Dude_Sleeping_Alone Oct 27 '16 at 4:22