Checking Image Coordinate Transforms with Distinct Corners
Distinct corner values in a small rectangular fixture can reveal swapped axes, reversed directions, and unexpected crop origins.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace an example
Place A, B, C, and D in the four corners. A transpose moves the upper-right B to the lower-left of the transformed rectangle. See transpose and rotation.
Test interior positions when necessary
Some different nonlinear maps agree on corners and vary in the middle. Include an interior landmark to catch that disagreement. Test inputs that separate outputs motivate this case.[1][2]