필터 지우기
필터 지우기

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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by