Image PCA animation

A short follow up to the earlier post on image analysis. We can cram another principal component into the visualisation by going 3D. This animation depicts the first three components as spatial coordinates, and the second three as colour coordinates.

(There is a little POV-Ray sphere for each data point.)

There is an obvious shape and colour distribution. For instance, one end of the main body is blue, and the other is pink. I have to wonder if that implies a bug in my PCA algorithm. It is supposed to select orthogonal components.

How can I test it? It’s a bit hard with 13 dimensions for each of 136742 data points. A smaller test case is necessary.

Advertisements
This entry was posted in Programming and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s