- Scaling (geometry)
In
Euclidean geometry , uniform scaling orisotropic scaling [Durand and Cutler (n.d.). [http://groups.csail.mit.edu/graphics/classes/6.837/F03/lectures/04_transformations.ppt Transformations] . Massachusetts Institute of Technology. Retrieved 12 September 2008.] is alinear transformation that enlarges or diminishes objects; thescale factor is the same in all directions; it is also called ahomothety . The result of uniform scaling is similar (in the geometric sense) to the original.More general is scaling with a separate scale factor for each axis direction. Non-uniform or
anisotropic scaling is obtained when at least one of the scaling factors is different from the others; a special case is directional scaling (in one direction). Non-uniform scaling changes theshape of the object; e.g. a rectangle may change into a rectangle of a different shape, but also in a parallelogram (the angles between lines parallel to the axes are preserved, but not all angles).Matrix representation
A scaling can be represented by a scaling matrix. To scale an object by a vector "v" = ("vx, vy, vz"), each point "p" = ("px, py, pz") would need to be multiplied with this scaling matrix::
As shown below, the multiplication will give the expected result::
Such a scaling changes the
diameter of an object by a factor between the scale factors, thearea by a factor between the smallest and the largest product of two scale factors, and thevolume by the product of all three.A scaling in the most general sense is any
affine transformation with adiagonalizable matrix . It includes the case that the three directions of scaling are not perpendicular. It includes also the case that one or more scale factors are equal to zero (projection), and the case of one or more negative scale factors. The latter corresponds to a combination of scaling proper and a kind of reflection: along lines in a particular direction we take the reflection in the point of intersection with a plane that need not be perpendicular; therefore it is more general than ordinary reflection in the plane.Using homogeneous coordinates
Often, it is more useful to use
homogeneous coordinates , since translation cannot be accomplished with a 3-by-3 matrix. To scale an object by a vector "v" = ("vx, vy, vz"), each homogeneous vector "p" = ("px, py, pz", 1) would need to be multiplied with this scaling matrix::As shown below, the multiplication will give the expected result::
The scaling is uniform
iff the scaling factors are equal. If all scale factors except one are 1 we have directional scaling.Since the last component of a homogeneous coordinate can be viewed as the denominator of the other three components, a scaling by a common factor "s" can be accomplished by using this scaling matrix::
For each homogeneous vector "p" = ("px, py, pz", 1) we would have:which would be homogenized to:
Footnotes
ee also
*
Scale (ratio)
*Scale (map)
* Scales of scale models
*Scale (disambiguation)
*
*Transformation matrix External links
* [http://demonstrations.wolfram.com/Understanding2DScaling/ Understanding 2D Scaling] and [http://demonstrations.wolfram.com/Understanding3DScaling/ Understanding 3D Scaling] by Roger Germundsson,
The Wolfram Demonstrations Project .
Wikimedia Foundation. 2010.