Menu

Hough Circles parameters

Anonymous
2013-05-11
2013-05-12
  • Anonymous

    Anonymous - 2013-05-11

    I used those lines in my code

    HoughCircles circles=new HoughCircles(15, 50);
    circles.analyseImage(grayImage);
    List<houghcircles.weightedcircle> best = circles.getBest(1);</houghcircles.weightedcircle>

    I got this exception

    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 10
    at org.openimaj.image.analysis.algorithm.HoughCircles.<init>(HoughCircles.java:116)</init>

    Is this error related with my code or is it bug ?

     

    Last edit: Anonymous 2013-05-11
  • Jonathon Hare

    Jonathon Hare - 2013-05-11

    What version of OpenIMAJ? There was a bug in the 1.1 (and earlier) versions with the HoughCircles class, but it's been fixed in 1.1.1-SNAPSHOT for a few weeks.

     
  • Anonymous

    Anonymous - 2013-05-12

    <version>1.1</version>

    Now i add it is as <version>1.1.1-SNAPSHOT</version>,
    Now working well,
    thanks.

     

Anonymous
Anonymous

Add attachments
Cancel