{"id":"homography-invert","version":"1.0.0","description":"Invert an exact nonsingular 2D homography and return a canonical projective matrix.","supported_operations":["invert a homography","exact inverse projective transform","reverse a planar perspective map","calculate homography adjugate","canonical inverse transformation matrix","undo exact 2D homography"],"unsupported_operations":["pseudoinverse of singular matrices","floating point condition estimation"],"semantics":["Canonical rationals are integers or reduced p/q strings with a positive denominator.","Homogeneous outputs are primitive integer tuples with first nonzero coordinate positive.","All arithmetic and predicates use exact BigInt cross-products; binary floating point and epsilon comparisons are never used.","Reference: Hartley & Zisserman, Multiple View Geometry, 2nd ed., Chapter 2."],"limits":{"max_input_bytes":8192,"max_rational_bytes":256,"max_output_bytes":8192,"max_tree_nodes":128},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["matrix"],"properties":{"matrix":{"type":"array","minItems":3,"maxItems":3,"items":{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":256,"pattern":"^(?:0|-?[1-9][0-9]*)(?:/[1-9][0-9]*)?$"}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["matrix","reference"],"properties":{"matrix":{"type":"array","minItems":3,"maxItems":3,"items":{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":256,"pattern":"^(?:0|-?[1-9][0-9]*)(?:/[1-9][0-9]*)?$"}}},"reference":{"type":"string","const":"Hartley & Zisserman, Multiple View Geometry, 2nd ed., Chapter 2"}}},"examples":[{"input":{"matrix":[["1","0","0"],["0","1","0"],["0","0","1"]]},"output":{"matrix":[["1","0","0"],["0","1","0"],["0","0","1"]],"reference":"Hartley & Zisserman, Multiple View Geometry, 2nd ed., Chapter 2"}},{"input":{"matrix":[["2","0","0"],["0","3","0"],["0","0","1"]]},"output":{"matrix":[["3","0","0"],["0","2","0"],["0","0","6"]],"reference":"Hartley & Zisserman, Multiple View Geometry, 2nd ed., Chapter 2"}}],"execute_url":"/v1/tools/homography-invert/versions/1.0.0/execute"}