In case that I would forgot which axis is X or Y……. This is just a memo
Note : I take this coordinate by observing the result from the local maxima function. So it should be the coordinate in the general case
However in case of camera coordinate in the space. The coordinate axis is the difference issue (see in Sinisa Kolaric blog).