Hi everyone,
I read a database image, it includes many images. I describe each image with a vector have to size is 8400 x 1. Thus, I have multiple vectors.
Now, I want to arrange them for one matrix.
Please help me. Thank you so much.
clc;clear all;srcFile = dir('C:\images\*.jpg');for i = 1:length(srcFile) filename=strcat('C:\images\',srcFile(i).name); img=imread(filename); % read 1258 images
img1 = img(:); % image to vector
%%How to arrange 1258 vectors (img1) become matrix?
end
Best Answer