double[][] components = pca.ComponentsMatrix.ToArray();
foreach (double[] comp in components)
{
Bitmap image; new ArrayToImage().Convert(comp, out image);
// show image
}
I think we don't understand each other, let me reformulate my problem:
1. I have an image containing three channels. I treat those channels as three different data sets and run the PCA. (Note that possible values of each element in the data set is from 0 to 255).
2. The output of PCA - principal components - has however values that are sometimes negative, sometimes greater that 255. I guess it's because the values are in principal component space. I need to somehow transfer them back to original domain (so I am able to do some other work with them...).
Good example of what I want to do is on page 230 in this book - http://goo.gl/2gupQ.
Does it makes sense now?
Thanks again for any ideas!