#![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 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, 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::{default_chess_config, DetectorConfig, OrientationMethod};
pub use corner::{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, GridAlignment, GridTransform, GRID_TRANSFORMS_C4, GRID_TRANSFORMS_D4,
};
pub use projective_grid::Coord;