This commit is contained in:
Marc Planard 2023-07-01 17:17:33 +02:00
parent 3d53982e72
commit 6c0678ca1d
1 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@ use crate::transformer::Transformers;
use crate::point::Point;
use crate::worldstate::{WorldState,EDH};
use serde::{Serialize,Deserialize};
use log::info;
use nalgebra::Matrix3;
use log::debug;
use nalgebra::Matrix1x3;
/// Homography
@ -21,7 +20,7 @@ impl Transformers for Homography {
let p = p * edh.matrix;
let new_p = Point { x: p[0] / p[2], y: p[1] / p[2], ..*point };
dbg!("{:?} => {:?}", point, new_p);
debug!("{:?} => {:?}", point, new_p);
new_p
})