vectorize high dimensional image

4 Ansichten (letzte 30 Tage)
Krishna Subiyanto
Krishna Subiyanto am 9 Dez. 2019
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by