how to create a matrix of concatenated images

10 次查看(过去 30 天)
Hello i have 40 subfolders in a folder .each folder contains 10 images of a particular individual.I have created a image set of these folders labeled s1-s40.Now i have applied my normalisation fucntion to all these images by the help of imageset.I now want to convert the 2d normalised images into an 1d vector
imdataloc='D:\x\orl_faces';
facedatabase=imageSet(imdataloc,'recursive');
output=normalised image
so
output=output(:);
and i want to store this vector in the form a matrix for all the images (400 images) as columns . ie the rows indicate the size of the matrix of each image and columns indicate the images it is going to be an Nx400 matrix.
how do I do that in my imageset?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by