[Insight-users] How to use parameters for Hough Line detection
Julien Jomier
jjomier at cs.unc.edu
Sat Mar 26 15:15:20 EST 2005
Hi Pavan,
> know that my image contains say 5 lines, can I set this parameter to 5
> and get the required results?
This is correct. The algorithm will pick the 5 maximum votes in the
accumulator. Basically the algorithm blurs the accumulator and looks for
the maximum number of votes, then draws a black disc to remove the
previously choosen point in the accumulator space and tries to find the
next one.
> Also I wanted a clarification on the AngleAxisSize and
> AngleResolution parameters. Why should these be set to nearly the same
> value?
Actually these two values should be the same, otherwise it doesn't make
any sens. The AngleResolution is half the number of increments in the
angle direction (PI/AngleResolution) to fill the accumulator space.
I've logged a bug in the bug tracker and fix it as soon as I can.
Thanks for the report,
Julien
Pavan Podila wrote:
> Hi,
> I have been trying to understand the use of the "NumberOfLines"
> parameter for the Hough Line Detection filter. I want to know if the
> NumberOfLines picks the top voted points from the accumulator. If I
> know that my image contains say 5 lines, can I set this parameter to 5
> and get the required results?
> Also I wanted a clarification on the AngleAxisSize and
> AngleResolution parameters. Why should these be set to nearly the same
> value?
>
> Thanks,
> Pavan
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
More information about the Insight-users
mailing list