MATLAB: Vector form of cuboid.

folder accessvector

I'm in need to concatenate the pixel values of 3 images(16 X 16 patches in an image sequence) which is stored in a folder,along with row order to form a vector component.How to access those images to form a vector?

Best Answer

If I've understood your question, you would
(1) use IMREAD to read the images from the folders into MATLAB matrix variables A,B,C.
(2) Concatenate them as D=[A,B,C]
(3) Change D to a vector by doing D=D(:), or D=reshape(D,[],1) or similar.
Related Question