1
$\begingroup$

I have trouble understanding something (small) regarding the math behind Harris Corners Detector. (for example I looked at this explanation - https://aishack.in/tutorials/harris-corner-detector/)

In the equation we get there are squared derivative matrices - $I_x^2, I_y^2$ and also $I_x \times I_y$. I've seen code implementations of this around the web, and it seems to me that these multiplications are element-wise. My question why? I thought that when you take the square of a matrix it should be matrix multiplication, and not element-wise multiplication...

I'd really appreciate some clarifications regarding this, Thank you

$\endgroup$
1
  • $\begingroup$ back then I made the same assumption reading that article, but as you noticed everything element wise $\endgroup$
    – MimSaad
    Commented Feb 7, 2020 at 15:45

1 Answer 1

1
$\begingroup$

I think this part in article is starting point of the confusion :

See how the $I(x+u, y+v)$ changed into a totally different form $I(x,y)+ uI_x + vI_y)$?

The author should have write a bit more detailed notation as:

$I(x,y)+ uI_x(x,y) + vI_y(x,y)$

i.e. pointing out that these are element-wise spatial derivatives (like Sobel) not matrix derivatives ( those x and y indicate horizontal and vertical spatial derivative).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.