I am in a small doubt of how to proceed to the next stage.
1. I have used im2col which basically turned gray-scale image into vector. 2. I have used the function vector quantization lbg algorithm which gave the VQ codebook as the output.
I understand that the image I have used to create the codebook is the training image. So here's my doubt: *How and where am I going to provide the test image in order to test the codebook created from the training image? *
What are your suggestions?