Assume I have 3 class (folders) each class consist 10 samples (images).
And I need to read 1 image from individual class that means 10% TRAINING SET AND REMAINING 9 images are testing images. So for I need to read remain 9 images from class.
I need to extract the features from testing and training sample, put those
Features to training and testing matrix. I need a code for this.