Local Ridge Orientation Estimation using Hong algorithm

1) First divide the normalized image into blocks of size 16*16
2) Find the gradients Gx and Gy at each pixel
3) Estimate the orientation of each block centered at pixel (i,j), but this orientation may not be always correct due to the presence of noise in the original image so convert them into vector field.
4) Estimate the smooth orientation field by using 5*5 gaussian fillter
In estimating this orientaion I am getting a problem that the matrix index is starting with negative indices.Even if I stored those indices in an array and used them I am getting a problem of index out of bounds
Can anyone please sort out this problem
Thanks,

1 comentario

i think the problem is with your covolution code and not with understanding the algorithm. if you are using your own code for convolution\filtering calculate the size of the convolution before ,apply it on the matrix and crop the results by your needs

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 30 de Mayo de 2013

Comentada:

el 2 de Oct. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by