Represent an image as vector

2 Ansichten (letzte 30 Tage)
K.
K. am 11 Dez. 2011
Kommentiert: Lovepreet Singh am 18 Apr. 2019
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 Kommentare
Lovepreet Singh
Lovepreet Singh am 18 Apr. 2019
Bro if u can't understand the question then don't answer it.
Lovepreet Singh
Lovepreet Singh am 18 Apr. 2019
Yes i am also searching to represent an image as matrix of LxL dimensions.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

David Young
David Young am 11 Dez. 2011
vector = img(:);

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by