Translating a Point by a Displacement

A translation adds the same displacement vector to each point. Differences between positions stay unchanged.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace two points
  2. Check which coordinates the vector uses

Trace two points

Adding vector \((3,-2)\) to \((1,4)\) gives \((4,2)\). Adding it to \((2,7)\) gives \((5,5)\). The difference between the two remains \((1,3)\). See coordinate differences.

Check which coordinates the vector uses

A displacement in x and y may need conversion to array row and column shifts. Image coordinate conventions provide that rule.[1][2]

References

  1. scikit-image Contributors, NumPy Images and Coordinate Conventions ↩
  2. scikit-image Contributors, Image Data Types and Representable Values ↩