pub mod alignment;
mod cleanup;
pub mod detect;
pub mod extension;
pub mod fill;
pub mod grow;
pub mod grow_extend;
pub mod index;
pub mod mesh;
pub mod rectify;
pub mod regular;
pub mod seed;
pub mod smoothness;
pub mod validate;
pub use alignment::{GridAlignment, GridTransform, GRID_TRANSFORMS_D4};
pub use detect::{
detect_square_grid, detect_square_grid_all, ExtensionStrategy, MultiComponentParams,
SquareGridDetection, SquareGridParams, SquareGridStats,
};
pub use extension::{
extend_via_global_homography, ExtensionCommonParams, ExtensionParams, ExtensionStats,
LocalExtensionParams,
};
pub use fill::{fill_grid_holes, FillParams, FillStats};
pub use grow::{
bfs_grow, predict_from_neighbours, Admit, GrowParams, GrowResult, GrowValidator,
LabelledNeighbour, Seed,
};
pub use grow_extend::{extend_from_labelled, BfsExtensionStats};
pub use index::GridCoords;
pub use mesh::SquareGridHomographyMesh;
pub use rectify::SquareGridHomography;
pub use regular::{
detect_regular_grid, DetectedGridPoint, RegularGridDetection, RegularGridDetector,
RegularGridError, RegularGridParams, RegularGridStats,
};
pub use seed::finder::{find_quad, SeedQuadParams, SeedQuadValidator};
pub use seed::{
seed_cell_size, seed_has_midpoint_violation, seed_homography, SeedOutput, SEED_QUAD_GRID,
};
pub use smoothness::{
square_find_inconsistent_corners, square_find_inconsistent_corners_step_aware,
square_predict_grid_position,
};
pub use validate::{validate, LabelledEntry, ValidationParams, ValidationResult};