disparity: Disparity

Description Usage Arguments See Also Examples

View source: R/disparity.r

Description

Calculates the disparity p for given (incidence) angles.

p \approx h \cdot (\cot θ_{i_2} - \cot θ_{i_1})

Usage

1
disparity(h, theta1, theta2)

Arguments

h

realtive height.

theta1

angle.

theta2

angle.

See Also

disparityMapExpected

Examples

1
plot((c(35:45)/360*2*pi), disparity(10, (c(35:45)/360*2*pi), 45/360*2*pi), type='l')

ragram documentation built on May 2, 2019, 4:42 p.m.