PCA in ofxCv (single face views)

Would it be possible to do a PCA application similar to, say, the example-highpass application from ofxCv where instead of contrast and size of the highpass filter the user has the option of controlling the range of components (of the PCA analyses) displayed for a single image?

I’ve adapted the highpass-example to use a single image input instead of camera input and added a class for a lowpass filter to allow the user to view the effects of both lowpass and highpass filters on a single image.

So I’m specifically interested in applying PCA to single face views (only one image per face), so that the user has the option of setting the range of components they want to view (i.e. from components a to components b).

Would appreciate any leads.