Based on the code of LineHoughTransformOp.java from the Generation5 jdk.
Example
Description
The operation calculates the line hough transform and answers lines
with a support above a relative threshold value. The input image is
supposed to be a greyscale line image.
Options
hough threshold: A threshold relative to
the line with the biggest support. Only lines with a support above
hough_treshold will be taken into account.
show_transfomr: If checked the hough transform of the image, i.e. the image in hough space is shown.
Parameter
The only parameter is the input image. It has to be a greyscale line
image, i.e. an edge detecting filter has to be applied before using the
line hough transform operation.
Results
result (ImagePlus): An image of the detected lines.
resultLines (ArrayList<Line2D>): A list of the detected lines.
houghTransform (ImagePlus): An image of the hough transform of the input image.