I am representing a set of images with a matrix $x$ that is of shape $(k, n)$. I want to treat all images $x^*:= AxB$, where $A$ is an invertible matrix of shape $(k,k)$ and $B$ is an invertible matrix of shape $(n,n)$, as being equivalent to $x$. Both $A$ and $B$ are known. i.e., a practically relevant distance metric $d$ in my $x$-space is such that $d(x,AxB)=0$.
[I am feeding these representations $x$ into a machine learning algorithm.]
I want to create a new representation of my images so that all images $x$ and $x^*$ are mapped to the same point in a one-to-one manner. How can I do this? The reason I seek such a representation is that my machine learning algorithm is treating $x$ and $x^*$ as different data points, but they are actually the same.
As an analogy, if there is a mirror along the $y$-axis in two dimensions, imagine that mirror images of points are equivalent in some metric. Then you can define a mapping $(x,y)\rightarrow(|x|, y)$ so that we can compute distances between them on a consistent basis.
EDIT: $n>k$ typically.