Documentation Index
Fetch the complete documentation index at: https://imcui.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
imcui.ui.geometry
Geometry estimation functions for computing transformation matrices between matched points.Functions
compute_geometry
Compute geometric transformation between matched keypoints.| Parameter | Type | Description |
|---|---|---|
kp0 | np.ndarray | Keypoints from first image, shape (N, 2) |
kp1 | np.ndarray | Keypoints from second image, shape (M, 2) |
matches | np.ndarray | Matched point pairs, shape (K, 2) |
geometry_type | str | Geometry type: “homography”, “fundamental”, “essential” |
ransac_method | str | RANSAC method: “RANSAC”, “CV2_USAC_MAGSAC”, “LMEDS” |
H: Transformation matrix (3x3 for homography/fundamental)mask: Boolean mask indicating inliers