Image convert to vector and vector convert to image

조회 수: 1 (최근 30일)
kourosh
kourosh 2012년 3월 29일
Hi how i convert an image to vector and convert the vector to first image. If possible, do not use the reshape command. i will apply this your code for image converting of each 400 images database. if i use reshape command in converting loop of 400 images i get an error. Thanks.
  댓글 수: 1
Jan
Jan 2012년 3월 29일
RESHAPE is fine for this job. Please post the code and the error message.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jakob Sørensen
Jakob Sørensen 2012년 3월 29일
Have you tried using vec2mat to convert from vector to matrix? And the other way you can just use vector = matrix(:)

카테고리

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