How to find pixel value vector for a colour image?

2 ビュー (過去 30 日間)
john
john 2012 年 2 月 8 日
回答済み: Guillaume 2015 年 2 月 6 日
Can we find pixel value vector for a colour image using MATLAB?
  4 件のコメント
Geert
Geert 2015 年 2 月 6 日
please explain this question even more further...
Guillaume
Guillaume 2015 年 2 月 6 日
編集済み: Guillaume 2015 年 2 月 6 日
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.

サインインしてコメントする。

回答 (1 件)

Guillaume
Guillaume 2015 年 2 月 6 日
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.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by