imager (version 0.41.2)

nfline: Plot a line, Hesse normal form parameterisation

Description

This is a simple interface over abline meant to be used along with the Hough transform. In the Hesse normal form (theta,rho), a line is represented as the set of values (x,y) such that cos(theta)*x + sin(theta)*y = rho. Here theta is an angle and rho is a distance. See the documentation for hough_lines.

Usage

nfline(theta, rho, col, ...)

Arguments

theta

angle (radians)

rho

distance

col

colour

...

other graphical parameters, passed along to abline

Value

nothing

Examples

Run this code
# NOT RUN {
#Boring example, see ?hough_lines
plot(boats)
nfline(theta=0,rho=10,col="red")
# }

Run the code above in your browser using DataCamp Workspace