#![deny(missing_docs)]
mod bit_likelihood;
mod chess;
mod corner;
mod corner_map;
mod grid_alignment;
mod grid_smoothness;
mod homography;
mod image;
pub mod io;
mod logger;
mod rectify;
pub use bit_likelihood::log_sigmoid;
pub use grid_smoothness::square_predict_grid_position;
pub use homography::{
estimate_homography_rect_to_img, estimate_homography_with_quality, homography_from_4pt,
homography_from_4pt_with_quality, homography_from_next, homography_to_next,
warp_perspective_gray, Homography, HomographyQuality,
};
pub use image::{
sample_bilinear, sample_bilinear_fast, sample_bilinear_u8, GrayImage, GrayImageView,
};
pub use rectify::{RectToImgMapper, RectifiedView};
pub use chess::{DetectorConfig, OrientationMethod};
pub use corner::{
axis_estimate_from_next, axis_estimate_to_next, AxisEstimate, LabeledCorner, TargetDetection,
TargetKind,
};
pub use corner_map::{complete_cell_corners, corner_map_bounds, CornerMap};
pub use grid_alignment::{
cell_rect_corners_at, grid_transform_from_next, grid_transform_to_next, GridAlignment,
GridTransform, GRID_TRANSFORMS_D4,
};
pub use projective_grid::Coord;
#[cfg(feature = "tracing")]
pub use logger::init_tracing;
pub use logger::init_with_level;