Operation: scan for straight lines
The operation sweeps the image with lines of inclinations between
-angle to angle and counts the pixel above threshold. If the count
is above count threshold a line is detected.
Options

threshold: Only pixels with an intensity above threshold are counted in the line-detection process.
max angle: Lines with an angle between -max angle and max angle are detected.
count threshold: A line is detected if a part of at least count threshold pixels is above threshold.
Parameter
The only parameter is the input image.
Results
result (ImagePlus); An image of the detected lines.
resultLines (ArrayList<Line2D>): A list of the detected lines.