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 件のコメント

Michael Matheys
Michael Matheys 2017 年 10 月 2 日
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

サインインしてコメントする。

回答 (0 件)

質問済み:

2013 年 5 月 30 日

コメント済み:

2017 年 10 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by