Filter löschen
Filter löschen

How to find pixel value vector for a colour image?

2 Ansichten (letzte 30 Tage)
john
john am 8 Feb. 2012
Beantwortet: Guillaume am 6 Feb. 2015
Can we find pixel value vector for a colour image using MATLAB?
  4 Kommentare
Geert
Geert am 6 Feb. 2015
please explain this question even more further...
Guillaume
Guillaume am 6 Feb. 2015
Bearbeitet: Guillaume am 6 Feb. 2015
pixel value vector or vector of an image does not mean anything. You'll have to be a lot clearer on what you're asking. Use examples, if needed.
You're allowed to use more than one sentence, you know. The onus is on you to make yourself understood, not on us to try to decipher what you mean.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Guillaume
Guillaume am 6 Feb. 2015
Possibly, that's what you mean:
img = imread('peppers.png'); %read a demo image
rgbvalue = img(20, 30, :) %get rgb values of pixel at row 20, column 30
It's basic matrix indexing.

Kategorien

Mehr zu Image Processing Toolbox 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