Scaling Positions About a Chosen Center

Scaling around a center subtracts that center, scales the relative coordinates, and adds the center back.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a one-axis example
  2. Check axes and signs

Trace a one-axis example

With center x=4 and scale two, point x=6 moves to \(4+2(6-4)=8\). The center remains four. Translation of positions supplies the two shifts.

Check axes and signs

Different x and y scales can stretch a geometry nonuniformly. Negative scale can include reflection about the center. See image reflections for a discrete example.[1][2]

References

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