I am trying to use the 2D PCA but I don't get what are the parameters. e.g. Left Projection matrix? It would be better if you make the user input only the images and the function computes the other parameters.
How can I mex the ann wrapper (I have obtained the source code). Can you provide the exact form of the mex command you have used? For instance, I am having trouble linking the input/output streams, and I'd like to know what library you linked in to resolve that.