Re: Having trouble running Linear Hough Transform plug-in from Burger & Burge
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Jul 23, 2010; 10:56pm
URL: http://imagej.273.s1.nabble.com/Having-trouble-running-Linear-Hough-Transform-plug-in-from-Burger-Burge-tp3687499p3687502.html
On Jul 23, 2010, at 4:51 PM, Chuck Harrison wrote:
> Hi all,
>
> I recently downloaded and installed the Chapter 9 code from Burger &
> Burge, dated 27 Jan 2010
>
http://www.imagingbook.com/index.php?id=98>
> I get an error
> java.lang.NoSuchMethodError: hough.LinearHT.getMaxLines(II)Ljava/util/List;
> at Plugin_Hough_Linear.run(Plugin_Hough_Linear.java:86)
>
> As near as I can tell, the method is properly defined in LinearHT.java.
>
> I am not very sophisticated with Java...anyone have a suggestion?
It works for me. I copied the ch9 folder into the ImageJ plugins folder, opened Plugin_Hough_Linear.java by dragging and dropping it onto the "ImageJ" window, and compiled it by pressing ctrl-r (File>Compile and Run).
Here is what the directory structure looks like:
ImageJ
plugins
ch9
hough
images
Plugin_Hough_Linear.java
-wayne