Dot product between arrays: basis representation of an image

Click For Summary
SUMMARY

The discussion focuses on representing a vector X as a linear combination of basis vectors using the dot product, specifically in the context of image representation. The coefficients a_i, derived from the dot product of the vector X and the basis vectors v_i, are crucial for reconstructing the image as a weighted sum of basis arrays. The challenge of obtaining a single coefficient from the dot product of two NxN matrices is addressed, with the clarification that the dot product is defined through the transpose of the vector. The Fourier basis is highlighted as an effective orthonormal basis for image representation.

PREREQUISITES
  • Understanding of linear algebra concepts, particularly dot products.
  • Familiarity with orthonormal basis and its application in vector representation.
  • Knowledge of Fourier transforms and their basis functions.
  • Basic understanding of matrix operations and dimensions.
NEXT STEPS
  • Explore the properties of orthonormal bases in linear algebra.
  • Learn about the Fourier transform and its application in image processing.
  • Study the mathematical definition and computation of dot products for matrices.
  • Investigate the implications of using different basis functions in image representation.
USEFUL FOR

Mathematicians, computer scientists, and engineers working in image processing, particularly those interested in linear algebra applications and Fourier analysis.

fisico30
Messages
362
Reaction score
0
Hello Forum,

When we represent a vector X using an orthonormal basis, we express X as a linear combination of the basis vectors:

x= a1 v1 + a2 v2 + a3 v3+ ...

Each coefficient a_i is the dot product between x and each basis vector v_i.

If the vector x is not a row (or column vector), but an array (like an image) the equation is still the same: the a_i are single numbers, while the basis vectors v_i become arrays. The array x becomes the weighted sum of multiple basis arrays.

But how does the dot product between two matrices, x and v1 for example, both of size NxN, give a single number, the coefficient a1? The dimension does not seem to allow this matrix product to output a 1x1 vector (the single coefficient), does it?

a1=<x^T, v1>= dot product between the transpose of x and array v1...

thanks
fisico30
 
Physics news on Phys.org
In order to define a dot product between vectors in a given basis you have to first define the dot product of the basis vectors.

How are you defining the "dot product" of the arrays you are using as basis vectors?
 
Well,
I am thinking of an image, say 10x10 in size as being equal to the weighted sum of 2D Fourier components:


G = a1 Phi1+ a2 Phi2+ a3 Phi3+...


where Phi_i are the two dimensional sinusoidal signals (basis functions of the Fourier transform): Phi_i= a_i *exp [i*(kx*x+ky*y)] of size 10x10.
The Fourier basis can be made orthonormal.

I would imaging a dot product between the image G and each Phi_i to produce the single number a_i...

fisico30
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
8K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
6K
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K