Skip to content
← All questions

How are the two compressed coordinates z1z_1 and z2z_2 obtained from the original 3D vector in the face measurement example?

The compressed coordinates are obtained by taking the dot product of the original 3D feature vector with the two principal component direction vectors. This projects the 3D data onto the 2D principal plane.

Conditions

  • The original sample x\mathbf{x} lies in R3\mathbb{R}^3.
  • Principal directions e1\mathbf{e}_1 and e2\mathbf{e}_2 define the 2D coordinate system.
  • Coordinates are obtained by dot products with those directions.

Reasoning, step by step

  1. Start from the original three-measurement description of a face in 3D feature space.
  2. Introduce a new two-dimensional coordinate system attached to the extracted principal plane.
  3. Compute the first compressed coordinate z1z_1 as the dot product of x\mathbf{x} and e1\mathbf{e}_1.
  4. Compute the second compressed coordinate z2z_2 as the dot product of x\mathbf{x} and e2\mathbf{e}_2.
  5. Represent the 3D sample by the pair of scalar projections instead of three original measurements.

Example

The video shows the formula [z1,z2]T=[x⋅e1,x⋅e2]T[z_1, z_2]^T = [\mathbf{x} \cdot \mathbf{e}_1, \mathbf{x} \cdot \mathbf{e}_2]^T in the right panel, replacing the left panel's [xnose,xeye,xjaw]T[x_{nose}, x_{eye}, x_{jaw}]^T.

Common misconceptions

  • Assuming the compression simply deletes one of the original coordinates (e.g., dropping the jaw width).
  • Believing the dot product calculates the Euclidean distance rather than the projection length.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.