cModules.PBRTiler.GLRenderer module#
- calculate_homography(source_pts, dest_pts)[source]#
- Constructs the 8-parameter Homography matrix (H)source_pts: [(u1, v1), (u2, v2), (u3, v3), (u4, v4)]dest_pts: [(x1, y1), (x2, y2), (x3, y3), (x4, y4)]Returns the mapping matrix transforming Dest to Source.