imProcessHoughLinesDraw

Draw detected hough lines. \n * The source and target images can be IM_MAP, IM_GRAY or IM_RGB, with data type IM_BYTE. \n * Can be done in-place. \n * If the hough transform is not NULL, then the hough points are filtered to include only lines * that are significally different from each other. \n * The hough image is the hough transform image, but it is optional and can be NULL. * If not NULL then it will be used to filter lines that are very similar. \n * The hough points image is a hough transform image that was thresholded to a IM_BINARY image, * usually using a Local Max threshold operation (see \ref imProcessLocalMaxThreshold). Again the better the threshold the better the results. \n * The detected lines will be drawn using a red color. * If the target image is IM_GRAY, it will be changed to IM_MAP. \n * If the target image is IM_RGB, then only the red plane will be changed. * Returns the number of detected lines. \n * Not using OpenMP when enabled. * * \verbatim im.ProcessHoughLinesDraw(src_image: imImage, hough: imImage, hough_points: imImage, dst_image: imImage) -> lines: number [in Lua 5] \endverbatim * \verbatim im.ProcessHoughLinesDrawNew(image: imImage, hough: imImage, hough_points: imImage) -> lines: number, new_image: imImage [in Lua 5] \endverbatim * \ingroup transform

version(IM)
extern (C) @nogc nothrow
int
imProcessHoughLinesDraw

Meta