Conversion of Vector Image into RGB Image

3 次查看(过去 30 天)
I convert the image into column vector i.e.
I=imread ('abc.jpg');
Vector_Img= I(:);
Now if I want to reconvert "vector_Img" into RGB image of size [34X34X3]; what should be done?

采纳的回答

Walter Roberson
Walter Roberson 2018-5-17
reshape(Vector_Img, 34, 34, 3)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by