i'm running your matlab code, when i run it on MATLAB R2011 i get the following error:
Error using .*
Integers can only be combined with integers of the same class, or scalar doubles.
Error in RemovePseudoContour (line 7)
Lmin = ordfilt2(L+bwbound.*(LABELNUM+1),1,ones(3,3)); %3-by-3 minimum filter
Error in test (line 81)
L1 = RemovePseudoContour(L1);
kindly tell me where the problem is, i'm also working on the same kind of problem, kindly get me out of it :(
Thanks for providing these files to the comunity !
However, did you check the othogonality of the functions created?
It seems to me that something's wrong there.
I generated 2 polynoms like it is shown in the doc :
z(idx) = zernfun(3,1,r(idx),theta(idx));
z2(idx) = zernfun(4,0,r(idx),theta(idx));
When I check the orthogonality by simply doing :
the result is not 0.
Am I doing someting wrong or is there a pb here?
Thanks in adavnce
Mostly it works. But I found some minor problems (Might be my problems):
1. The 2D version, the Direction is not correct. I used cos and sin function and then the "quiver" function to draw them, it seems the Direction matrix doesn't reflect the main direction of the vessel structure.
2. For 3D version, it would be great if you can provide me not only the main direction but also the 2 sub-directions related with the 2 "larger" eigenvalues.
Thanks for your work. Please tell me what's wrong with the 2D direction.