Skip to main content

SensorModel

Trait SensorModel 

Source
pub trait SensorModel<S>
where S: RealField + Copy,
{ // Required methods fn normalized_to_sensor( &self, n: &OPoint<S, Const<2>>, ) -> OPoint<S, Const<2>>; fn sensor_to_normalized( &self, s: &OPoint<S, Const<2>>, ) -> OPoint<S, Const<2>>; }
Expand description

Sensor model mapping between normalized and sensor-plane coordinates.

Required Methods§

Source

fn normalized_to_sensor(&self, n: &OPoint<S, Const<2>>) -> OPoint<S, Const<2>>

Map normalized coordinates to the sensor plane.

Source

fn sensor_to_normalized(&self, s: &OPoint<S, Const<2>>) -> OPoint<S, Const<2>>

Map sensor-plane coordinates back to normalized coordinates.

Implementors§