image: magick image object returned by image_read() or image_graph()
radius: edge size in pixels
geometry: geometry string, see details.
color: a valid color string such as "navyblue" or "#000080". Use "none" for transparency.
bg: background color
size: size in points to draw the line
overlay: composite the drawing atop the input image. Only for bg = 'transparent'.
format: output format of the text, either svg or mvg
Details
For Hough-line detection, the geometry format is {W}x{H}+{threshold}
defining the size and threshold of the filter used to find 'peaks' in the intermediate search image. For canny edge detection the format is {radius}x{sigma}+{lower%}+{upper%}. More details and examples are available at the imagemagick website.