Represent an image as vector

조회 수: 2 (최근 30일)
K.
K. 2011년 12월 11일
댓글: Lovepreet Singh 2019년 4월 18일
Hello,
I will be grateful to any one who can answer my question :
I need to represent a set of images as vectors of length LxL where L is the number of pixels in the x(y) direction. I could read and display them but not convert them into vectors. My aim is to form a matrix whose elements are the inner product of images vectors.
Thank you!
  댓글 수: 3
Lovepreet Singh
Lovepreet Singh 2019년 4월 18일
Bro if u can't understand the question then don't answer it.
Lovepreet Singh
Lovepreet Singh 2019년 4월 18일
Yes i am also searching to represent an image as matrix of LxL dimensions.

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

답변 (1개)

David Young
David Young 2011년 12월 11일
vector = img(:);

카테고리

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