Learn R Programming

pliman (version 3.1.0)

plot_line_segment: Plot Detected Line Segments

Description

Plots the detected line segments from the output of image_line_segment(). Each segment is drawn as a red line on the existing plot.

Usage

plot_line_segment(x, col = "red", lwd = 1)

Value

No return value. The function adds line segments to an existing plot.

Arguments

x

A list returned by image_line_segment(), containing detected line segments.

col

The color of lines

lwd

The width of lines. Defaults to 1

Examples

Run this code
library(pliman)

Run the code above in your browser using DataLab