Represent an image as vector

2 次查看(过去 30 天)
K.
K. 2011-12-11
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(:);

标签

Community Treasure Hunt

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

Start Hunting!

Translated by