MATLAB Answers

vectorize high dimensional image

2 views (last 30 days)
hy all,
I have an image with size 1096x715x102, i would like to vectorize it into 2 D data with size 102x783640. I have use reshape function to vectorize 1096x715x1 into 1x783640 but I do not understand how to applied it to all the dataset and arrange them into single image with size 102x783640.


Sign in to comment.

Accepted Answer

Matt J
Matt J on 9 Dec 2019
result = reshape(yourImage,[],102).';

  1 Comment

Sign in to comment.

More Answers (0)

Sign in to answer this question.