We compute the support region on the sphere, which is required to compute the orientation and the descriptor.
Using the calibration, we map the extrema point detected to the sphere and define a vicinity proportional to the sin(sigma) where the point was detected. Then this vicinity is projected to the omnidirectional image and the orientation and magnitude gradients are computed. A weighted histogram is computed and its peak is selected as the orientation of the point.
Support region on the sphere ![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc22E6TSfiSVNmdtNw_KYj-7wqjAlAor477fCmyIbMt0r2f44LhG_CwOg9WsS-xg5GrY4yjrZrmV4Rj_xGqvvmoOMhXE9zNV1GU2r1EHsLoD-Sr6k1ZkqW7npSMlrWz1vafQqCxwQxAcXJ/s400/supregion_sphere.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOfZ4H9vSZ9gF_KmF_9pW1Zi_xuorPONtyeyLN9ezfMqwPEuTNLWrQgXQkCfAGa62usGAn745cWYMrEIEibhWYnUAdON3UUuPajneJl07hRs26p-OzmfnQXPKmHu-t02YT9lhz_YiGEQSg/s400/not_circular.png)
We observe that depending on the position on the sphere the support region in the image varies from circular to elliptical.
Support region for the descriptor
A similar process is followed to compute the descriptor corresponding to the detected feature. In this case the support region is divided in 36 bins. We verify the correctness of the orientation previously computed.
We can observe two examples of support regions over two omnidirectional images with the orientation previously computed
Good orientation
Image 1
Image 2
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEr_GKNaudiuxGcyKoFCXJ2BzhxhS44I1ADXEImdMUdJy2SSWEY1JFTJGt1TZv0IAcC_6JEBrhi5lqIvi2UF_-8GYC8zfLNNG1hpRWMsBQiRcKe3v4nt_IAvppqHtAzBE3avX3WBbxGlEc/s400/good_ori_im1.png)
Bad orientation
Image 1![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7caUwsbHsycnqqIfUwPOvF2lTD5tYcf8HQGJfREVdzsbstKxulJ6vtQRn7cVLZ87hgHaBcNSZbuDWQMNoGuz_PclhIOtA-zCXmU9MAaateJUPWwUfYFh1ExPjTCwib_8p3thujoSCKjDj/s400/bad_ori_im2.png)
Image 2![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNk98a_CpA9aMoBY6p_PQMSb5cJ-MYCxDiAhuOxn698qaeaFUwPkgnhPUH1XV6virkPQkmX450-_KrsJNMz23nPj__KhIpBerBrNs1DG6Mr9uPTJ0TxET9u5MOclFctOKHouG03yAS3ngW/s400/bad_ori_im1.png)
This bad orientation computation can be caused because the orientation is computed with the gradients in the original image and not in the smoothed image where the feature was detected.