nfline: Plot a line, Hesse normal form parameterisation

View source: R/hough.R

nflineR Documentation

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

Author(s)

Simon Barthelme

Examples


#Boring example, see ?hough_lines
plot(boats)
nfline(theta=0,rho=10,col="red")

imager documentation built on May 31, 2023, 8:56 p.m.