Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Author(s)

Simon Barthelme

Examples

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

imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.