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

11 次查看(过去 30 天)
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)

类别

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