How to calculate intensity value of a single pixel in an image ?

11 ビュー (過去 30 日間)
Muhammad Usman
Muhammad Usman 2016 年 1 月 25 日
コメント済み: Walter Roberson 2019 年 11 月 9 日
i'm doing project and need to calculate intensity value of a specific pixel in an image. I am using the following code. Is it right? plz help us..
rgbImage = imread('car.jpg');
grayImage = rgb2gray(rgbImage);
impixel(grayImage)

採用された回答

Walter Roberson
Walter Roberson 2016 年 1 月 25 日
Intensity_at_location = grayImage(RowIndex, ColumnIndex)

その他の回答 (1 件)

solanki pattanayak
solanki pattanayak 2019 年 11 月 7 日
Intensity_at_location = grayImage(RowIndex, ColumnIndex)
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 11 月 9 日
Isn't that what I said more than 3 years ago?

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

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by