Hi narjes, The call to circle_hough has too many input arguments. Have a close look at it and compare it with the examples in the demo. If you need more help, please post the code that calls circle_hough.
hi David, when i use this code
some errors appear like :
?? Error using ==> nargchk
Too many input arguments.
Error in ==> C:\MATLAB6p5\work\circle_hough.m
On line 40 ==> error(nargchk(2, 2+length(opts), nargin, 'struct'));
could you help me please??
when I use this code, some problems come:
Undefined function 'circlepoints' for input arguments of type 'double'.
Error in circle_hough (line 61)
[tR, tC] = circlepoints(rrange(i));
Error in Circle_Detection2 (line 10)
h = circle_hough(e, radii, 'same', 'normalise');
Is that you have any idea about it?
thnx david :) i've actually created a code to detect some circle just like yours.. it ran perfectly, yours too.. but i still cant find a hough transform code to detect ellipse. ive search in file exchange, i found only one code. i try to run it, it works, but im not satisfied enough for the result :(