Image corners🔗

Projects the corners of an input image to the XY plane of the world coordinate system.

Inputs🔗

  • image: Input image

Outputs🔗

  • topLeft: Top-left corner.

  • topRight: Top-right corner.

  • bottomRight: Bottom-right corner.

  • bottomLeft: Bottom-left corner.

  • corners: This is a combination of the individual corner outputs. A 4-by-2 matrix containing all the corner coordinates (x, y) ordered clockwise: top left, top right, bottom right, bottom left.

All the output points are two-dimensional and projected to world XY plane. If some of the points cannot be calculated, they will be set to NAN.